ATLAS Offline Software
Database
AthenaPOOL
AthenaPoolUtilities
AthenaPoolUtilities
AthenaAttrListAddress.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ATHENAPOOLCNVSVC_ATHENAATTRLISTADDRESS_H
6
#define ATHENAPOOLCNVSVC_ATHENAATTRLISTADDRESS_H
7
13
// AthenaAttrList
14
#include "
AthenaPoolUtilities/AthenaAttributeList.h
"
15
16
// Framework include files
17
#include "GaudiKernel/GenericAddress.h"
18
19
// Forward declarations
20
class
IRegistry;
21
27
class
AthenaAttrListAddress
:
public
GenericAddress {
28
public
:
30
AthenaAttrListAddress
();
32
AthenaAttrListAddress
(
const
AthenaAttrListAddress
&
copy
);
34
AthenaAttrListAddress
(
const
GenericAddress&
copy
);
36
AthenaAttrListAddress
(
long
svc
,
37
const
CLID
& clid,
38
const
std::string& p1=
""
,
39
const
std::string& p2=
""
,
40
unsigned
long
ip1=0,
41
unsigned
long
ip2=0,
42
AthenaAttributeList
*
attrList
=0);
43
45
virtual
~AthenaAttrListAddress
();
46
48
AthenaAttrListAddress
&
operator=
(
const
AthenaAttrListAddress
&
copy
) =
delete
;
49
51
AthenaAttributeList
*
attrList
();
52
54
void
setAttrList
(
AthenaAttributeList
*
attrList
);
55
56
private
:
57
59
AthenaAttributeList
*
m_attrList
;
60
};
61
63
inline
64
AthenaAttrListAddress::AthenaAttrListAddress
()
65
:
66
GenericAddress(),
67
m_attrList(0)
68
{}
69
70
inline
71
AthenaAttrListAddress::AthenaAttrListAddress
(
const
AthenaAttrListAddress
&
copy
)
72
:
73
GenericAddress(
copy
),
74
m_attrList(
copy
.m_attrList)
75
{
76
if
(
m_attrList
)
m_attrList
->addRef();
77
}
78
79
80
inline
81
AthenaAttrListAddress::AthenaAttrListAddress
(
const
GenericAddress&
copy
)
82
:
83
GenericAddress(
copy
),
84
m_attrList(0)
85
{}
86
87
inline
88
AthenaAttrListAddress::AthenaAttrListAddress
(
long
svc
,
89
const
CLID
& clid,
90
const
std::string& p1,
91
const
std::string& p2,
92
unsigned
long
ip1,
93
unsigned
long
ip2,
94
AthenaAttributeList
* attrList)
95
:
96
GenericAddress(
svc
, clid, p1, p2, ip1, ip2),
97
m_attrList(attrList)
98
{
99
if
(
m_attrList
)
m_attrList
->addRef();
100
}
101
102
inline
103
AthenaAttrListAddress::~AthenaAttrListAddress
()
104
{
105
if
(
m_attrList
)
m_attrList
->release();
106
}
107
108
109
inline
AthenaAttributeList
*
110
AthenaAttrListAddress::attrList
()
111
{
112
return
m_attrList
;
113
}
114
115
inline
void
116
AthenaAttrListAddress::setAttrList
(
AthenaAttributeList
* attrList)
117
{
118
if
(
m_attrList
)
m_attrList
->release();
119
m_attrList
=
attrList
;
120
if
(
m_attrList
)
m_attrList
->addRef();
121
}
122
123
#endif // ATHENAPOOLCNVSVC_ATHENAATTRLISTADDRESS_H
124
AthenaAttrListAddress::attrList
AthenaAttributeList * attrList()
Access to AttributeList.
Definition:
AthenaAttrListAddress.h:110
AthenaAttrListAddress::~AthenaAttrListAddress
virtual ~AthenaAttrListAddress()
Standard Destructor.
Definition:
AthenaAttrListAddress.h:103
AthenaAttributeList.h
AthenaAttrListAddress
This class provides the an IOpaqueAddress/GenericAddress which can hold a pointer to an AthenaAttribu...
Definition:
AthenaAttrListAddress.h:27
AthenaAttrListAddress::m_attrList
AthenaAttributeList * m_attrList
Pointer to an AthenaAttributeList.
Definition:
AthenaAttrListAddress.h:59
AthenaAttributeList
An AttributeList represents a logical row of attributes in a metadata table. The name and type of eac...
Definition:
PersistentDataModel/PersistentDataModel/AthenaAttributeList.h:45
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition:
AthROOTErrorHandlerSvc.cxx:10
CLID
uint32_t CLID
The Class ID type.
Definition:
Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
AthenaAttrListAddress::setAttrList
void setAttrList(AthenaAttributeList *attrList)
Add AttributeList.
Definition:
AthenaAttrListAddress.h:116
AthenaAttrListAddress::AthenaAttrListAddress
AthenaAttrListAddress()
Dummy constructor.
Definition:
AthenaAttrListAddress.h:64
AthenaAttrListAddress::operator=
AthenaAttrListAddress & operator=(const AthenaAttrListAddress ©)=delete
Assignment is not implemented.
calibdata.copy
bool copy
Definition:
calibdata.py:27
Generated on Sun Jun 30 2024 21:10:43 for ATLAS Offline Software by
1.8.18