42 #ifndef SET_OPTIONS_FROM_STREAM_NODE_H
43 #define SET_OPTIONS_FROM_STREAM_NODE_H
48 namespace OptionsFromStreamPack {
69 ,
int num_options,
const char* option_names[]
70 ,
bool exists_optional =
true );
98 #endif // SET_OPTIONS_FROM_STREAM_NODE_H
Extracts options from a text stream and then allows convenient access to them.
Map a string to an enumeration.
void set_options(const OptionsFromStream &options)
Overridden from SetOptionsFromStream and calls setOption(...).
Abstact interface for objects that have options to be set that are contained in an OptionsFromStreamO...
SetOptionsFromStreamNode(const std::string &options_group, int num_options, const char *option_names[], bool exists_optional=true)
Constructs with the name of the options group and the names of the options.
virtual void setOption(int option_num, const std::string &option_value)=0
To be overridden by the subclass to set an option given its integer position and the option value...
const OptionsFromStream::options_group_t options_group(OptionsFromStream::const_iterator &itr)
Node class for setting options from a stream.
const std::string & option_value(OptionsGroup::const_iterator &itr)