ATLAS Offline Software
Loading...
Searching...
No Matches
CondAttrListVecAddress.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ATHENAPOOLCNVSVC_CONDATTRLISTVECADDRESS_H
6#define ATHENAPOOLCNVSVC_CONDATTRLISTVECADDRESS_H
11
13
14// Framework include files
15#include "GaudiKernel/GenericAddress.h"
16
22class CondAttrListVecAddress : public GenericAddress {
23public:
29 // not allowed with new Gaudi
32 explicit CondAttrListVecAddress(const GenericAddress& copy);
34 CondAttrListVecAddress( long svc,
35 const CLID& clid,
36 const std::string& p1="",
37 const std::string& p2="",
38 unsigned long ip1=0,
39 unsigned long ip2=0,
41
44
47
50
51private:
52
55};
56
58inline
60 :
61 GenericAddress(),
62 m_attrListVec(nullptr)
63{}
64
65inline
67 :
68 GenericAddress(copy),
70{
71 if (m_attrListVec) m_attrListVec->addRef();
72}
73
74// not allowed with new Gaudi
75// inline
76// CondAttrListVecAddress&
77// CondAttrListVecAddress::operator=(const CondAttrListVecAddress& copy)
78// {
79// if (this != &copy) {
80// GenericAddress::operator= (copy);
81// if (m_attrListVec) m_attrListVec->release();
82// m_attrListVec = copy.m_attrListVec;
83// if (m_attrListVec) m_attrListVec->addRef();
84// }
85// return *this;
86// }
87
88inline
90 :
91 GenericAddress(copy),
92 m_attrListVec(nullptr)
93{}
94
95inline
97 const CLID& clid,
98 const std::string& p1,
99 const std::string& p2,
100 unsigned long ip1,
101 unsigned long ip2,
103 :
104 GenericAddress( svc, clid, p1, p2, ip1, ip2),
106{
107 if (m_attrListVec) m_attrListVec->addRef();
108}
109
110inline
115
116inline CondAttrListVec*
121
122inline void
129
130#endif // ATHENAPOOLCNVSVC_CONDATTRLISTVECADDRESS_H
131
A CondAttrListVec is an Athena DataObject holding a vector of CORAL AttributeLists,...
uint32_t CLID
The Class ID type.
CondAttrListVec * attrListVec()
Access to CondAttrListVec.
CondAttrListVecAddress & operator=(const CondAttrListVecAddress &copy)=delete
Assignment.
virtual ~CondAttrListVecAddress()
Standard Destructor.
CondAttrListVec * m_attrListVec
Pointer to a CondAttrListVec.
void setAttrListVec(CondAttrListVec *attrListVec)
Add CondAttrListVec.
CondAttrListVecAddress()
Dummy constructor.