BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TreeAddress Class Reference

#include <GaudiKernel/TreeAddress.h>

Inheritance diagram for TreeAddress:

Public Member Functions

 TreeAddress ()
 Dummy constructor.
 TreeAddress (const TreeAddress &copy)
 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 DatabaseRecordpp ()
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
 TreeAddress ()
 Dummy constructor.
 TreeAddress (const TreeAddress &copy)
 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 DatabaseRecordpp ()
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
 TreeAddress ()
 Dummy constructor.
 TreeAddress (const TreeAddress &copy)
 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 DatabaseRecordpp ()
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.
std::string m_par [3]
 String parameters to be accessed.
unsigned long m_ipar [2]
 Integer parameters to be accessed.
unsigned long m_treesize [9]
IRegistry * m_pRegistry
 Pointer to corresponding directory.
DatabaseRecordm_records
int m_runFrom
int m_runTo

Detailed Description

Tree Transient Address. The generic transient address describes the recipe to load/save a persistent object from/to its transient representation.

Author
Markus Frank
Version
1.0

Definition at line 25 of file Calibration/CalibSvc/CalibMySQLCnv/include/CalibMySQLCnvSvc/TreeAddress.h.

Constructor & Destructor Documentation

◆ TreeAddress() [1/9]

TreeAddress::TreeAddress ( )
inline

Dummy constructor.

Definition at line 49 of file Calibration/CalibSvc/CalibMySQLCnv/include/CalibMySQLCnvSvc/TreeAddress.h.

49 : m_refCount( 0 ), m_svcType( 0 ), m_clID( 0 ), m_pRegistry( 0 ) {
50 // m_ipar[0]=m_ipar[1]=m_ipar[2]=m_ipar[3]=0xFFFFFFFF;
51 }
IRegistry * m_pRegistry
Pointer to corresponding directory.

Referenced by TreeAddress().

◆ TreeAddress() [2/9]

TreeAddress::TreeAddress ( const TreeAddress & copy)
inline

Standard Constructor.

Definition at line 53 of file Calibration/CalibSvc/CalibMySQLCnv/include/CalibMySQLCnvSvc/TreeAddress.h.

54 : IOpaqueAddress( copy )
55 , m_refCount( 0 )
56 , m_svcType( copy.m_svcType )
57 , m_clID( copy.m_clID )
58 , m_pRegistry( copy.m_pRegistry ) {}
uint32_t copy(const node_t &list, uint32_t *dest, size_t max)
Definition node.cxx:60

◆ TreeAddress() [3/9]

TreeAddress::TreeAddress ( long svc,
const CLID & clid,
DatabaseRecord & records,
const unsigned long * ipar )
inline

Standard Constructor.

Definition at line 61 of file Calibration/CalibSvc/CalibMySQLCnv/include/CalibMySQLCnvSvc/TreeAddress.h.

62 : m_refCount( 0 ), m_svcType( svc ), m_clID( clid ), m_pRegistry( 0 ) {
63 m_records = &records;
64 m_ipar[0] = ipar[0];
65 m_ipar[1] = ipar[1];
66 }
virtual const unsigned long * ipar() const
Retrieve integer parameters.
unsigned long m_ipar[2]
Integer parameters to be accessed.

◆ ~TreeAddress() [1/3]

virtual TreeAddress::~TreeAddress ( )
inlinevirtual

Standard Destructor.

Definition at line 69 of file Calibration/CalibSvc/CalibMySQLCnv/include/CalibMySQLCnvSvc/TreeAddress.h.

69{}

◆ TreeAddress() [4/9]

TreeAddress::TreeAddress ( )
inline

Dummy constructor.

Definition at line 49 of file InstallArea/x86_64-el9-gcc13-dbg/include/CalibMySQLCnvSvc/TreeAddress.h.

49 : m_refCount( 0 ), m_svcType( 0 ), m_clID( 0 ), m_pRegistry( 0 ) {
50 // m_ipar[0]=m_ipar[1]=m_ipar[2]=m_ipar[3]=0xFFFFFFFF;
51 }

◆ TreeAddress() [5/9]

TreeAddress::TreeAddress ( const TreeAddress & copy)
inline

Standard Constructor.

