ATLAS Offline Software
Loading...
Searching...
No Matches
PersistentDataModel/PersistentDataModel/AthenaAttributeList.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
20
21#ifndef PERSISTENTDATAMODEL_ATHENAATTRIBUTELIST_H
22#define PERSISTENTDATAMODEL_ATHENAATTRIBUTELIST_H
23
24//coverity[VIRTUAL_DTOR]
25#include "CoralBase/Attribute.h"
26#include "CoralBase/AttributeList.h"
27#include "CoralBase/AttributeListSpecification.h"
30
31#include "GaudiKernel/DataObject.h"
32
43
44class AthenaAttributeList : public coral::AttributeList,
45 public DataObject
46{
47public:
48
51
53 explicit AthenaAttributeList(const coral::AttributeList& rhs);
54
59 explicit AthenaAttributeList(const coral::AttributeListSpecification& rhs);
60
62
64 void print(std::ostream& os) const;
65
66 const coral::AttributeList& coralList() const {return *static_cast<const coral::AttributeList*>(this);}
67
68};
69
71#include "AthenaKernel/CondCont.h"
73
74#endif // PERSISTENTDATAMODEL_ATHENAATTRIBUTELIST_H
#define CONDCONT_DEF(...)
Definition CondCont.h:1413
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Define macros for attributes used to control the static checker.
An AttributeList represents a logical row of attributes in a metadata table.
AthenaAttributeList()
Construct empty attribute list with empty specification.
void print(std::ostream &os) const
print to simulate function provided by old POOL AttributeList