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

This class provides an IOpaqueAddress/GenericAddress which can hold a pointer to a CondAttrListCollection object. More...

#include <CondAttrListCollAddress.h>

Inheritance diagram for CondAttrListCollAddress:
Collaboration diagram for CondAttrListCollAddress:

Public Member Functions

 CondAttrListCollAddress ()
 Dummy constructor.
 CondAttrListCollAddress (const CondAttrListCollAddress &copy)
 Copy Constructor.
CondAttrListCollAddressoperator= (const CondAttrListCollAddress &copy)
 Assignment.
 CondAttrListCollAddress (const GenericAddress &copy)
 Constructor from GA.
 CondAttrListCollAddress (long svc, const CLID &clid, const std::string &p1="", const std::string &p2="", unsigned long ip1=0, unsigned long ip2=0, CondAttrListCollection *attrListColl=nullptr)
 Standard Constructor.
virtual ~CondAttrListCollAddress ()
 Standard Destructor.
CondAttrListCollectionattrListColl ()
 Access to AttributeList.
void setAttrListColl (CondAttrListCollection *attrListColl)
 Add AttributeList.

Private Attributes

CondAttrListCollectionm_attrListColl
 Pointer to an CondAttrListCollection.

Detailed Description

This class provides an IOpaqueAddress/GenericAddress which can hold a pointer to a CondAttrListCollection object.

Definition at line 24 of file CondAttrListCollAddress.h.

Constructor & Destructor Documentation

◆ CondAttrListCollAddress() [1/4]

CondAttrListCollAddress::CondAttrListCollAddress ( )
inline

Dummy constructor.

Inline definitions.

Definition at line 60 of file CondAttrListCollAddress.h.

61 :
62 GenericAddress(),
63 m_attrListColl(nullptr)
64{}
CondAttrListCollection * m_attrListColl
Pointer to an CondAttrListCollection.

◆ CondAttrListCollAddress() [2/4]

CondAttrListCollAddress::CondAttrListCollAddress ( const CondAttrListCollAddress & copy)
inline

Copy Constructor.

Definition at line 67 of file CondAttrListCollAddress.h.

68 :
69 GenericAddress(copy),
70 m_attrListColl(copy.m_attrListColl)
71{
72 if (m_attrListColl) m_attrListColl->addRef();
73}
bool copy
Definition calibdata.py:26

◆ CondAttrListCollAddress() [3/4]

CondAttrListCollAddress::CondAttrListCollAddress ( const GenericAddress & copy)
inlineexplicit

Constructor from GA.

Definition at line 89 of file CondAttrListCollAddress.h.

90 :
91 GenericAddress(copy),
92 m_attrListColl(nullptr)
93{}

◆ CondAttrListCollAddress() [4/4]

CondAttrListCollAddress::CondAttrListCollAddress ( long svc,
const CLID & clid,
const std::string & p1 = "",
const std::string & p2 = "",
unsigned long ip1 = 0,
unsigned long ip2 = 0,
CondAttrListCollection * attrListColl = nullptr )
inline

Standard Constructor.

Definition at line 96 of file CondAttrListCollAddress.h.

103 :
104 GenericAddress( svc, clid, p1, p2, ip1, ip2),
106{
107 if (m_attrListColl) m_attrListColl->addRef();
108}
CondAttrListCollection * attrListColl()
Access to AttributeList.

◆ ~CondAttrListCollAddress()

CondAttrListCollAddress::~CondAttrListCollAddress ( )
inlinevirtual

Standard Destructor.

Definition at line 111 of file CondAttrListCollAddress.h.

112{
113 if (m_attrListColl) m_attrListColl->release();
114}

Member Function Documentation

◆ attrListColl()

CondAttrListCollection * CondAttrListCollAddress::attrListColl ( )
inline

Access to AttributeList.

Definition at line 117 of file CondAttrListCollAddress.h.

118{
119 return m_attrListColl;
120}

◆ operator=()

CondAttrListCollAddress & CondAttrListCollAddress::operator= ( const CondAttrListCollAddress & copy)
inline

Assignment.

Definition at line 77 of file CondAttrListCollAddress.h.

78{
79 if (this != &copy) {
80 GenericAddress::operator= (copy);
81 if (m_attrListColl) m_attrListColl->release();
82 m_attrListColl = copy.m_attrListColl;
83 if (m_attrListColl) m_attrListColl->addRef();
84 }
85 return *this;
86}

◆ setAttrListColl()

void CondAttrListCollAddress::setAttrListColl ( CondAttrListCollection * attrListColl)
inline

Add AttributeList.

Definition at line 123 of file CondAttrListCollAddress.h.

124{
125 if (m_attrListColl) m_attrListColl->release();
127 if (m_attrListColl) m_attrListColl->addRef();
128}

Member Data Documentation

◆ m_attrListColl

CondAttrListCollection* CondAttrListCollAddress::m_attrListColl
private

Pointer to an CondAttrListCollection.

Definition at line 55 of file CondAttrListCollAddress.h.


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