CGEM BOSS 6.6.5.f
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) |
virtual void | set (const std::string &id) |
build from a string form - hexadecimal | |
virtual void | clear () |
Reset to invalid state. | |
operator value_type (void) const | |
value_type | get_value () const |
virtual bool | operator== (const Identifier &other) const |
virtual bool | operator!= (const Identifier &other) const |
virtual bool | operator< (const Identifier &other) const |
virtual bool | operator> (const Identifier &other) const |
virtual bool | is_valid () const |
Check if id is in a valid state. | |
virtual std::string | getString () const |
Provide a string form of the identifier - hexadecimal. | |
virtual 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) |
virtual void | set (const std::string &id) |
build from a string form - hexadecimal | |
virtual void | clear () |
Reset to invalid state. | |
operator value_type (void) const | |
value_type | get_value () const |
virtual bool | operator== (const Identifier &other) const |
virtual bool | operator!= (const Identifier &other) const |
virtual bool | operator< (const Identifier &other) const |
virtual bool | operator> (const Identifier &other) const |
virtual bool | is_valid () const |
Check if id is in a valid state. | |
virtual std::string | getString () const |
Provide a string form of the identifier - hexadecimal. | |
virtual 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) |
virtual void | set (const std::string &id) |
build from a string form - hexadecimal | |
virtual void | clear () |
Reset to invalid state. | |
operator value_type (void) const | |
value_type | get_value () const |
virtual bool | operator== (const Identifier &other) const |
virtual bool | operator!= (const Identifier &other) const |
virtual bool | operator< (const Identifier &other) const |
virtual bool | operator> (const Identifier &other) const |
virtual bool | is_valid () const |
Check if id is in a valid state. | |
virtual std::string | getString () const |
Provide a string form of the identifier - hexadecimal. | |
virtual 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/bak_Identifier-01-02-14/Identifier/Identifier.h.
typedef Identifier Identifier::id_type |
Definition at line 26 of file DetectorDescription/Identifier/bak_Identifier-01-02-14/Identifier/Identifier.h.
typedef Identifier Identifier::id_type |
Definition at line 26 of file DetectorDescription/Identifier/Identifier-01-02-15/Identifier/Identifier.h.
typedef Identifier Identifier::id_type |
Definition at line 26 of file InstallArea/include/Identifier/Identifier/Identifier.h.
typedef unsigned int Identifier::size_type |
Definition at line 28 of file DetectorDescription/Identifier/bak_Identifier-01-02-14/Identifier/Identifier.h.
typedef unsigned int Identifier::size_type |
Definition at line 28 of file DetectorDescription/Identifier/Identifier-01-02-15/Identifier/Identifier.h.
typedef unsigned int Identifier::size_type |
Definition at line 28 of file InstallArea/include/Identifier/Identifier/Identifier.h.
typedef unsigned int Identifier::value_type |
Definition at line 27 of file DetectorDescription/Identifier/bak_Identifier-01-02-14/Identifier/Identifier.h.
typedef unsigned int Identifier::value_type |
Definition at line 27 of file DetectorDescription/Identifier/Identifier-01-02-15/Identifier/Identifier.h.
typedef unsigned int Identifier::value_type |
Definition at line 27 of file InstallArea/include/Identifier/Identifier/Identifier.h.
|
inline |
Default constructor.
Definition at line 110 of file DetectorDescription/Identifier/bak_Identifier-01-02-14/Identifier/Identifier.h.
|
inlineexplicit |
Constructor from value_type.
Definition at line 121 of file DetectorDescription/Identifier/bak_Identifier-01-02-14/Identifier/Identifier.h.
|
inline |
Copy constructor.
Definition at line 115 of file DetectorDescription/Identifier/bak_Identifier-01-02-14/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.
|
inlinevirtual |
Reset to invalid state.
Definition at line 152 of file DetectorDescription/Identifier/bak_Identifier-01-02-14/Identifier/Identifier.h.
Referenced by RecEmcCluster::Clear(), RecEmcShower::Clear(), RecEmcTofHit::Clear(), BhabhaPreSelect::execute(), DigammaPreSelect::execute(), EmcRecNeighbor::GetNeighbors(), EmcRecNeighbor::GetNextNeighbors(), RecEmcDigit::RecEmcDigit(), and RecEmcHit::RecEmcHit().
|
virtual |
Reset to invalid state.
|
virtual |
Reset to invalid state.
|
inline |
Definition at line 163 of file DetectorDescription/Identifier/bak_Identifier-01-02-14/Identifier/Identifier.h.
Referenced by BesRawDataWriter::SaveCgemDigits(), MdcTrack::storeTrack(), HoughFinder::storeTracks(), TofRawDataProvider::tofDataMapFull(), TofRawDataProvider::tofDataMapOnlineMode(), and CgemMdcFitAlg::updateTracks().
value_type Identifier::get_value | ( | ) | const |
value_type Identifier::get_value | ( | ) | const |
|
virtual |
Provide a string form of the identifier - hexadecimal.
Definition at line 17 of file bak_Identifier-01-02-14/src/Identifier.cxx.
Referenced by operator<<().
|
virtual |
|
virtual |
|
inlinevirtual |
Check if id is in a valid state.
Definition at line 198 of file DetectorDescription/Identifier/bak_Identifier-01-02-14/Identifier/Identifier.h.
Referenced by EmcRec::execute().
|
virtual |
|
virtual |
|
inline |
Get the value
Definition at line 158 of file DetectorDescription/Identifier/bak_Identifier-01-02-14/Identifier/Identifier.h.
Identifier::operator value_type | ( | void | ) | const |
Identifier::operator value_type | ( | void | ) | const |
|
inlinevirtual |
Definition at line 178 of file DetectorDescription/Identifier/bak_Identifier-01-02-14/Identifier/Identifier.h.
|
virtual |
|
virtual |
|
inline |
Definition at line 145 of file DetectorDescription/Identifier/bak_Identifier-01-02-14/Identifier/Identifier.h.
Identifier & Identifier::operator&= | ( | value_type | value | ) |
Identifier & Identifier::operator&= | ( | value_type | value | ) |
|
inlinevirtual |
Definition at line 184 of file DetectorDescription/Identifier/bak_Identifier-01-02-14/Identifier/Identifier.h.
|
virtual |
|
virtual |
|
inline |
Assignment operator.
Definition at line 131 of file DetectorDescription/Identifier/bak_Identifier-01-02-14/Identifier/Identifier.h.
Identifier & Identifier::operator= | ( | value_type | value | ) |
Identifier & Identifier::operator= | ( | value_type | value | ) |
|
inlinevirtual |
Definition at line 171 of file DetectorDescription/Identifier/bak_Identifier-01-02-14/Identifier/Identifier.h.
|
virtual |
|
virtual |
|
inlinevirtual |
Definition at line 192 of file DetectorDescription/Identifier/bak_Identifier-01-02-14/Identifier/Identifier.h.
|
virtual |
|
virtual |
|
inline |
Bitwise operations.
Definition at line 138 of file DetectorDescription/Identifier/bak_Identifier-01-02-14/Identifier/Identifier.h.
Identifier & Identifier::operator|= | ( | value_type | value | ) |
Bitwise operations.
Identifier & Identifier::operator|= | ( | value_type | value | ) |
Bitwise operations.
|
virtual |
build from a string form - hexadecimal
Definition at line 10 of file bak_Identifier-01-02-14/src/Identifier.cxx.
|
virtual |
build from a string form - hexadecimal
|
virtual |
build from a string form - hexadecimal
|
virtual |
Print out in hex form.
Definition at line 30 of file bak_Identifier-01-02-14/src/Identifier.cxx.
|
virtual |
Print out in hex form.
|
virtual |
Print out in hex form.