#include <Value.hh>
Factory that generates Value
Definition at line 197 of file Value.hh.
◆ Exception
◆ ValueFactory()
Diades::Sdmdl::ValueFactory::ValueFactory |
( |
| ) |
|
|
inline |
◆ ~ValueFactory()
Diades::Sdmdl::ValueFactory::~ValueFactory |
( |
| ) |
|
|
inline |
◆ clear()
void Diades::Sdmdl::ValueFactory::clear |
( |
| ) |
|
◆ getValue()
const Value& Diades::Sdmdl::ValueFactory::getValue |
( |
const std::string & |
label | ) |
const |
- Parameters
-
label | the label of the Value to look for |
- Returns
- the value with the given label if it exists, the null value otherwise
◆ newValue()
const Value& Diades::Sdmdl::ValueFactory::newValue |
( |
const std::string & |
label | ) |
|
- Parameters
-
label | the label of the Value to create |
- Returns
- the value with the given label (don't create doublons)
◆ nullValue()
const Value& Diades::Sdmdl::ValueFactory::nullValue |
( |
| ) |
const |
|
inline |
◆ operator==()
bool Diades::Sdmdl::ValueFactory::operator== |
( |
const ValueFactory & |
factory | ) |
const |
|
inline |
◆ reset()
void Diades::Sdmdl::ValueFactory::reset |
( |
| ) |
|
◆ typeName()
static std::string Diades::Sdmdl::ValueFactory::typeName |
( |
| ) |
|
|
inlinestatic |
◆ _dictionary
std::unordered_map<std::string,Value::Pointer> Diades::Sdmdl::ValueFactory::_dictionary |
|
private |
_dictionary
the diactionary of the created Value objects
Definition at line 209 of file Value.hh.
◆ _nullValue
_nullValue
the null Value of this factory
Definition at line 216 of file Value.hh.
The documentation for this class was generated from the following file:
- /home/yannick/laas/redmine/tools/diades/include/diades/sdmdl/Value.hh