Definition at line 53 of file InstallArea/x86_64-el9-gcc13-dbg/include/CalibMySQLCnvSvc/TreeAddress.h.

54 : IOpaqueAddress( copy )
55 , m_refCount( 0 )
56 , m_svcType( copy.m_svcType )
57 , m_clID( copy.m_clID )
58 , m_pRegistry( copy.m_pRegistry ) {}

◆ TreeAddress() [6/9]

TreeAddress::TreeAddress ( long svc,
const CLID & clid,
DatabaseRecord & records,
const unsigned long * ipar )
inline

Standard Constructor.

Definition at line 61 of file InstallArea/x86_64-el9-gcc13-dbg/include/CalibMySQLCnvSvc/TreeAddress.h.

62 : m_refCount( 0 ), m_svcType( svc ), m_clID( clid ), m_pRegistry( 0 ) {
63 m_records = &records;
64 m_ipar[0] = ipar[0];
65 m_ipar[1] = ipar[1];
66 }

◆ ~TreeAddress() [2/3]

virtual TreeAddress::~TreeAddress ( )
inlinevirtual

Standard Destructor.

Definition at line 69 of file InstallArea/x86_64-el9-gcc13-dbg/include/CalibMySQLCnvSvc/TreeAddress.h.

69{}

◆ TreeAddress() [7/9]

TreeAddress::TreeAddress ( )
inline

Dummy constructor.

Definition at line 49 of file InstallArea/x86_64-el9-gcc13-opt/include/CalibMySQLCnvSvc/TreeAddress.h.

49 : m_refCount( 0 ), m_svcType( 0 ), m_clID( 0 ), m_pRegistry( 0 ) {
50 // m_ipar[0]=m_ipar[1]=m_ipar[2]=m_ipar[3]=0xFFFFFFFF;
51 }

◆ TreeAddress() [8/9]

TreeAddress::TreeAddress ( const TreeAddress & copy)
inline

Standard Constructor.

Definition at line 53 of file InstallArea/x86_64-el9-gcc13-opt/include/CalibMySQLCnvSvc/TreeAddress.h.

54 : IOpaqueAddress( copy )
55 , m_refCount( 0 )
56 , m_svcType( copy.m_svcType )
57 , m_clID( copy.m_clID )
58 , m_pRegistry( copy.m_pRegistry ) {}

◆ TreeAddress() [9/9]

TreeAddress::TreeAddress ( long svc,
const CLID & clid,
DatabaseRecord & records,
const unsigned long * ipar )
inline

Standard Constructor.

Definition at line 61 of file InstallArea/x86_64-el9-gcc13-opt/include/CalibMySQLCnvSvc/TreeAddress.h.

62 : m_refCount( 0 ), m_svcType( svc ), m_clID( clid ), m_pRegistry( 0 ) {
63 m_records = &records;
64 m_ipar[0] = ipar[0];
65 m_ipar[1] = ipar[1];
66 }

◆ ~TreeAddress() [3/3]

virtual TreeAddress::~TreeAddress ( )
inlinevirtual

Standard Destructor.

Definition at line 69 of file InstallArea/x86_64-el9-gcc13-opt/include/CalibMySQLCnvSvc/TreeAddress.h.

69{}

Member Function Documentation

◆ addRef() [1/3]

virtual unsigned long TreeAddress::addRef ( )
inlinevirtual

Add reference to object.

Definition at line 72 of file Calibration/CalibSvc/CalibMySQLCnv/include/CalibMySQLCnvSvc/TreeAddress.h.

72{ return ++m_refCount; }

◆ addRef() [2/3]

virtual unsigned long TreeAddress::addRef ( )
inlinevirtual

Add reference to object.

Definition at line 72 of file InstallArea/x86_64-el9-gcc13-dbg/include/CalibMySQLCnvSvc/TreeAddress.h.

72{ return ++m_refCount; }

◆ addRef() [3/3]

virtual unsigned long TreeAddress::addRef ( )
inlinevirtual

Add reference to object.

Definition at line 72 of file InstallArea/x86_64-el9-gcc13-opt/include/CalibMySQLCnvSvc/TreeAddress.h.

72{ return ++m_refCount; }

◆ clID() [1/3]

const CLID & TreeAddress::clID ( ) const
inline

Access : Retrieve class ID of the link.

Definition at line 84 of file Calibration/CalibSvc/CalibMySQLCnv/include/CalibMySQLCnvSvc/TreeAddress.h.

84{ return m_clID; }

◆ clID() [2/3]

const CLID & TreeAddress::clID ( ) const
inline

Access : Retrieve class ID of the link.

Definition at line 84 of file InstallArea/x86_64-el9-gcc13-dbg/include/CalibMySQLCnvSvc/TreeAddress.h.

84{ return m_clID; }

◆ clID() [3/3]

const CLID & TreeAddress::clID ( ) const
inline

Access : Retrieve class ID of the link.

Definition at line 84 of file InstallArea/x86_64-el9-gcc13-opt/include/CalibMySQLCnvSvc/TreeAddress.h.

84{ return m_clID; }

◆ getRunFrom() [1/3]

◆ getRunFrom() [2/3]

int TreeAddress::getRunFrom ( )
inline

get run from

Definition at line 104 of file InstallArea/x86_64-el9-gcc13-dbg/include/CalibMySQLCnvSvc/TreeAddress.h.

104{ return m_runFrom; }

◆ getRunFrom() [3/3]

int TreeAddress::getRunFrom ( )
inline

get run from

Definition at line 104 of file InstallArea/x86_64-el9-gcc13-opt/include/CalibMySQLCnvSvc/TreeAddress.h.

104{ return m_runFrom; }

◆ getRunTo() [1/3]

◆ getRunTo() [2/3]

int TreeAddress::getRunTo ( )
inline

get run to

Definition at line 106 of file InstallArea/x86_64-el9-gcc13-dbg/include/CalibMySQLCnvSvc/TreeAddress.h.

106{ return m_runTo; }

◆ getRunTo() [3/3]

int TreeAddress::getRunTo ( )
inline

get run to

Definition at line 106 of file InstallArea/x86_64-el9-gcc13-opt/include/CalibMySQLCnvSvc/TreeAddress.h.

106{ return m_runTo; }

◆ ipar() [1/3]

virtual const unsigned long * TreeAddress::ipar ( ) const
inlinevirtual

Retrieve integer parameters.

Definition at line 97 of file Calibration/CalibSvc/CalibMySQLCnv/include/CalibMySQLCnvSvc/TreeAddress.h.

97{ return m_ipar; }

Referenced by TreeAddress().

◆ ipar() [2/3]

virtual const unsigned long * TreeAddress::ipar ( ) const
inlinevirtual

Retrieve integer parameters.

Definition at line 97 of file InstallArea/x86_64-el9-gcc13-dbg/include/CalibMySQLCnvSvc/TreeAddress.h.

97{ return m_ipar; }

◆ ipar() [3/3]

virtual const unsigned long * TreeAddress::ipar ( ) const
inlinevirtual

Retrieve integer parameters.

Definition at line 97 of file InstallArea/x86_64-el9-gcc13-opt/include/CalibMySQLCnvSvc/TreeAddress.h.

97{ return m_ipar; }

◆ par() [1/3]

virtual const std::string * TreeAddress::par ( ) const
inlinevirtual

◆ par() [2/3]

virtual const std::string * TreeAddress::par ( ) const
inlinevirtual

◆ par() [3/3]

virtual const std::string * TreeAddress::par ( ) const
inlinevirtual

◆ pp() [1/3]

◆ pp() [2/3]

virtual DatabaseRecord * TreeAddress::pp ( )
inlinevirtual

◆ pp() [3/3]

virtual DatabaseRecord * TreeAddress::pp ( )
inlinevirtual

◆ registry() [1/3]

virtual IRegistry * TreeAddress::registry ( ) const
inlinevirtual

Pointer to directory.

Definition at line 80 of file Calibration/CalibSvc/CalibMySQLCnv/include/CalibMySQLCnvSvc/TreeAddress.h.

80{ return m_pRegistry; }

◆ registry() [2/3]

virtual IRegistry * TreeAddress::registry ( ) const
inlinevirtual

Pointer to directory.

