![]() |
ATLAS Offline Software
|
This class contains the list of currently valid tags for detector description - GeoModel and IOV/Conditions. Tags are given as name/value pairs. More...
#include <TagInfo.h>
Public Types | |
typedefs: | |
| typedef std::pair< std::string, std::string > | NameTagPair |
| typedef std::vector< NameTagPair > | NameTagPairVec |
Public Member Functions | |
structors | |
| TagInfo () | |
| virtual | ~TagInfo () |
| TagInfo (const TagInfo &)=default | |
| TagInfo (TagInfo &&)=default | |
| TagInfo & | operator= (const TagInfo &)=default |
| TagInfo & | operator= (TagInfo &&)=default |
Tag information accessors | |
| void | findTag (const std::string &name, std::string &tag) const |
| Find tag by its name - for current tags, returning in the reference argument. More... | |
| std::string | findTag (const std::string &name) const |
| Find tag by name, return by value. More... | |
| void | getTags (NameTagPairVec &pairs) const |
| Fill vector with all current tags. More... | |
| const NameTagPairVec & | getTags () const |
| Return a vector with all current tags. More... | |
| void | findInputTag (const std::string &name, std::string &tag) const |
| Find tag by its name - for input tags, return in the reference argument. More... | |
| std::string | findInputTag (const std::string &name) const |
| Find tag by its name - for input tags, return by value. More... | |
| void | getInputTags (NameTagPairVec &pairs) const |
| Fill reference vector with all current input tags. More... | |
| const NameTagPairVec & | getInputTags () const |
| Return a vector with all current input tags. More... | |
| const std::string & | tagInfoTag () const |
| The tag of the TagInfo object. More... | |
| bool | operator< (const TagInfo &rhs) const |
| Less than comparision needed to create e.g. set<TagInfo> More... | |
Tag information set methods | |
| NameTagPairVec | m_tags |
| NameTagPairVec | m_inputTags |
| std::string | m_myTag |
| StatusCode | addTag (const NameTagPair &pair, bool override=false) |
| addTag for current tags - returns failure if tag name exists and override == false More... | |
| StatusCode | addInputTag (const NameTagPair &pair, bool override=false) |
| addInputTag for input tags - returns failure if tag name exists and override == false More... | |
| void | setTagInfoTag (const std::string &tag) |
| set the tag for the TagInfo object itself More... | |
| void | printTags (MsgStream &log) const |
| Printout method: More... | |
| std::string | str () const |
| String representation. More... | |
This class contains the list of currently valid tags for detector description - GeoModel and IOV/Conditions. Tags are given as name/value pairs.
The set of tags corresponding to the input event are also made available separately.
| typedef std::pair<std::string, std::string> TagInfo::NameTagPair |
| typedef std::vector<NameTagPair> TagInfo::NameTagPairVec |
| TagInfo::TagInfo | ( | ) |
Definition at line 87 of file TagInfo.cxx.
|
virtual |
Definition at line 89 of file TagInfo.cxx.
|
default |
| StatusCode TagInfo::addInputTag | ( | const NameTagPair & | pair, |
| bool | override = false |
||
| ) |
addInputTag for input tags - returns failure if tag name exists and override == false
Return success if tag name not found, or override is set
Definition at line 181 of file TagInfo.cxx.
| StatusCode TagInfo::addTag | ( | const NameTagPair & | pair, |
| bool | override = false |
||
| ) |
addTag for current tags - returns failure if tag name exists and override == false
Return success if tag name not found, or override is set
Definition at line 175 of file TagInfo.cxx.
| std::string TagInfo::findInputTag | ( | const std::string & | name | ) | const |
Find tag by its name - for input tags, return by value.
Definition at line 111 of file TagInfo.cxx.
| void TagInfo::findInputTag | ( | const std::string & | name, |
| std::string & | tag | ||
| ) | const |
Find tag by its name - for input tags, return in the reference argument.
Definition at line 106 of file TagInfo.cxx.
| std::string TagInfo::findTag | ( | const std::string & | name | ) | const |
Find tag by name, return by value.
Definition at line 100 of file TagInfo.cxx.
| void TagInfo::findTag | ( | const std::string & | name, |
| std::string & | tag | ||
| ) | const |
Find tag by its name - for current tags, returning in the reference argument.
Definition at line 95 of file TagInfo.cxx.
| const TagInfo::NameTagPairVec & TagInfo::getInputTags | ( | ) | const |
Return a vector with all current input tags.
Definition at line 132 of file TagInfo.cxx.
| void TagInfo::getInputTags | ( | NameTagPairVec & | pairs | ) | const |
Fill reference vector with all current input tags.
Definition at line 127 of file TagInfo.cxx.
| const TagInfo::NameTagPairVec & TagInfo::getTags | ( | ) | const |
Return a vector with all current tags.
Definition at line 122 of file TagInfo.cxx.
| void TagInfo::getTags | ( | NameTagPairVec & | pairs | ) | const |
Fill vector with all current tags.
Definition at line 117 of file TagInfo.cxx.
Less than comparision needed to create e.g. set<TagInfo>
Definition at line 141 of file TagInfo.cxx.
| void TagInfo::printTags | ( | MsgStream & | log | ) | const |
| void TagInfo::setTagInfoTag | ( | const std::string & | tag | ) |
set the tag for the TagInfo object itself
Definition at line 187 of file TagInfo.cxx.
| std::string TagInfo::str | ( | ) | const |
| const std::string & TagInfo::tagInfoTag | ( | ) | const |
The tag of the TagInfo object.
Definition at line 137 of file TagInfo.cxx.
|
private |
|
private |
1.8.18