The Gaudi Framework
v30r3 (a5ef0a68)
|
#include <src/JobOptionsSvc/Units.h>
Public Types | |
typedef std::map< std::string, std::pair< double, Position > > | Container |
typedef Container::mapped_type | ValueWithPosition |
Public Member Functions | |
bool | Add (std::string name, double value) |
bool | Add (std::string name, double value, const Position &pos) |
bool | Find (const std::string &name, ValueWithPosition &result) const |
bool | Find (const std::string &name, double &result) const |
std::string | ToString () const |
Private Attributes | |
Container | units_ |
typedef std::map<std::string, std::pair<double, Position> > Gaudi::Parsers::Units::Container |
typedef Container::mapped_type Gaudi::Parsers::Units::ValueWithPosition |
bool Gaudi::Parsers::Units::Add | ( | std::string | name, |
double | value | ||
) |
bool Gaudi::Parsers::Units::Add | ( | std::string | name, |
double | value, | ||
const Position & | pos | ||
) |
bool Gaudi::Parsers::Units::Find | ( | const std::string & | name, |
ValueWithPosition & | result | ||
) | const |
bool Gaudi::Parsers::Units::Find | ( | const std::string & | name, |
double & | result | ||
) | const |
Definition at line 15 of file Units.cpp.
std::string Gaudi::Parsers::Units::ToString | ( | ) | const |