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

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

#include <AthenaAttrListAddress.h>

Inheritance diagram for AthenaAttrListAddress:
Collaboration diagram for AthenaAttrListAddress:

Public Member Functions

 AthenaAttrListAddress ()
 Dummy constructor.
 AthenaAttrListAddress (const AthenaAttrListAddress &copy)
 Copy Constructor.
 AthenaAttrListAddress (const GenericAddress &copy)
 Constructor from GA.
 AthenaAttrListAddress (long svc, const CLID &clid, const std::string &p1="", const std::string &p2="", unsigned long ip1=0, unsigned long ip2=0, AthenaAttributeList *attrList=nullptr)
 Standard Constructor.
virtual ~AthenaAttrListAddress ()
 Standard Destructor.
AthenaAttrListAddressoperator= (const AthenaAttrListAddress &copy)=delete
 Assignment is not implemented.
AthenaAttributeListattrList ()
 Access to AttributeList.
void setAttrList (AthenaAttributeList *attrList)
 Add AttributeList.

Private Attributes

AthenaAttributeListm_attrList
 Pointer to an AthenaAttributeList.

Detailed Description

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

Definition at line 24 of file AthenaAttrListAddress.h.

Constructor & Destructor Documentation

◆ AthenaAttrListAddress() [1/4]

AthenaAttrListAddress::AthenaAttrListAddress ( )
inline

Dummy constructor.

Inline definitions.

Definition at line 61 of file AthenaAttrListAddress.h.

62 :
63 GenericAddress(),
64 m_attrList(nullptr)
65{}
AthenaAttributeList * m_attrList
Pointer to an AthenaAttributeList.

◆ AthenaAttrListAddress() [2/4]

AthenaAttrListAddress::AthenaAttrListAddress ( const AthenaAttrListAddress & copy)
inline

Copy Constructor.

Definition at line 68 of file AthenaAttrListAddress.h.

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

◆ AthenaAttrListAddress() [3/4]

AthenaAttrListAddress::AthenaAttrListAddress ( const GenericAddress & copy)
inline

Constructor from GA.

Definition at line 78 of file AthenaAttrListAddress.h.

79 :
80 GenericAddress(copy),
81 m_attrList(nullptr)
82{}

◆ AthenaAttrListAddress() [4/4]

AthenaAttrListAddress::AthenaAttrListAddress ( long svc,
const CLID & clid,
const std::string & p1 = "",
const std::string & p2 = "",
unsigned long ip1 = 0,
unsigned long ip2 = 0,
AthenaAttributeList * attrList = nullptr )
inline

Standard Constructor.

Definition at line 85 of file AthenaAttrListAddress.h.

92 :
93 GenericAddress( svc, clid, p1, p2, ip1, ip2),
95{
96 if (m_attrList) m_attrList->addRef();
97}
AthenaAttributeList * attrList()
Access to AttributeList.

◆ ~AthenaAttrListAddress()

AthenaAttrListAddress::~AthenaAttrListAddress ( )
inlinevirtual

Standard Destructor.

Definition at line 100 of file AthenaAttrListAddress.h.

101{
102 if (m_attrList) m_attrList->release();
103}

Member Function Documentation

◆ attrList()

AthenaAttributeList * AthenaAttrListAddress::attrList ( )
inline

Access to AttributeList.

Definition at line 107 of file AthenaAttrListAddress.h.

108{
109 return m_attrList;
110}

◆ operator=()

AthenaAttrListAddress & AthenaAttrListAddress::operator= ( const AthenaAttrListAddress & copy)
delete

Assignment is not implemented.

◆ setAttrList()

void AthenaAttrListAddress::setAttrList ( AthenaAttributeList * attrList)
inline

Add AttributeList.

Definition at line 113 of file AthenaAttrListAddress.h.

114{
115 if (m_attrList) m_attrList->release();
117 if (m_attrList) m_attrList->addRef();
118}

Member Data Documentation

◆ m_attrList

AthenaAttributeList* AthenaAttrListAddress::m_attrList
private

Pointer to an AthenaAttributeList.

Definition at line 56 of file AthenaAttrListAddress.h.


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