Particle Identification and Tracking
Public Member Functions | Public Attributes | List of all members
utilities::Md_store::Md_element Struct Reference

A struct to store meta data information, (key,type,val) as strings to make passing this stuff around easy. More...

+ Collaboration diagram for utilities::Md_store::Md_element:

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_elementoperator= (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...
 

Detailed Description

A struct to store meta data information, (key,type,val) as strings to make passing this stuff around easy.

Constructor & Destructor Documentation

utilities::Md_store::Md_element::Md_element ( std::string  key_i,
utilities::V_TYPE  type_i,
void *  value_i 
)
inline

Constructor from strings.

utilities::Md_store::Md_element::Md_element ( const char *  key_i,
utilities::V_TYPE  type_i,
void *  value_i 
)
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 ( )

Member Function Documentation

Md_store::Md_element & Md_store::Md_element::operator= ( const Md_element other)

Member Data Documentation

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().


The documentation for this struct was generated from the following files: