00001 // ===================================================================== 00021 // ===================================================================== 00022 #ifndef __TREADOUTIDENTIFICATION_HH 00023 #define __TREADOUTIDENTIFICATION_HH 00024 00025 #include "Tglobals.h" 00026 00027 00047 class TReadoutIdentification 00048 { 00049 00050 protected: 00051 Tstring theID; 00052 00053 public: 00054 TReadoutIdentification( const Tstring& id ); 00055 TReadoutIdentification( const TReadoutIdentification& right ); 00056 00057 protected: 00058 virtual ~TReadoutIdentification(); 00059 00060 public: 00061 virtual const TReadoutIdentification& operator=( const TReadoutIdentification& right ); 00062 virtual Tbool operator==( const TReadoutIdentification& right ) const; 00063 virtual Tbool operator!=( const TReadoutIdentification& right ) const; 00064 00065 public: 00066 const Tstring& GetID() const; 00067 Tvoid SetID( const Tstring& id ); 00068 00069 }; 00070 00071 inline const Tstring& TReadoutIdentification::GetID() const 00072 { 00073 return theID; 00074 } 00075 00076 inline Tvoid TReadoutIdentification::SetID( const Tstring& id ) 00077 { 00078 theID = id; 00079 return; 00080 } 00081 00082 #endif