![]() |
ATLAS Offline Software
|
#include <ExpandedIdentifier.h>
Public Types | |
| using | id_type = ExpandedIdentifier |
| using | element_type = int |
| using | element_vector = boost::container::small_vector< element_type, 12 > |
| using | size_type = boost::container::small_vector< element_type, 12 >::size_type |
Public Member Functions | |
| ExpandedIdentifier ()=default | |
| ExpandedIdentifier (const ExpandedIdentifier &other, size_type start) | |
| Constructor from a subset of another ExpandedIdentifier. More... | |
| ExpandedIdentifier (const std::string &text) | |
| Constructor from a textual description. More... | |
| void | add (element_type value) |
| Append a value into a new field. More... | |
| ExpandedIdentifier & | operator<< (element_type value) |
| element_type & | operator[] (size_type index) |
| void | set (const std::string &text) |
| build from a textual description More... | |
| void | clear () |
| Erase all fields. More... | |
| element_type | operator[] (size_type index) const |
| Get the value stored into the specified field. More... | |
| size_type | fields () const |
| auto | operator (const ExpandedIdentifier &other) const |
| Comparison operators. More... | |
| bool | operator== (const ExpandedIdentifier &other) const |
| bool | match (const ExpandedIdentifier &other) const |
| Test if the shorter of two ids is identical to the equivalent sub-id extracted from the longer. More... | |
| operator std::string () const | |
| String representation of the identifier using the input format. More... | |
| bool | isValid () const |
| Returns whether the expanded Identifier contains any information. More... | |
| void | show () const |
| Send to std::cout. More... | |
Static Public Attributes | |
| static constexpr element_type | max_value = 0x3FFFFFFF |
Private Attributes | |
| element_vector | m_fields |
Definition at line 102 of file DetectorDescription/Identifier/Identifier/ExpandedIdentifier.h.
| using ExpandedIdentifier::element_type = int |
Definition at line 106 of file DetectorDescription/Identifier/Identifier/ExpandedIdentifier.h.
| using ExpandedIdentifier::element_vector = boost::container::small_vector<element_type,12> |
Definition at line 107 of file DetectorDescription/Identifier/Identifier/ExpandedIdentifier.h.
Definition at line 105 of file DetectorDescription/Identifier/Identifier/ExpandedIdentifier.h.
| using ExpandedIdentifier::size_type = boost::container::small_vector<element_type,12>::size_type |
Definition at line 112 of file DetectorDescription/Identifier/Identifier/ExpandedIdentifier.h.
|
default |
| ExpandedIdentifier::ExpandedIdentifier | ( | const ExpandedIdentifier & | other, |
| size_type | start | ||
| ) |
Constructor from a subset of another ExpandedIdentifier.
| ExpandedIdentifier::ExpandedIdentifier | ( | const std::string & | text | ) |
Constructor from a textual description.
Definition at line 26 of file DetectorDescription/Identifier/src/ExpandedIdentifier.cxx.
| void ExpandedIdentifier::add | ( | element_type | value | ) |
Append a value into a new field.
| void ExpandedIdentifier::clear | ( | ) |
Erase all fields.
| size_type ExpandedIdentifier::fields | ( | ) | const |
| bool ExpandedIdentifier::isValid | ( | ) | const |
Returns whether the expanded Identifier contains any information.
| bool ExpandedIdentifier::match | ( | const ExpandedIdentifier & | other | ) | const |
Test if the shorter of two ids is identical to the equivalent sub-id extracted from the longer.
| auto ExpandedIdentifier::operator | ( | const ExpandedIdentifier & | other | ) | const |
Comparison operators.
| ExpandedIdentifier::operator std::string | ( | ) | const |
String representation of the identifier using the input format.
Definition at line 55 of file DetectorDescription/Identifier/src/ExpandedIdentifier.cxx.
| bool ExpandedIdentifier::operator== | ( | const ExpandedIdentifier & | other | ) | const |
| element_type& ExpandedIdentifier::operator[] | ( | size_type | index | ) |
| element_type ExpandedIdentifier::operator[] | ( | size_type | index | ) | const |
Get the value stored into the specified field.
| void ExpandedIdentifier::set | ( | const std::string & | text | ) |
build from a textual description
Definition at line 32 of file DetectorDescription/Identifier/src/ExpandedIdentifier.cxx.
| void ExpandedIdentifier::show | ( | ) | const |
Send to std::cout.
Definition at line 60 of file DetectorDescription/Identifier/src/ExpandedIdentifier.cxx.
|
private |
Definition at line 163 of file DetectorDescription/Identifier/Identifier/ExpandedIdentifier.h.
|
staticconstexpr |
Definition at line 115 of file DetectorDescription/Identifier/Identifier/ExpandedIdentifier.h.
1.8.18