ATLAS Offline Software
Loading...
Searching...
No Matches
AthenaAttributeList.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
6
9
10AthenaAttributeList::AthenaAttributeList(const coral::AttributeList& rhs) : coral::AttributeList(rhs)
11{}
12
13AthenaAttributeList::AthenaAttributeList(const coral::AttributeListSpecification& spec) : coral::AttributeList(spec)
14{}
15
16void AthenaAttributeList::print(std::ostream& os) const {
17 os << "{";
18 for (coral::AttributeList::const_iterator itr=this->begin();
19 itr!=this->end();++itr) {
20 if (itr!=this->begin()) os << ",";
21 itr->toOutputStream(os);
22 }
23 os << "}";
24}
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