00001 // ===================================================================== 00002 // $Id: TReadoutIdentification.hh,v 1.1.1.1 2003/06/27 02:56:42 goiwai Exp $ 00003 // $Name: CLDAQ-1-06-00 $ 00004 // ===================================================================== 00005 #ifndef __TREADOUTIDENTIFICATION_HH 00006 #define __TREADOUTIDENTIFICATION_HH 00007 00008 #include "Tglobals.h" 00009 00010 class TReadoutIdentification 00011 { 00012 00013 protected: 00014 Tstring theID; 00015 00016 public: 00017 TReadoutIdentification( const Tstring& id ); 00018 TReadoutIdentification( const TReadoutIdentification& right ); 00019 00020 protected: 00021 virtual ~TReadoutIdentification(); 00022 00023 public: 00024 virtual const TReadoutIdentification& operator=( const TReadoutIdentification& right ); 00025 virtual Tbool operator==( const TReadoutIdentification& right ) const; 00026 virtual Tbool operator!=( const TReadoutIdentification& right ) const; 00027 00028 public: 00029 const Tstring& GetID() const; 00030 Tvoid SetID( const Tstring& id ); 00031 00032 }; 00033 00034 inline const Tstring& TReadoutIdentification::GetID() const 00035 { 00036 return( theID ); 00037 } 00038 00039 inline Tvoid TReadoutIdentification::SetID( const Tstring& id ) 00040 { 00041 theID = id; 00042 return; 00043 } 00044 00045 #endif