ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
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. More...
 
 AthenaAttrListAddress (const AthenaAttrListAddress &copy)
 Copy Constructor. More...
 
 AthenaAttrListAddress (const GenericAddress &copy)
 Constructor from GA. More...
 
 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. More...
 
virtual ~AthenaAttrListAddress ()
 Standard Destructor. More...
 
AthenaAttrListAddressoperator= (const AthenaAttrListAddress &copy)=delete
 Assignment is not implemented. More...
 
AthenaAttributeListattrList ()
 Access to AttributeList. More...
 
void setAttrList (AthenaAttributeList *attrList)
 Add AttributeList. More...
 

Private Attributes

AthenaAttributeListm_attrList
 Pointer to an AthenaAttributeList. More...
 

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 {}

◆ 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 }

◆ 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 }

◆ ~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:
AthenaAttrListAddress::attrList
AthenaAttributeList * attrList()
Access to AttributeList.
Definition: AthenaAttrListAddress.h:107
TRTCalib_cfilter.p1
p1
Definition: TRTCalib_cfilter.py:130
TRTCalib_cfilter.p2
p2
Definition: TRTCalib_cfilter.py:131
AthenaAttrListAddress::m_attrList
AthenaAttributeList * m_attrList
Pointer to an AthenaAttributeList.
Definition: AthenaAttrListAddress.h:56
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
calibdata.copy
bool copy
Definition: calibdata.py:26