ATLAS Offline Software
Loading...
Searching...
No Matches
Value Class Reference

tag-value pair class. More...

#include <Value.h>

Collaboration diagram for Value:

Public Member Functions

 Value ()
 Value (char *s, const std::vector< std::string > &v)
 Value (char *s, const std::string &v)
 Value (const std::string &s, const std::vector< std::string > &v)
 Value (const std::string &s, const std::string &v)
const std::string & Tag () const
const std::vector< std::string > & Val () const

Private Attributes

std::string m_Tag
std::vector< std::string > m_Val

Detailed Description

tag-value pair class.

contains a string tag and a "value", which can be a single value, or a vector

Definition at line 39 of file Value.h.

Constructor & Destructor Documentation

◆ Value() [1/5]

Value::Value ( )
inline

Definition at line 43 of file Value.h.

43: m_Tag(""), m_Val(0) { }
std::string m_Tag
Definition Value.h:54
std::vector< std::string > m_Val
Definition Value.h:55

◆ Value() [2/5]

Value::Value ( char * s,
const std::vector< std::string > & v )
inline

Definition at line 44 of file Value.h.

44: m_Tag(s), m_Val(v) { }

◆ Value() [3/5]

Value::Value ( char * s,
const std::string & v )
inline

Definition at line 45 of file Value.h.

45: m_Tag(s), m_Val(0) { m_Val.push_back(v); }

◆ Value() [4/5]

Value::Value ( const std::string & s,
const std::vector< std::string > & v )
inline

Definition at line 46 of file Value.h.

46: m_Tag(s), m_Val(v) { }

◆ Value() [5/5]

Value::Value ( const std::string & s,
const std::string & v )
inline

Definition at line 47 of file Value.h.

47: m_Tag(s), m_Val(0) { m_Val.push_back(v); }

Member Function Documentation

◆ Tag()

const std::string & Value::Tag ( ) const
inline

Definition at line 49 of file Value.h.

49{ return m_Tag; }

◆ Val()

const std::vector< std::string > & Value::Val ( ) const
inline

Definition at line 50 of file Value.h.

50{ return m_Val; }

Member Data Documentation

◆ m_Tag

std::string Value::m_Tag
private

Definition at line 54 of file Value.h.

◆ m_Val

std::vector<std::string> Value::m_Val
private

Definition at line 55 of file Value.h.


The documentation for this class was generated from the following file: