00001 // ===================================================================== 00002 // $Id: TReadoutSpecified.hh,v 1.2 2003/07/30 16:20:11 goiwai Exp $ 00003 // $Name: CLDAQ-1-07-00 $ 00004 // 00005 // $Log: TReadoutSpecified.hh,v $ 00006 // Revision 1.2 2003/07/30 16:20:11 goiwai 00007 // ファイルにコミットログをつけることにしました. 00008 // 00009 // ===================================================================== 00010 #ifndef __TREADOUTSPECIFIED_HH 00011 #define __TREADOUTSPECIFIED_HH 00012 00013 #include "Tglobals.h" 00014 00015 class TReadoutList; 00016 00017 class TReadoutSpecified 00018 { 00019 00020 private: 00021 Tstring theListID; 00022 TReadoutList* theReadoutList; 00023 00024 public: 00025 TReadoutSpecified(); 00026 TReadoutSpecified( const Tstring& id, TReadoutList* list ); 00027 TReadoutSpecified( const TReadoutSpecified& right ); 00028 ~TReadoutSpecified(); 00029 00030 public: 00031 const TReadoutSpecified& operator=( const TReadoutSpecified& right ); 00032 Tbool operator==( const TReadoutSpecified& right ) const; 00033 Tbool operator!=( const TReadoutSpecified& right ) const; 00034 friend Tostream& operator<<( Tostream& tos, const TReadoutSpecified& right ); 00035 00036 public: 00037 const Tstring& GetListID() const; 00038 Tstring& GetListID(); 00039 TReadoutList* GetReadoutList() const; 00040 Tvoid SetListID( const Tstring& id ); 00041 Tvoid SetReadoutList( TReadoutList* list ); 00042 00043 }; 00044 00045 inline const Tstring& TReadoutSpecified::GetListID() const 00046 { 00047 return( theListID ); 00048 } 00049 00050 inline Tstring& TReadoutSpecified::GetListID() 00051 { 00052 return( theListID ); 00053 } 00054 00055 inline TReadoutList* TReadoutSpecified::GetReadoutList() const 00056 { 00057 return( theReadoutList ); 00058 } 00059 00060 inline Tvoid TReadoutSpecified::SetListID( const Tstring& id ) 00061 { 00062 theListID = id; 00063 return; 00064 } 00065 00066 inline Tvoid TReadoutSpecified::SetReadoutList( TReadoutList* list ) 00067 { 00068 theReadoutList = list; 00069 return; 00070 } 00071 00072 #endif