#include <GaudiKernel/TreeAddress.h>
Public Member Functions | |
TreeAddress () | |
Dummy constructor. | |
TreeAddress (const TreeAddress ©) | |
Standard Constructor. | |
TreeAddress (long svc, const CLID &clid, DatabaseRecord &records, const unsigned long *ipar) | |
Standard Constructor. | |
virtual | ~TreeAddress () |
Standard Destructor. | |
virtual unsigned long | addRef () |
Add reference to object. | |
virtual unsigned long | release () |
release reference to object | |
virtual IRegistry * | registry () const |
Pointer to directory. | |
virtual void | setRegistry (IRegistry *pRegistry) |
Set pointer to directory. | |
const CLID & | clID () const |
Access : Retrieve class ID of the link. | |
void | setClID (const CLID &clid) |
Access : Set class ID of the link. | |
long | svcType () const |
Access : retrieve the storage type of the class id. | |
void | setSvcType (long typ) |
Access : set the storage type of the class id. | |
virtual const std::string * | par () const |
virtual DatabaseRecord * | pp () |
virtual const unsigned long * | ipar () const |
Retrieve integer parameters. | |
void | setRunFrom (int runFrom) |
set run from | |
void | setRunTo (int runTo) |
set run to | |
int | getRunFrom () |
get run from | |
int | getRunTo () |
get run to | |
Protected Attributes | |
unsigned long | m_refCount |
Reference count. | |
long | m_svcType |
Storage type. | |
CLID | m_clID |
Class id. | |
unsigned long | m_ipar [2] |
Integer parameters to be accessed. | |
unsigned long | m_treesize [9] |
IRegistry * | m_pRegistry |
Pointer to corresponding directory. | |
DatabaseRecord * | m_records |
int | m_runFrom |
int | m_runTo |
Definition at line 26 of file TreeAddress.h.
TreeAddress::TreeAddress | ( | ) | [inline] |
Dummy constructor.
Definition at line 49 of file TreeAddress.h.
00050 : m_refCount(0), 00051 m_svcType(0), 00052 m_clID(0), 00053 m_pRegistry(0) 00054 { 00055 // m_ipar[0]=m_ipar[1]=m_ipar[2]=m_ipar[3]=0xFFFFFFFF; 00056 }
TreeAddress::TreeAddress | ( | const TreeAddress & | copy | ) | [inline] |
Standard Constructor.
Definition at line 58 of file TreeAddress.h.
00059 : IOpaqueAddress(copy), 00060 m_refCount(0), 00061 m_svcType(copy.m_svcType), 00062 m_clID(copy.m_clID), 00063 m_pRegistry(copy.m_pRegistry) 00064 { 00065 00066 }
TreeAddress::TreeAddress | ( | long | svc, | |
const CLID & | clid, | |||
DatabaseRecord & | records, | |||
const unsigned long * | ipar | |||
) | [inline] |
Standard Constructor.
Definition at line 69 of file TreeAddress.h.
References m_ipar, and m_records.
00074 : m_refCount(0), 00075 m_svcType(svc), 00076 m_clID(clid), 00077 m_pRegistry(0) 00078 { 00079 m_records=&records; 00080 m_ipar[0] = ipar[0]; 00081 m_ipar[1] = ipar[1]; 00082 }
virtual TreeAddress::~TreeAddress | ( | ) | [inline, virtual] |
virtual unsigned long TreeAddress::addRef | ( | ) | [inline, virtual] |
Add reference to object.
Definition at line 90 of file TreeAddress.h.
References m_refCount.
00090 { 00091 return ++m_refCount; 00092 }
const CLID& TreeAddress::clID | ( | ) | const [inline] |
Access : Retrieve class ID of the link.
Definition at line 110 of file TreeAddress.h.
References m_clID.
00110 { 00111 return m_clID; 00112 }
int TreeAddress::getRunFrom | ( | ) | [inline] |
get run from
Definition at line 148 of file TreeAddress.h.
References m_runFrom.
Referenced by TreeCalBaseCnv::internalCreateObj().
00148 { 00149 return m_runFrom; 00150 }
int TreeAddress::getRunTo | ( | ) | [inline] |
get run to
Definition at line 152 of file TreeAddress.h.
References m_runTo.
Referenced by TreeCalBaseCnv::internalCreateObj().
00152 { 00153 return m_runTo; 00154 }
virtual const unsigned long* TreeAddress::ipar | ( | ) | const [inline, virtual] |
Retrieve integer parameters.
Definition at line 135 of file TreeAddress.h.
References m_ipar.
00135 { 00136 return m_ipar; 00137 }
virtual const std::string* TreeAddress::par | ( | ) | const [inline, virtual] |
virtual DatabaseRecord* TreeAddress::pp | ( | ) | [inline, virtual] |
Definition at line 130 of file TreeAddress.h.
References m_records.
Referenced by TreeTofSimDataCnv::i_createObj(), TreeTofElecDataCnv::i_createObj(), TreeTofCalibDataCnv::i_createObj(), TreeMucCalibDataCnv::i_createObj(), TreeMdcDataConstCnv::i_createObj(), TreeMdcCalibDataCnv::i_createObj(), TreeMdcAlignDataCnv::i_createObj(), TreeEstTofCalibDataCnv::i_createObj(), TreeEsTimeCalibDataCnv::i_createObj(), TreeEmcCalibDataCnv::i_createObj(), TreeDedxSimDataCnv::i_createObj(), and TreeDedxCalibDataCnv::i_createObj().
00130 { 00131 return m_records; 00132 }
virtual IRegistry* TreeAddress::registry | ( | ) | const [inline, virtual] |
Pointer to directory.
Definition at line 102 of file TreeAddress.h.
References m_pRegistry.
00102 { 00103 return m_pRegistry; 00104 }
virtual unsigned long TreeAddress::release | ( | ) | [inline, virtual] |
release reference to object
Definition at line 94 of file TreeAddress.h.
References m_refCount.
00094 { 00095 int cnt = --m_refCount; 00096 if ( 0 == cnt ) { 00097 delete this; 00098 } 00099 return cnt; 00100 }
void TreeAddress::setClID | ( | const CLID & | clid | ) | [inline] |
Access : Set class ID of the link.
Definition at line 114 of file TreeAddress.h.
References m_clID.
00114 { 00115 m_clID = clid; 00116 }
virtual void TreeAddress::setRegistry | ( | IRegistry * | pRegistry | ) | [inline, virtual] |
Set pointer to directory.
Definition at line 106 of file TreeAddress.h.
References m_pRegistry.
00106 { 00107 m_pRegistry = pRegistry; 00108 }
void TreeAddress::setRunFrom | ( | int | runFrom | ) | [inline] |
set run from
Definition at line 140 of file TreeAddress.h.
References m_runFrom.
Referenced by CalibMySQLCnvSvc::createCalib(), and CalibMySQLCnvSvc::updateCalib().
00140 { 00141 m_runFrom= runFrom; 00142 }
void TreeAddress::setRunTo | ( | int | runTo | ) | [inline] |
set run to
Definition at line 144 of file TreeAddress.h.
References m_runTo.
Referenced by CalibMySQLCnvSvc::createCalib(), and CalibMySQLCnvSvc::updateCalib().
00144 { 00145 m_runTo= runTo; 00146 }
void TreeAddress::setSvcType | ( | long | typ | ) | [inline] |
Access : set the storage type of the class id.
Definition at line 122 of file TreeAddress.h.
References m_svcType.
00122 { 00123 m_svcType = typ; 00124 }
long TreeAddress::svcType | ( | ) | const [inline] |
Access : retrieve the storage type of the class id.
Definition at line 118 of file TreeAddress.h.
References m_svcType.
00118 { 00119 return m_svcType; 00120 }
CLID TreeAddress::m_clID [protected] |
unsigned long TreeAddress::m_ipar[2] [protected] |
Integer parameters to be accessed.
Definition at line 37 of file TreeAddress.h.
Referenced by ipar(), and TreeAddress().
IRegistry* TreeAddress::m_pRegistry [protected] |
Pointer to corresponding directory.
Definition at line 41 of file TreeAddress.h.
Referenced by registry(), and setRegistry().
DatabaseRecord* TreeAddress::m_records [protected] |
unsigned long TreeAddress::m_refCount [protected] |
int TreeAddress::m_runFrom [protected] |
int TreeAddress::m_runTo [protected] |
long TreeAddress::m_svcType [protected] |
Storage type.
Definition at line 31 of file TreeAddress.h.
Referenced by setSvcType(), and svcType().
unsigned long TreeAddress::m_treesize[9] [protected] |
Definition at line 38 of file TreeAddress.h.