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

TReadoutSpecified.cc

解説を見る。
00001 // =====================================================================
00002 //  $Id: TReadoutSpecified.cc,v 1.4 2004/03/07 10:30:33 goiwai Exp $
00003 //  $Name: CLDAQ-1-14-03 $
00004 //  $Log: TReadoutSpecified.cc,v $
00005 //  Revision 1.4  2004/03/07 10:30:33  goiwai
00006 //  ROOTに組みこむためのおまじないマクロを埋めこみました。
00007 //  全てにおいて完全に動作するわけではありません。
00008 //
00009 //  Revision 1.3  2003/10/06 16:39:00  goiwai
00010 //  *** empty log message ***
00011 //
00012 //  Revision 1.2  2003/07/30 16:20:11  goiwai
00013 //  ファイルにコミットログをつけることにしました.
00014 //
00015 // =====================================================================
00016 #include "TReadoutSpecified.hh"
00017 
00018 TReadoutSpecified::TReadoutSpecified()
00019   : theListID(), theReadoutList( 0 )
00020 {;}
00021 
00022 TReadoutSpecified::TReadoutSpecified( const Tstring& id, TReadoutList* list )
00023   : theListID( id ), theReadoutList( list )
00024 {;}
00025 
00026 TReadoutSpecified::TReadoutSpecified( const TReadoutSpecified& right )
00027   : theListID( right.theListID ), theReadoutList( right.theReadoutList )
00028 {;}
00029 
00030 TReadoutSpecified::~TReadoutSpecified()
00031 {;}
00032 
00033 const TReadoutSpecified& TReadoutSpecified::operator=( const TReadoutSpecified& right )
00034 {
00035   theListID = right.theListID;
00036   theReadoutList = right.theReadoutList;
00037   return *this;
00038 }
00039 
00040 Tbool TReadoutSpecified::operator==( const TReadoutSpecified& right ) const
00041 {
00042   Tbool retval = Ttrue;
00043   retval &= ( theListID == right.theListID );
00044   retval &= ( theReadoutList == right.theReadoutList );
00045   return retval;
00046 }
00047 
00048 Tbool TReadoutSpecified::operator!=( const TReadoutSpecified& right ) const
00049 {
00050   Tbool retval = Tfalse;
00051   retval |= ( theListID != right.theListID );
00052   retval |= ( theReadoutList != right.theReadoutList );
00053   return retval;
00054 }
00055 
00056 Tostream& operator<<( Tostream& tos, const TReadoutSpecified& right )
00057 {
00058   tos << "ID: " << right.theListID << ", " << right.theReadoutList << Tflush;
00059   return tos;
00060 }
00061 
00062 #ifdef __CLDAQ_ROOT_DLL
00063     ClassImp(TReadoutSpecified)
00064 #endif


CLDAQ - a Class Library for DataAcQuisition (Version 1.14.3)
Go IWAI -- goiwai at users.sourceforge.jp