An AttributeList represents a logical row of attributes in a metadata table. The name and type of each attribute is given in an AttributeListSpecification. TagAthenaAttributeList is an AttributeList which is also a DataObject and thus can be saved in an Athena data store, e.g. the Event Store.
More...
#include <TagAthenaAttributeList.h>
An AttributeList represents a logical row of attributes in a metadata table. The name and type of each attribute is given in an AttributeListSpecification. TagAthenaAttributeList is an AttributeList which is also a DataObject and thus can be saved in an Athena data store, e.g. the Event Store.
Definition at line 44 of file TagAthenaAttributeList.h.
◆ TagAthenaAttributeList() [1/5]
TagAthenaAttributeList::TagAthenaAttributeList |
( |
| ) |
|
|
inline |
◆ TagAthenaAttributeList() [2/5]
TagAthenaAttributeList::TagAthenaAttributeList |
( |
const coral::AttributeList & |
rhs | ) |
|
|
inline |
◆ TagAthenaAttributeList() [3/5]
◆ TagAthenaAttributeList() [4/5]
TagAthenaAttributeList::TagAthenaAttributeList |
( |
const coral::AttributeListSpecification & |
rhs | ) |
|
|
inlineexplicit |
Construct attribute list according to the specification.
The link to the specification is kept internally. User must make sure that the lifetime of the specification covers the lifetime of the attribute list.
Definition at line 117 of file TagAthenaAttributeList.h.
◆ TagAthenaAttributeList() [5/5]
base on Spec with (name,type,info) tuple as well Otherwise it acts as coral version
Definition at line 147 of file TagAthenaAttributeList.h.
155 this->coral::AttributeList::extend(
i->name(),
i->attributeType().typeName() );
◆ ~TagAthenaAttributeList()
TagAthenaAttributeList::~TagAthenaAttributeList |
( |
| ) |
|
|
inline |
◆ coralList()
const coral::AttributeList& TagAthenaAttributeList::coralList |
( |
| ) |
const |
|
inline |
◆ extend() [1/4]
template<typename T >
void TagAthenaAttributeList::extend |
( |
const std::string & |
name | ) |
|
Extends the AttributeList by one attribute, given a specification.
In case the specification is shared, a copy is triggered.
Definition at line 162 of file TagAthenaAttributeList.h.
◆ extend() [2/4]
◆ extend() [3/4]
void TagAthenaAttributeList::extend |
( |
const std::string & |
name, |
|
|
const std::string & |
typeName |
|
) |
| |
|
inline |
◆ extend() [4/4]
void TagAthenaAttributeList::extend |
( |
const std::string & |
name, |
|
|
const std::type_info & |
type |
|
) |
| |
|
inline |
◆ getDesc()
◆ hasDesc()
bool TagAthenaAttributeList::hasDesc |
( |
| ) |
const |
|
inline |
◆ operator=()
Assignment.
Definition at line 134 of file TagAthenaAttributeList.h.
137 coral::AttributeList::operator= (rhs);
138 DataObject::operator= (rhs);
◆ print()
void TagAthenaAttributeList::print |
( |
std::ostream & |
os | ) |
const |
|
inline |
print to simulate function provided by old POOL AttributeList
Definition at line 193 of file TagAthenaAttributeList.h.
196 for (coral::AttributeList::const_iterator itr=this->
begin();
197 itr!=this->
end();++itr) {
198 if (itr!=this->
begin())
os <<
",";
199 itr->toOutputStream(
os);
◆ m_desc
The documentation for this class was generated from the following file: