|
BOSS 8.0.0
BESIII Offline Software System
|
#include <Identifier.h>
Public Types | |
| typedef Identifier | id_type |
| typedef unsigned int | value_type |
| typedef unsigned int | size_type |
| typedef Identifier | id_type |
| typedef unsigned int | value_type |
| typedef unsigned int | size_type |
| typedef Identifier | id_type |
| typedef unsigned int | value_type |
| typedef unsigned int | size_type |
Public Member Functions | |
| Identifier () | |
| Default constructor. | |
| Identifier (value_type value) | |
| Constructor from value_type. | |
| Identifier (const Identifier &other) | |
| Copy constructor. | |
| Identifier & | operator= (value_type value) |
| Assignment operator. | |
| Identifier & | operator|= (value_type value) |
| Bitwise operations. | |
| Identifier & | operator&= (value_type value) |
| void | set (const std::string &id) |
| build from a string form - hexadecimal | |
| void | clear () |
| Reset to invalid state. | |
| operator value_type (void) const | |
| value_type | get_value () const |
| bool | operator== (const Identifier &other) const |
| bool | operator!= (const Identifier &other) const |
| bool | operator< (const Identifier &other) const |
| bool | operator> (const Identifier &other) const |
| bool | is_valid () const |
| Check if id is in a valid state. | |
| std::string | getString () const |
| Provide a string form of the identifier - hexadecimal. | |
| void | show () const |
| Print out in hex form. | |
| Identifier () | |
| Default constructor. | |
| Identifier (value_type value) | |
| Constructor from value_type. | |
| Identifier (const Identifier &other) | |
| Copy constructor. | |
| Identifier & | operator= (value_type value) |
| Assignment operator. | |
| Identifier & | operator|= (value_type value) |
| Bitwise operations. | |
| Identifier & | operator&= (value_type value) |
| void | set (const std::string &id) |
| build from a string form - hexadecimal | |
| void | clear () |
| Reset to invalid state. | |
| operator value_type (void) const | |
| value_type | get_value () const |
| bool | operator== (const Identifier &other) const |
| bool | operator!= (const Identifier &other) const |
| bool | operator< (const Identifier &other) const |
| bool | operator> (const Identifier &other) const |
| bool | is_valid () const |
| Check if id is in a valid state. | |
| std::string | getString () const |
| Provide a string form of the identifier - hexadecimal. | |
| void | show () const |
| Print out in hex form. | |
| Identifier () | |
| Default constructor. | |
| Identifier (value_type value) | |
| Constructor from value_type. | |
| Identifier (const Identifier &other) | |
| Copy constructor. | |
| Identifier & | operator= (value_type value) |
| Assignment operator. | |
| Identifier & | operator|= (value_type value) |
| Bitwise operations. | |
| Identifier & | operator&= (value_type value) |
| void | set (const std::string &id) |
| build from a string form - hexadecimal | |
| void | clear () |
| Reset to invalid state. | |
| operator value_type (void) const | |
| value_type | get_value () const |
| bool | operator== (const Identifier &other) const |
| bool | operator!= (const Identifier &other) const |
| bool | operator< (const Identifier &other) const |
| bool | operator> (const Identifier &other) const |
| bool | is_valid () const |
| Check if id is in a valid state. | |
| std::string | getString () const |
| Provide a string form of the identifier - hexadecimal. | |
| void | show () const |
| Print out in hex form. | |
Identifier is a simple type-safe 32 bit unsigned integer. An Identifier relies on other classes to encode and decode its information.
The default constructor created an Identifier an invalid state which can be check with the "is_valid" method to allow some error checking.
Definition at line 20 of file DetectorDescription/Identifier/include/Identifier/Identifier.h.
| typedef Identifier Identifier::id_type |
Definition at line 25 of file DetectorDescription/Identifier/include/Identifier/Identifier.h.
| typedef Identifier Identifier::id_type |
Definition at line 25 of file InstallArea/x86_64-el9-gcc13-dbg/include/Identifier/Identifier.h.
| typedef Identifier Identifier::id_type |
Definition at line 25 of file InstallArea/x86_64-el9-gcc13-opt/include/Identifier/Identifier.h.
| typedef unsigned int Identifier::size_type |
Definition at line 27 of file DetectorDescription/Identifier/include/Identifier/Identifier.h.
| typedef unsigned int Identifier::size_type |
Definition at line 27 of file InstallArea/x86_64-el9-gcc13-dbg/include/Identifier/Identifier.h.
| typedef unsigned int Identifier::size_type |
Definition at line 27 of file InstallArea/x86_64-el9-gcc13-opt/include/Identifier/Identifier.h.
| typedef unsigned int Identifier::value_type |
Definition at line 26 of file DetectorDescription/Identifier/include/Identifier/Identifier.h.
| typedef unsigned int Identifier::value_type |
Definition at line 26 of file InstallArea/x86_64-el9-gcc13-dbg/include/Identifier/Identifier.h.
| typedef unsigned int Identifier::value_type |
Definition at line 26 of file InstallArea/x86_64-el9-gcc13-opt/include/Identifier/Identifier.h.
|
inline |
Default constructor.
Definition at line 105 of file DetectorDescription/Identifier/include/Identifier/Identifier.h.
Referenced by Identifier(), operator!=(), operator&=(), operator<(), operator=(), operator==(), operator>(), operator|=(), and show().
|
inlineexplicit |
Constructor from value_type.
Definition at line 111 of file DetectorDescription/Identifier/include/Identifier/Identifier.h.
|
inline |
Copy constructor.
Definition at line 108 of file DetectorDescription/Identifier/include/Identifier/Identifier.h.
|
explicit |
Constructor from value_type.
| Identifier::Identifier | ( | const Identifier & | other | ) |
Copy constructor.
|
explicit |
Constructor from value_type.
| Identifier::Identifier | ( | const Identifier & | other | ) |
Copy constructor.
|
inline |
Reset to invalid state.
Definition at line 131 of file DetectorDescription/Identifier/include/Identifier/Identifier.h.
Referenced by MdcDedxRecon::execute(), and TrkReco::execute().
| void Identifier::clear | ( | ) |
Reset to invalid state.
| void Identifier::clear | ( | ) |
Reset to invalid state.
|
inline |
Definition at line 136 of file DetectorDescription/Identifier/include/Identifier/Identifier.h.
Referenced by Identifier(), MdcTrack::storeTrack(), TofRawDataProvider::tofDataMapFull(), and TofRawDataProvider::tofDataMapOnlineMode().
| value_type Identifier::get_value | ( | ) | const |
| value_type Identifier::get_value | ( | ) | const |
| std::string Identifier::getString | ( | ) | const |
Provide a string form of the identifier - hexadecimal.
Definition at line 13 of file Identifier.cxx.
Referenced by operator<<().
| std::string Identifier::getString | ( | ) | const |
| std::string Identifier::getString | ( | ) | const |
|
inline |
Check if id is in a valid state.
Definition at line 159 of file DetectorDescription/Identifier/include/Identifier/Identifier.h.
Referenced by EmcRec::execute().
|
inline |
Get the value
Definition at line 134 of file DetectorDescription/Identifier/include/Identifier/Identifier.h.
| Identifier::operator value_type | ( | void | ) | const |
| Identifier::operator value_type | ( | void | ) | const |
|
inline |
Definition at line 145 of file DetectorDescription/Identifier/include/Identifier/Identifier.h.
| bool Identifier::operator!= | ( | const Identifier & | other | ) | const |
| bool Identifier::operator!= | ( | const Identifier & | other | ) | const |
|
inline |
Definition at line 126 of file DetectorDescription/Identifier/include/Identifier/Identifier.h.
| Identifier & Identifier::operator&= | ( | value_type | value | ) |
| Identifier & Identifier::operator&= | ( | value_type | value | ) |
|
inline |
Definition at line 150 of file DetectorDescription/Identifier/include/Identifier/Identifier.h.
| bool Identifier::operator< | ( | const Identifier & | other | ) | const |
| bool Identifier::operator< | ( | const Identifier & | other | ) | const |
|
inline |
Assignment operator.
Definition at line 116 of file DetectorDescription/Identifier/include/Identifier/Identifier.h.
| Identifier & Identifier::operator= | ( | value_type | value | ) |
| Identifier & Identifier::operator= | ( | value_type | value | ) |
|
inline |
Definition at line 140 of file DetectorDescription/Identifier/include/Identifier/Identifier.h.
| bool Identifier::operator== | ( | const Identifier & | other | ) | const |
| bool Identifier::operator== | ( | const Identifier & | other | ) | const |
|
inline |
Definition at line 155 of file DetectorDescription/Identifier/include/Identifier/Identifier.h.
| bool Identifier::operator> | ( | const Identifier & | other | ) | const |
| bool Identifier::operator> | ( | const Identifier & | other | ) | const |
|
inline |
Bitwise operations.
Definition at line 121 of file DetectorDescription/Identifier/include/Identifier/Identifier.h.
| Identifier & Identifier::operator|= | ( | value_type | value | ) |
Bitwise operations.
| Identifier & Identifier::operator|= | ( | value_type | value | ) |
Bitwise operations.
| void Identifier::set | ( | const std::string & | id | ) |
| void Identifier::set | ( | const std::string & | id | ) |
build from a string form - hexadecimal
| void Identifier::set | ( | const std::string & | id | ) |
build from a string form - hexadecimal
| void Identifier::show | ( | ) | const |
Print out in hex form.
Definition at line 25 of file Identifier.cxx.
| void Identifier::show | ( | ) | const |
Print out in hex form.
| void Identifier::show | ( | ) | const |
Print out in hex form.