00001 // ===================================================================== 00028 // ===================================================================== 00029 #ifndef CLDAQ__TREADOUTIDENTIFICATION_HH 00030 #define CLDAQ__TREADOUTIDENTIFICATION_HH 00031 00032 #include "Tglobals.h" 00033 00034 00054 class TReadoutIdentification 00055 { 00056 00057 protected: 00058 Tstring theID; 00059 00060 public: 00061 TReadoutIdentification( const Tstring& id ); 00062 TReadoutIdentification( const TReadoutIdentification& right ); 00063 00064 protected: 00065 virtual ~TReadoutIdentification(); 00066 00067 public: 00068 virtual const TReadoutIdentification& operator=( const TReadoutIdentification& right ); 00069 virtual Tbool operator==( const TReadoutIdentification& right ) const; 00070 virtual Tbool operator!=( const TReadoutIdentification& right ) const; 00071 00072 public: 00073 const Tstring& GetID() const; 00074 Tvoid SetID( const Tstring& id ); 00075 00076 #ifdef __CLDAQ_ROOT_DLL 00077 ClassDef(TReadoutIdentification,0) 00078 #endif 00079 00080 }; 00081 00082 inline const Tstring& TReadoutIdentification::GetID() const 00083 { 00084 return theID; 00085 } 00086 00087 inline Tvoid TReadoutIdentification::SetID( const Tstring& id ) 00088 { 00089 theID = id; 00090 return; 00091 } 00092 00093 #endif