![]() |
The Gaudi Framework
v27r0
|
ID class for Histogram and Ntuples. More...
#include <GaudiAlg/GaudiHistoID.h>

Public Types | |
| typedef int | NumericID |
| type for internal numeric ID More... | |
| typedef std::string | LiteralID |
| type for internal literal ID More... | |
| typedef int | NumericID |
| type for internal numeric ID More... | |
| typedef std::string | LiteralID |
| type for internal literal ID More... | |
Public Member Functions | |
| ID (const NumericID id=-1) | |
| Implicit constructor from a numeric ID. More... | |
| ID (const LiteralID &id) | |
| Implicit constructor from a literal ID. More... | |
| ID (const char *id) | |
| Implicit constructor from a literal ID. More... | |
| ~ID ()=default | |
| Destructor. More... | |
| bool | numeric () const |
| Is this ID numeric. More... | |
| bool | literal () const |
| Is this ID numeric. More... | |
| bool | undefined () const |
| Is this ID undefined. More... | |
| const LiteralID & | literalID () const |
| Returns the ID as a LiteralID. More... | |
| NumericID | numericID () const |
| Returns the numerical ID. More... | |
| GAUDI_API LiteralID | idAsString () const |
| Return ID as string, for both numeric and literal IDs. More... | |
| operator std::string () const | |
| cast operator to std::string More... | |
| bool | operator== (const ID &id) const |
| Implement the operator == Implementation depends on type of ID. More... | |
| bool | operator!= (const ID &id) const |
| Implement the != operator, using the == operator. More... | |
| bool | operator< (const ID &id) const |
| Implement the operator < Implementation depends on type of ID. More... | |
| GAUDI_API std::ostream & | fillStream (std::ostream &s) const |
| bool | operator! () const |
| good ID? More... | |
| size_t | hash () const |
| return hash value (for python) More... | |
| size_t | __hash__ () const |
| return hash value (for python) More... | |
| ID (const NumericID id=-1) | |
| Implicit constructor from a numeric ID. More... | |
| ID (const LiteralID &id) | |
| Implicit constructor from a literal ID. More... | |
| ID (const char *id) | |
| Implicit constructor from a literal ID. More... | |
| ~ID ()=default | |
| Destructor. More... | |
| bool | numeric () const |
| Is this ID numeric. More... | |
| bool | literal () const |
| Is this ID numeric. More... | |
| bool | undefined () const |
| Is this ID undefined. More... | |
| const LiteralID & | literalID () const |
| Returns the ID as a LiteralID. More... | |
| NumericID | numericID () const |
| Returns the numerical ID. More... | |
| GAUDI_API LiteralID | idAsString () const |
| Return ID as string, for both numeric and literal IDs. More... | |
| operator std::string () const | |
| cast operator to std::string More... | |
| bool | operator== (const ID &id) const |
| Implement the operator == Implementation depends on type of ID. More... | |
| bool | operator!= (const ID &id) const |
| Implement the != operator, using the == operator. More... | |
| bool | operator< (const ID &id) const |
| Implement the operator < Implementation depends on type of ID. More... | |
| GAUDI_API std::ostream & | fillStream (std::ostream &s) const |
| bool | operator! () const |
| good ID? More... | |
| size_t | hash () const |
| return hash value (for python) More... | |
| size_t | __hash__ () const |
| return hash value (for python) More... | |
Private Attributes | |
| NumericID | m_nID |
| Internal numeric ID. More... | |
| LiteralID | m_aID |
| Internal alpha-numeric ID. More... | |
| size_t | m_hash |
| the hash value of ID More... | |
ID class for Histogram and Ntuples.
Internally handles both numeric and string like IDs
Definition at line 44 of file GaudiHistoID.h.
| typedef std::string GaudiAlg::ID::LiteralID |
type for internal literal ID
Definition at line 51 of file GaudiHistoID.h.
| typedef std::string GaudiAlg::ID::LiteralID |
type for internal literal ID
Definition at line 51 of file GaudiHistoID.h.
| typedef int GaudiAlg::ID::NumericID |
type for internal numeric ID
Definition at line 49 of file GaudiHistoID.h.
| typedef int GaudiAlg::ID::NumericID |
type for internal numeric ID
Definition at line 49 of file GaudiHistoID.h.
| GaudiAlg::ID::ID | ( | const NumericID | id = -1 | ) |
Implicit constructor from a numeric ID.
Definition at line 26 of file GaudiHistoID.cpp.
| GaudiAlg::ID::ID | ( | const LiteralID & | id | ) |
Implicit constructor from a literal ID.
Definition at line 33 of file GaudiHistoID.cpp.
| GaudiAlg::ID::ID | ( | const char * | id | ) |
Implicit constructor from a literal ID.
Definition at line 41 of file GaudiHistoID.cpp.
|
default |
Destructor.
| GaudiAlg::ID::ID | ( | const char * | id | ) |
Implicit constructor from a literal ID.
|
default |
Destructor.
|
inline |
|
inline |
| GAUDI_API std::ostream& GaudiAlg::ID::fillStream | ( | std::ostream & | s | ) | const |
| std::ostream & GaudiAlg::ID::fillStream | ( | std::ostream & | s | ) | const |
Definition at line 56 of file GaudiHistoID.cpp.
|
inline |
|
inline |
| GaudiAlg::ID::LiteralID GaudiAlg::ID::idAsString | ( | ) | const |
Return ID as string, for both numeric and literal IDs.
Definition at line 47 of file GaudiHistoID.cpp.
Return ID as string, for both numeric and literal IDs.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
cast operator to std::string
Definition at line 76 of file GaudiHistoID.h.
|
inline |
cast operator to std::string
Definition at line 76 of file GaudiHistoID.h.
|
inline |
|
inline |
|
inline |
Implement the != operator, using the == operator.
Definition at line 90 of file GaudiHistoID.h.
|
inline |
Implement the != operator, using the == operator.
Definition at line 90 of file GaudiHistoID.h.
|
inline |
Implement the operator < Implementation depends on type of ID.
Definition at line 95 of file GaudiHistoID.h.
|
inline |
Implement the operator < Implementation depends on type of ID.
Definition at line 95 of file GaudiHistoID.h.
|
inline |
Implement the operator == Implementation depends on type of ID.
Definition at line 81 of file GaudiHistoID.h.
|
inline |
Implement the operator == Implementation depends on type of ID.
Definition at line 81 of file GaudiHistoID.h.
|
inline |
|
inline |
|
private |
Internal alpha-numeric ID.
Definition at line 124 of file GaudiHistoID.h.
|
private |
the hash value of ID
Definition at line 129 of file GaudiHistoID.h.
|
private |
Internal numeric ID.
Definition at line 122 of file GaudiHistoID.h.