ATLAS Offline Software
Loading...
Searching...
No Matches
IOVAddress Class Reference

#include <IOVAddress.h>

Inheritance diagram for IOVAddress:
Collaboration diagram for IOVAddress:

Public Member Functions

 IOVAddress ()
 IOVAddress (const IOVAddress &copy)
 IOVAddress (long svc, const CLID &clid, const std::string &p1, const std::string &p2, unsigned long ip1, unsigned long ip2, const IOVRange &range)
 Standard Constructor.
virtual ~IOVAddress ()
 Standard Destructor.
virtual unsigned long addRef ()
 Add reference to object.
virtual unsigned long release ()
virtual IRegistry * registry () const
 Pointer to directory.
virtual void setRegistry (IRegistry *pRegistry)
 Set pointer to directory.
virtual const CLIDclID () const
 Access : Retrieve class ID of the link.
virtual void setClID (const CLID &clid)
 Access : Set class ID of the link.
virtual long svcType () const
 Access : retrieve the storage type of the class id.
virtual void setSvcType (long typ)
 Access : set the storage type of the class id.
virtual const std::string * par () const
 Retrieve string parameters.
virtual const unsigned long * ipar () const
 Retrieve integer parameters.
virtual IOVRange range () const
 Retrieve IOVRange.
virtual void setRange (IOVRange &range)
virtual const std::string & key () const
 Retrieve dbKey.
virtual const std::string & tag () const
 Retrieve dbtag.

Protected Attributes

unsigned long m_refCount
long m_svcType
 Storage type.
CLID m_clID
 Class id.
std::string m_par [2]
 String parameters to be accessed.
unsigned long m_ipar [2]
 Integer parameters to be accessed.
IRegistry * m_pRegistry
 Pointer to corresponding directory.
IOVRange m_range

Private Member Functions

IOVAddressoperator= (const IOVAddress &)

Detailed Description

Definition at line 11 of file IOVAddress.h.

Constructor & Destructor Documentation

◆ IOVAddress() [1/3]

IOVAddress::IOVAddress ( )
inline

Definition at line 32 of file IOVAddress.h.

33 : m_refCount(0),
34 m_svcType(0),
35 m_clID(0),
37 {
38 m_ipar[0]=m_ipar[1]==0xFFFFFFFF;
39 }
CLID m_clID
Class id.
Definition IOVAddress.h:19
long m_svcType
Storage type.
Definition IOVAddress.h:17
IRegistry * m_pRegistry
Pointer to corresponding directory.
Definition IOVAddress.h:25
unsigned long m_ipar[2]
Integer parameters to be accessed.
Definition IOVAddress.h:23
unsigned long m_refCount
Definition IOVAddress.h:15

◆ IOVAddress() [2/3]

IOVAddress::IOVAddress ( const IOVAddress & copy)
inline

Definition at line 42 of file IOVAddress.h.

43 : IOpaqueAddress(copy),
44 m_refCount(0),
45 m_svcType(copy.m_svcType),
46 m_clID(copy.m_clID),
47 m_pRegistry(copy.m_pRegistry),
48 m_range(copy.m_range)
49 {
50 m_par[0] = copy.m_par[0];
51 m_par[1] = copy.m_par[1];
52 m_ipar[0] = copy.m_ipar[0];
53 m_ipar[1] = copy.m_ipar[1];
54 }
std::string m_par[2]
String parameters to be accessed.
Definition IOVAddress.h:21
IOVRange m_range
Definition IOVAddress.h:27
bool copy
Definition calibdata.py:26

◆ IOVAddress() [3/3]

IOVAddress::IOVAddress ( long svc,
const CLID & clid,
const std::string & p1,
const std::string & p2,
unsigned long ip1,
unsigned long ip2,
const IOVRange & range )
inline

Standard Constructor.

Definition at line 57 of file IOVAddress.h.

64 : m_refCount(0),
65 m_svcType(svc),
66 m_clID(clid),
67 m_pRegistry(0),
69 {
70 m_par[0] = p1;
71 m_par[1] = p2;
72 m_ipar[0] = ip1;
73 m_ipar[1] = ip2;
74 }
virtual IOVRange range() const
Retrieve IOVRange.
Definition IOVAddress.h:126

◆ ~IOVAddress()

