メインページ   モジュール   名前空間一覧   クラス階層   アルファベット順一覧   構成   ファイル一覧   構成メンバ   ファイルメンバ   関連ページ    

TReadoutIdentification.hh

解説を見る。
00001 // =====================================================================
00024 // =====================================================================
00025 #ifndef CLDAQ__TREADOUTIDENTIFICATION_HH
00026 #define CLDAQ__TREADOUTIDENTIFICATION_HH
00027 
00028 #include "Tglobals.h"
00029 
00030 
00050 class TReadoutIdentification
00051 {
00052 
00053   protected:
00054     Tstring theID;
00055 
00056   public:
00057     TReadoutIdentification( const Tstring& id );
00058     TReadoutIdentification( const TReadoutIdentification& right );
00059 
00060   protected:
00061     virtual ~TReadoutIdentification();
00062 
00063   public:
00064     virtual const TReadoutIdentification& operator=( const TReadoutIdentification& right );
00065     virtual Tbool operator==( const TReadoutIdentification& right ) const;
00066     virtual Tbool operator!=( const TReadoutIdentification& right ) const;
00067 
00068   public:
00069     const Tstring& GetID() const;
00070     Tvoid SetID( const Tstring& id );
00071 
00072 };
00073 
00074 inline const Tstring& TReadoutIdentification::GetID() const
00075 {
00076   return theID;
00077 }
00078 
00079 inline Tvoid TReadoutIdentification::SetID( const Tstring& id )
00080 {
00081   theID = id;
00082   return;
00083 }
00084 
00085 #endif

CLDAQ - a Class Library for Data AcQuisition (Version 1.12.0)
Go IWAI <goiwai@users.sourceforge.jp>