37 if (
option->name() == optionName)
41 throw std::runtime_error(
"Configurable::getOption() -> Error. No option with name '"
48 if (
option->name() == optionName)
52 throw std::runtime_error(
"Configurable::getOption() -> Error. No option with name '"
59 if (
option->name() == name)
Declares class OptionContainer.
void swap(OutputDataIterator< TValue, TContainer > &left, OutputDataIterator< TValue, TContainer > &right)
make Swappable
Stores a single option for minimization algorithm.
Stores multi option (int,double,string) in a container.
std::shared_ptr< MultiOption > option_t
OptionContainer & operator=(const OptionContainer &other)
option_t option(const std::string &optionName)
void swapContent(OptionContainer &other)
bool exists(const std::string &name)