Definition at line 80 of file InstallArea/x86_64-el9-gcc13-dbg/include/CalibMySQLCnvSvc/TreeAddress.h.

80{ return m_pRegistry; }

◆ registry() [3/3]

virtual IRegistry * TreeAddress::registry ( ) const
inlinevirtual

Pointer to directory.

Definition at line 80 of file InstallArea/x86_64-el9-gcc13-opt/include/CalibMySQLCnvSvc/TreeAddress.h.

80{ return m_pRegistry; }

◆ release() [1/3]

virtual unsigned long TreeAddress::release ( )
inlinevirtual

release reference to object

Definition at line 74 of file Calibration/CalibSvc/CalibMySQLCnv/include/CalibMySQLCnvSvc/TreeAddress.h.

74 {
75 int cnt = --m_refCount;
76 if ( 0 == cnt ) { delete this; }
77 return cnt;
78 }

◆ release() [2/3]

virtual unsigned long TreeAddress::release ( )
inlinevirtual

release reference to object

Definition at line 74 of file InstallArea/x86_64-el9-gcc13-dbg/include/CalibMySQLCnvSvc/TreeAddress.h.

74 {
75 int cnt = --m_refCount;
76 if ( 0 == cnt ) { delete this; }
77 return cnt;
78 }

◆ release() [3/3]

virtual unsigned long TreeAddress::release ( )
inlinevirtual

release reference to object

Definition at line 74 of file InstallArea/x86_64-el9-gcc13-opt/include/CalibMySQLCnvSvc/TreeAddress.h.

74 {
75 int cnt = --m_refCount;
76 if ( 0 == cnt ) { delete this; }
77 return cnt;
78 }

◆ setClID() [1/3]

void TreeAddress::setClID ( const CLID & clid)
inline

Access : Set class ID of the link.

Definition at line 86 of file Calibration/CalibSvc/CalibMySQLCnv/include/CalibMySQLCnvSvc/TreeAddress.h.

86{ m_clID = clid; }

◆ setClID() [2/3]

void TreeAddress::setClID ( const CLID & clid)
inline

Access : Set class ID of the link.

Definition at line 86 of file InstallArea/x86_64-el9-gcc13-dbg/include/CalibMySQLCnvSvc/TreeAddress.h.

86{ m_clID = clid; }

◆ setClID() [3/3]

void TreeAddress::setClID ( const CLID & clid)
inline

Access : Set class ID of the link.

Definition at line 86 of file InstallArea/x86_64-el9-gcc13-opt/include/CalibMySQLCnvSvc/TreeAddress.h.

86{ m_clID = clid; }

◆ setRegistry() [1/3]

virtual void TreeAddress::setRegistry ( IRegistry * pRegistry)
inlinevirtual

Set pointer to directory.

Definition at line 82 of file Calibration/CalibSvc/CalibMySQLCnv/include/CalibMySQLCnvSvc/TreeAddress.h.

82{ m_pRegistry = pRegistry; }

◆ setRegistry() [2/3]

virtual void TreeAddress::setRegistry ( IRegistry * pRegistry)
inlinevirtual

Set pointer to directory.

Definition at line 82 of file InstallArea/x86_64-el9-gcc13-dbg/include/CalibMySQLCnvSvc/TreeAddress.h.

82{ m_pRegistry = pRegistry; }

◆ setRegistry() [3/3]

virtual void TreeAddress::setRegistry ( IRegistry * pRegistry)
inlinevirtual

Set pointer to directory.

Definition at line 82 of file InstallArea/x86_64-el9-gcc13-opt/include/CalibMySQLCnvSvc/TreeAddress.h.

82{ m_pRegistry = pRegistry; }

◆ setRunFrom() [1/3]

void TreeAddress::setRunFrom ( int runFrom)
inline

◆ setRunFrom() [2/3]

void TreeAddress::setRunFrom ( int runFrom)
inline

set run from

Definition at line 100 of file InstallArea/x86_64-el9-gcc13-dbg/include/CalibMySQLCnvSvc/TreeAddress.h.

100{ m_runFrom = runFrom; }

◆ setRunFrom() [3/3]

void TreeAddress::setRunFrom ( int runFrom)
inline

set run from

