ATLAS Offline Software
PersistentDataModel/PersistentDataModel/AthenaAttributeList.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
21 #ifndef PERSISTENTDATAMODEL_ATHENAATTRIBUTELIST_H
22 #define PERSISTENTDATAMODEL_ATHENAATTRIBUTELIST_H
23 
24 #include "CoralBase/Attribute.h"
25 #include "CoralBase/AttributeList.h"
26 #include "CoralBase/AttributeListSpecification.h"
27 #include "AthenaKernel/CLASS_DEF.h"
29 
30 #include "GaudiKernel/DataObject.h"
31 
44  public DataObject
45 {
46 public:
47 
50 
52  explicit AthenaAttributeList(const coral::AttributeList& rhs);
53 
58  explicit AthenaAttributeList(const coral::AttributeListSpecification& rhs);
59 
61 
63  void print(std::ostream& os) const;
64 
65  const coral::AttributeList& coralList() const {return *static_cast<const coral::AttributeList*>(this);}
66 
67 };
68 
69 CLASS_DEF(AthenaAttributeList, 40774348, 0)
70 #include "AthenaKernel/CondCont.h"
72 
73 #endif // PERSISTENTDATAMODEL_ATHENAATTRIBUTELIST_H
AthenaAttributeList::print
void print(std::ostream &os) const
print to simulate function provided by old POOL AttributeList
Definition: AthenaAttributeList.cxx:16
CONDCONT_DEF
CONDCONT_DEF(AthenaAttributeList, 211215482)
AthenaAttributeList::coralList
const coral::AttributeList & coralList() const
Definition: PersistentDataModel/PersistentDataModel/AthenaAttributeList.h:65
python.PyKernel.AttributeList
AttributeList
Definition: PyKernel.py:36
AthenaAttributeList::AthenaAttributeList
AthenaAttributeList()
Construct empty attribute list with empty specification.
Definition: AthenaAttributeList.cxx:7
AthenaAttributeList::~AthenaAttributeList
~AthenaAttributeList()
Definition: PersistentDataModel/PersistentDataModel/AthenaAttributeList.h:60
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
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
checker_macros.h
Define macros for attributes used to control the static checker.
CLASS_DEF.h
macros to associate a CLID to a type