valueFactory.hpp
Go to the documentation of this file.
void registerValue(std::string, T)
registers an enumeration value
Definition: valueFactory.hpp:78
std::map< std::string, T > creators
Map holding the creators of class and their string codes.
Definition: valueFactory.hpp:28
ValueFactory(const ValueFactory &)
copy constructor
Definition: valueFactory.hpp:40
Definition: cadHoliday.cpp:3
ValueFactoryHelper(std::string, T value)
constructor
Definition: valueFactory.hpp:98
T getValue(std::string name)
returns enumeration value
Definition: valueFactory.hpp:62
static ValueFactory & instance()
returns reference to instance of singleton factory
Definition: valueFactory.hpp:52
ValueFactory & operator=(const ValueFactory &)
assignment constructor
Definition: valueFactory.hpp:46