Particle Identification and Tracking
|
A struct to store meta data information, (key,type,val) as strings to make passing this stuff around easy. More...
Public Member Functions | |
Md_element (std::string key_i, utilities::V_TYPE type_i, void *value_i) | |
Constructor from strings. More... | |
Md_element (const char *key_i, utilities::V_TYPE type_i, void *value_i) | |
Constructor from const char *. More... | |
Md_element (const Md_element &) | |
Copy constructor. More... | |
Md_element & | operator= (const Md_element &) |
Assignment operator. More... | |
Md_element () | |
Empty constructor. More... | |
~Md_element () | |
Destructor, if more supported dyp. More... | |
Public Attributes | |
std::string | key |
The meta data key. More... | |
utilities::V_TYPE | type |
The type of the meta data. More... | |
void * | value |
pointer to the value. More... | |
A struct to store meta data information, (key,type,val) as strings to make passing this stuff around easy.
|
inline |
Constructor from strings.
|
inline |
Constructor from const char *.
utilities::Md_store::Md_element::Md_element | ( | const Md_element & | ) |
Copy constructor.
utilities::Md_store::Md_element::Md_element | ( | ) |
Empty constructor.
Md_store::Md_element::~Md_element | ( | ) |
Destructor, if more supported dyp.
References type, utilities::V_BOOL, utilities::V_COMPLEX, utilities::V_ERROR, utilities::V_FLOAT, utilities::V_GUID, utilities::V_INT, utilities::V_STRING, utilities::V_TIME, utilities::V_UINT, and value.
Md_store::Md_element & Md_store::Md_element::operator= | ( | const Md_element & | other) |
Assignment operator.
References key, type, utilities::V_BOOL, utilities::V_COMPLEX, utilities::V_ERROR, utilities::V_FLOAT, utilities::V_GUID, utilities::V_INT, utilities::V_STRING, utilities::V_TIME, utilities::V_UINT, and value.
std::string utilities::Md_store::Md_element::key |
The meta data key.
Referenced by operator=().
utilities::V_TYPE utilities::Md_store::Md_element::type |
The type of the meta data.
Referenced by operator=(), and ~Md_element().
void* utilities::Md_store::Md_element::value |
pointer to the value.
The struct owns the pointer and will clean it up
Referenced by operator=(), and ~Md_element().