#include <CoralBase/AthenaAttributeListSpecification.h>
The specification of an AttributeList
Definition at line 42 of file AthenaAttributeListSpecification.h.
◆ AthenaAttributeListSpecification() [1/3]
AthenaAttributeListSpecification::AthenaAttributeListSpecification |
( |
| ) |
|
|
inline |
◆ AthenaAttributeListSpecification() [2/3]
◆ AthenaAttributeListSpecification() [3/3]
AthenaAttributeListSpecification::AthenaAttributeListSpecification |
( |
const coral::AttributeListSpecification & |
rhs | ) |
|
|
inline |
Copy constructor.
Definition at line 255 of file AthenaAttributeListSpecification.h.
261 for ( coral::AttributeListSpecification::const_iterator iSpecification = rhs.begin();
262 iSpecification != rhs.end(); ++iSpecification )
264 this->
extend(iSpecification->name(),iSpecification->typeName());
◆ ~AthenaAttributeListSpecification()
AthenaAttributeListSpecification::~AthenaAttributeListSpecification |
( |
| ) |
|
|
inlineprotected |
◆ addRef()
void AthenaAttributeListSpecification::addRef |
( |
| ) |
const |
|
inlineprotected |
◆ begin()
◆ coralSpec()
void AthenaAttributeListSpecification::coralSpec |
( |
coral::AttributeListSpecification & |
s | ) |
const |
|
inline |
◆ end()
◆ extend() [1/5]
◆ extend() [2/5]
◆ extend() [3/5]
void AthenaAttributeListSpecification::extend |
( |
const std::string & |
name, |
|
|
const std::string & |
typeName, |
|
|
const std::string & |
unitName = "UNKNOWN" , |
|
|
const std::string & |
groupName = "UNKNOWN" |
|
) |
| |
|
inline |
◆ extend() [4/5]
template<typename T >
void AthenaAttributeListSpecification::extend |
( |
const std::string & |
name, |
|
|
const std::string & |
unitName = "UNKNOWN" , |
|
|
const std::string & |
groupName = "UNKNOWN" |
|
) |
| |
◆ extend() [5/5]
void AthenaAttributeListSpecification::extend |
( |
const std::string & |
name, |
|
|
const std::type_info & |
type, |
|
|
const std::string & |
unitName = "UNKNOWN" , |
|
|
const std::string & |
groupName = "UNKNOWN" |
|
) |
| |
|
inline |
◆ index()
int AthenaAttributeListSpecification::index |
( |
const std::string & |
name | ) |
const |
|
inline |
Returns the index of a specification given its name. If the name is not found it returns -1.
Definition at line 342 of file AthenaAttributeListSpecification.h.
346 else return iSpecificationForAttribute->second;
◆ operator!=()
◆ operator=()
◆ operator==()
Equal operator. Compares only types and values. Not the attribute names.
Definition at line 374 of file AthenaAttributeListSpecification.h.
376 if ( this->
size() != rhs.
size() )
return false;
377 size_t theSize = this->
size();
379 for (
size_t i = 0;
i < theSize; ++
i )
381 if ( lhs[
i] != rhs[
i] )
◆ operator[]()
◆ release()
void AthenaAttributeListSpecification::release |
( |
| ) |
const |
|
inline |
◆ size()
size_t AthenaAttributeListSpecification::size |
( |
| ) |
const |
|
inline |
◆ specificationForAttribute()
Returns the specification given an index.
Definition at line 351 of file AthenaAttributeListSpecification.h.
354 throw coral::AttributeListException(
"Invalid index for the attribute already" );
◆ AthenaAttributeList
◆ m_attributeSpecifications
◆ m_counter
std::atomic<int> AthenaAttributeListSpecification::m_counter |
|
mutableprivate |
◆ m_mapOfNameToIndex
std::map< std::string, int > AthenaAttributeListSpecification::m_mapOfNameToIndex |
|
private |
The documentation for this class was generated from the following file: