ATLAS Offline Software
Loading...
Searching...
No Matches
Database
PersistentDataModel
src
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
5
#include "
PersistentDataModel/AthenaAttributeList.h
"
6
7
AthenaAttributeList::AthenaAttributeList
() :
coral
::AttributeList()
8
{}
9
10
AthenaAttributeList::AthenaAttributeList
(
const
coral::AttributeList& rhs) :
coral
::AttributeList(rhs)
11
{}
12
13
AthenaAttributeList::AthenaAttributeList
(
const
coral::AttributeListSpecification& spec) :
coral
::AttributeList(spec)
14
{}
15
16
void
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
}
AthenaAttributeList.h
An AttributeList represents a logical row of attributes in a metadata table.
AthenaAttributeList::AthenaAttributeList
AthenaAttributeList()
Construct empty attribute list with empty specification.
Definition
AthenaAttributeList.cxx:7
AthenaAttributeList::print
void print(std::ostream &os) const
print to simulate function provided by old POOL AttributeList
Definition
AthenaAttributeList.cxx:16
coral
Definition
ISecondaryEventSelector.h:19
Generated on
for ATLAS Offline Software by
1.14.0