00001 // ===================================================================== 00002 // $Id: TReadoutIdentification.hh,v 1.2 2003/07/30 16:20:11 goiwai Exp $ 00003 // $Name: CLDAQ-1-08-02 $ 00004 // 00005 // $Log: TReadoutIdentification.hh,v $ 00006 // Revision 1.2 2003/07/30 16:20:11 goiwai 00007 // ファイルにコミットログをつけることにしました. 00008 // 00009 // ===================================================================== 00010 #ifndef __TREADOUTIDENTIFICATION_HH 00011 #define __TREADOUTIDENTIFICATION_HH 00012 00013 #include "Tglobals.h" 00014 00015 class TReadoutIdentification 00016 { 00017 00018 protected: 00019 Tstring theID; 00020 00021 public: 00022 TReadoutIdentification( const Tstring& id ); 00023 TReadoutIdentification( const TReadoutIdentification& right ); 00024 00025 protected: 00026 virtual ~TReadoutIdentification(); 00027 00028 public: 00029 virtual const TReadoutIdentification& operator=( const TReadoutIdentification& right ); 00030 virtual Tbool operator==( const TReadoutIdentification& right ) const; 00031 virtual Tbool operator!=( const TReadoutIdentification& right ) const; 00032 00033 public: 00034 const Tstring& GetID() const; 00035 Tvoid SetID( const Tstring& id ); 00036 00037 }; 00038 00039 inline const Tstring& TReadoutIdentification::GetID() const 00040 { 00041 return( theID ); 00042 } 00043 00044 inline Tvoid TReadoutIdentification::SetID( const Tstring& id ) 00045 { 00046 theID = id; 00047 return; 00048 } 00049 00050 #endif