ATLAS Offline Software
|
#include <LArG4Identifier.h>
Public Types | |
enum | max_value_type { max_value = SHRT_MAX } |
typedef short | element_type |
typedef std::vector< element_type > | element_vector |
typedef std::vector< element_type >::size_type | size_type |
Public Member Functions | |
LArG4Identifier () | |
LArG4Identifier (const LArG4Identifier &other) | |
LArG4Identifier (const LArG4Identifier &other, size_type start) | |
LArG4Identifier (const std::string &text) | |
virtual | ~LArG4Identifier () |
LArG4Identifier & | operator= (const LArG4Identifier &) |
void | add (element_type value) |
LArG4Identifier & | operator<< (element_type value) |
element_type & | operator[] (size_type index) |
void | set (const std::string &text) |
void | clear () |
element_type | operator[] (size_type index) const |
size_type | fields () const |
int | operator== (const LArG4Identifier &other) const |
int | operator!= (const LArG4Identifier &other) const |
int | operator< (const LArG4Identifier &other) const |
int | operator> (const LArG4Identifier &other) const |
int | prefix_less (const LArG4Identifier &other) const |
int | match (const LArG4Identifier &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 | |
void | show () const |
Private Attributes | |
element_vector | m_fields |
Definition at line 120 of file LArG4Identifier.h.
typedef short LArG4Identifier::element_type |
Definition at line 128 of file LArG4Identifier.h.
typedef std::vector<element_type> LArG4Identifier::element_vector |
Definition at line 129 of file LArG4Identifier.h.
typedef std::vector<element_type>::size_type LArG4Identifier::size_type |
Definition at line 130 of file LArG4Identifier.h.
Enumerator | |
---|---|
max_value |
Definition at line 132 of file LArG4Identifier.h.
LArG4Identifier::LArG4Identifier | ( | ) |
LArG4Identifier::LArG4Identifier | ( | const LArG4Identifier & | other | ) |
LArG4Identifier::LArG4Identifier | ( | const LArG4Identifier & | other, |
size_type | start | ||
) |
LArG4Identifier::LArG4Identifier | ( | const std::string & | text | ) |
|
inlinevirtual |
Definition at line 161 of file LArG4Identifier.h.
void LArG4Identifier::add | ( | element_type | value | ) |
void LArG4Identifier::clear | ( | ) |
size_type LArG4Identifier::fields | ( | ) | const |
int LArG4Identifier::match | ( | const LArG4Identifier & | other | ) | const |
Test if the shorter of two ids is identical to the equivalent sub-id extracted from the longer.
LArG4Identifier::operator std::string | ( | ) | const |
int LArG4Identifier::operator!= | ( | const LArG4Identifier & | other | ) | const |
int LArG4Identifier::operator< | ( | const LArG4Identifier & | other | ) | const |
LArG4Identifier& LArG4Identifier::operator<< | ( | element_type | value | ) |
LArG4Identifier& LArG4Identifier::operator= | ( | const LArG4Identifier & | ) |
int LArG4Identifier::operator== | ( | const LArG4Identifier & | other | ) | const |
int LArG4Identifier::operator> | ( | const LArG4Identifier & | other | ) | const |
element_type& LArG4Identifier::operator[] | ( | size_type | index | ) |
element_type LArG4Identifier::operator[] | ( | size_type | index | ) | const |
int LArG4Identifier::prefix_less | ( | const LArG4Identifier & | other | ) | const |
void LArG4Identifier::set | ( | const std::string & | text | ) |
void LArG4Identifier::show | ( | ) | const |
|
private |
Definition at line 233 of file LArG4Identifier.h.