Definition at line 100 of file InstallArea/x86_64-el9-gcc13-opt/include/CalibMySQLCnvSvc/TreeAddress.h.

100{ m_runFrom = runFrom; }

◆ setRunTo() [1/3]

void TreeAddress::setRunTo ( int runTo)
inline

◆ setRunTo() [2/3]

void TreeAddress::setRunTo ( int runTo)
inline

set run to

Definition at line 102 of file InstallArea/x86_64-el9-gcc13-dbg/include/CalibMySQLCnvSvc/TreeAddress.h.

102{ m_runTo = runTo; }

◆ setRunTo() [3/3]

void TreeAddress::setRunTo ( int runTo)
inline

set run to

Definition at line 102 of file InstallArea/x86_64-el9-gcc13-opt/include/CalibMySQLCnvSvc/TreeAddress.h.

102{ m_runTo = runTo; }

◆ setSvcType() [1/3]

void TreeAddress::setSvcType ( long typ)
inline

Access : set the storage type of the class id.

Definition at line 90 of file Calibration/CalibSvc/CalibMySQLCnv/include/CalibMySQLCnvSvc/TreeAddress.h.

90{ m_svcType = typ; }

◆ setSvcType() [2/3]

void TreeAddress::setSvcType ( long typ)
inline

Access : set the storage type of the class id.

Definition at line 90 of file InstallArea/x86_64-el9-gcc13-dbg/include/CalibMySQLCnvSvc/TreeAddress.h.

90{ m_svcType = typ; }

◆ setSvcType() [3/3]

void TreeAddress::setSvcType ( long typ)
inline

Access : set the storage type of the class id.

Definition at line 90 of file InstallArea/x86_64-el9-gcc13-opt/include/CalibMySQLCnvSvc/TreeAddress.h.

90{ m_svcType = typ; }

◆ svcType() [1/3]

long TreeAddress::svcType ( ) const
inline

Access : retrieve the storage type of the class id.

Definition at line 88 of file Calibration/CalibSvc/CalibMySQLCnv/include/CalibMySQLCnvSvc/TreeAddress.h.

88{ return m_svcType; }

◆ svcType() [2/3]

long TreeAddress::svcType ( ) const
inline

Access : retrieve the storage type of the class id.

Definition at line 88 of file InstallArea/x86_64-el9-gcc13-dbg/include/CalibMySQLCnvSvc/TreeAddress.h.

88{ return m_svcType; }

◆ svcType() [3/3]

long TreeAddress::svcType ( ) const
inline

Access : retrieve the storage type of the class id.

Definition at line 88 of file InstallArea/x86_64-el9-gcc13-opt/include/CalibMySQLCnvSvc/TreeAddress.h.

88{ return m_svcType; }

Member Data Documentation

◆ m_clID

CLID TreeAddress::m_clID
protected

◆ m_ipar

unsigned long TreeAddress::m_ipar
protected

Integer parameters to be accessed.

Definition at line 36 of file Calibration/CalibSvc/CalibMySQLCnv/include/CalibMySQLCnvSvc/TreeAddress.h.

Referenced by ipar(), and TreeAddress().

◆ m_par

std::string TreeAddress::m_par
protected

String parameters to be accessed.

Definition at line 34 of file Calibration/CalibSvc/CalibMySQLCnv/include/CalibMySQLCnvSvc/TreeAddress.h.

Referenced by par().

◆ m_pRegistry

IRegistry * TreeAddress::m_pRegistry
protected

Pointer to corresponding directory.

Definition at line 40 of file Calibration/CalibSvc/CalibMySQLCnv/include/CalibMySQLCnvSvc/TreeAddress.h.

Referenced by registry(), setRegistry(), TreeAddress(), TreeAddress(), and TreeAddress().

◆ m_records

DatabaseRecord * TreeAddress::m_records
protected

◆ m_refCount

unsigned long TreeAddress::m_refCount
protected

◆ m_runFrom

int TreeAddress::m_runFrom
protected

◆ m_runTo

int TreeAddress::m_runTo
protected

◆ m_svcType

long TreeAddress::m_svcType
protected

◆ m_treesize

unsigned long TreeAddress::m_treesize
protected

The documentation for this class was generated from the following files: