#include <Units.h>
|
| bool | Add (const std::string &name, double value) |
| |
| bool | Add (const 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 |
| |
Definition at line 18 of file Units.h.
| 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 |
( |
const std::string & |
name, |
|
|
double |
value |
|
) |
| |
Definition at line 9 of file Units.cpp.
{
return Add(name, value, Position());
}
| bool Gaudi::Parsers::Units::Add |
( |
const std::string & |
name, |
|
|
double |
value, |
|
|
const Position & |
pos |
|
) |
| |
Definition at line 13 of file Units.cpp.
{
std::pair<Container::iterator,bool> result =
);
return result.second;
}
| bool Gaudi::Parsers::Units::Find |
( |
const std::string & |
name, |
|
|
ValueWithPosition & |
result |
|
) |
| const |
Definition at line 32 of file Units.cpp.
{
Container::const_iterator it =
units_.find(name);
result = it->second;
return true;
}
return false;
}
| bool Gaudi::Parsers::Units::Find |
( |
const std::string & |
name, |
|
|
double & |
result |
|
) |
| const |
Definition at line 22 of file Units.cpp.
{
result = r.first;
return true;
}
return false;
}
| std::string Gaudi::Parsers::Units::ToString |
( |
| ) |
const |
The documentation for this class was generated from the following files:
- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r2/GaudiCoreSvc/src/JobOptionsSvc/Units.h
- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r2/GaudiCoreSvc/src/JobOptionsSvc/Units.cpp