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