The Gaudi Framework
master (37c0b60a)
|
#include </builds/gaudi/Gaudi/GaudiCoreSvc/src/JobOptionsSvc/Units.h>
Public Types | |
typedef std::map< std::string, std::pair< double, Position >, std::less<> > | 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 (std::string_view name, ValueWithPosition &result) const |
bool | Find (std::string_view name, double &result) const |
Private Attributes | |
Container | units_ |
typedef std::map<std::string, std::pair<double, Position>, std::less<> > 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 | ( | std::string_view | name, |
double & | result | ||
) | const |
bool Gaudi::Parsers::Units::Find | ( | std::string_view | name, |
ValueWithPosition & | result | ||
) | const |