virtual IOVAddress::~IOVAddress ( )
inlinevirtual

Standard Destructor.

Definition at line 77 of file IOVAddress.h.

77 {
78 }

Member Function Documentation

◆ addRef()

virtual unsigned long IOVAddress::addRef ( )
inlinevirtual

Add reference to object.

Definition at line 81 of file IOVAddress.h.

81 {
82 return ++m_refCount;
83 }

◆ clID()

virtual const CLID & IOVAddress::clID ( ) const
inlinevirtual

Access : Retrieve class ID of the link.

Definition at line 101 of file IOVAddress.h.

101 {
102 return m_clID;
103 }

◆ ipar()

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

Retrieve integer parameters.

Definition at line 121 of file IOVAddress.h.

121 {
122 return m_ipar;
123 }

◆ key()

virtual const std::string & IOVAddress::key ( ) const
inlinevirtual

Retrieve dbKey.

Definition at line 135 of file IOVAddress.h.

135 {
136 return m_par[0];
137 }

◆ operator=()

IOVAddress & IOVAddress::operator= ( const IOVAddress & )
private

◆ par()

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

Retrieve string parameters.

Definition at line 117 of file IOVAddress.h.

117 {
118 return m_par;
119 }

◆ range()

virtual IOVRange IOVAddress::range ( ) const
inlinevirtual

Retrieve IOVRange.

Definition at line 126 of file IOVAddress.h.

126 {
127 return m_range;
128 }

◆ registry()

virtual IRegistry * IOVAddress::registry ( ) const
inlinevirtual

Pointer to directory.

Definition at line 93 of file IOVAddress.h.

93 {
94 return m_pRegistry;
95 }

◆ release()

virtual unsigned long IOVAddress::release ( )
inlinevirtual

Definition at line 85 of file IOVAddress.h.

85 {
86 int cnt = --m_refCount;
87 if ( 0 == cnt ) {
88 delete this;
89 }
90 return cnt;
91 }

◆ setClID()

virtual void IOVAddress::setClID ( const CLID & clid)
inlinevirtual

Access : Set class ID of the link.

Definition at line 105 of file IOVAddress.h.

105 {
106 m_clID = clid;
107 }

◆ setRange()

virtual void IOVAddress::setRange ( IOVRange & range)
inlinevirtual

Definition at line 130 of file IOVAddress.h.

130 {
131 m_range = range;
132 }

◆ setRegistry()

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

Set pointer to directory.

Definition at line 97 of file IOVAddress.h.

97 {
98 m_pRegistry = pRegistry;
99 }

◆ setSvcType()

virtual void IOVAddress::setSvcType ( long typ)
inlinevirtual

Access : set the storage type of the class id.

Definition at line 113 of file IOVAddress.h.

113 {
114 m_svcType = typ;
115 }

◆ svcType()

virtual long IOVAddress::svcType ( ) const
inlinevirtual

Access : retrieve the storage type of the class id.

Definition at line 109 of file IOVAddress.h.

109 {
110 return m_svcType;
111 }

◆ tag()

virtual const std::string & IOVAddress::tag ( ) const
inlinevirtual

Retrieve dbtag.

Definition at line 140 of file IOVAddress.h.

140 {
141 return m_par[1];
142 }

Member Data Documentation

◆ m_clID

CLID IOVAddress::m_clID
protected

Class id.

Definition at line 19 of file IOVAddress.h.

◆ m_ipar

unsigned long IOVAddress::m_ipar[2]
protected

Integer parameters to be accessed.

Definition at line 23 of file IOVAddress.h.

◆ m_par

std::string IOVAddress::m_par[2]
protected

String parameters to be accessed.

Definition at line 21 of file IOVAddress.h.

◆ m_pRegistry

IRegistry* IOVAddress::m_pRegistry
protected

Pointer to corresponding directory.

Definition at line 25 of file IOVAddress.h.

◆ m_range

IOVRange IOVAddress::m_range
protected

Definition at line 27 of file IOVAddress.h.

◆ m_refCount

unsigned long IOVAddress::m_refCount
protected

Definition at line 15 of file IOVAddress.h.

◆ m_svcType

long IOVAddress::m_svcType
protected

Storage type.

Definition at line 17 of file IOVAddress.h.


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