11 #include "io/ConfigParser.hpp" 12 #include "io/Configuration.hpp" 42 Arguments(std::istream &configStream,
bool allowUnrecognizedArguments);
53 Configuration::ConfigurationType
getType(std::string
const &name)
const {
54 return mCurrentConfig.
getType(name);
63 return mCurrentConfig.getBooleanArgument(name);
72 return mCurrentConfig.getIntegerArgument(name);
81 return mCurrentConfig.getUnsignedIntArgument(name);
90 return mCurrentConfig.getStringArgument(name);
99 return mCurrentConfig.getIntOptionalArgument(name);
108 return mCurrentConfig.setBooleanArgument(name, value);
117 return mCurrentConfig.setIntegerArgument(name, value);
126 return mCurrentConfig.setUnsignedIntArgument(name, value);
135 return mCurrentConfig.setStringArgument(name, value);
144 return mCurrentConfig.setIntOptionalArgument(name, value);
157 void resetState(std::istream &configStream,
bool allowUnrecognizedArguments);
186 int initialize(std::istream &configStream,
bool allowUnrecognizedArguments);
bool setBooleanArgument(std::string const &name, bool const &value)
bool setStringArgument(std::string const &name, std::string const &value)
Configuration::ConfigurationType getType(std::string const &name) const
std::string const & getStringArgument(std::string const &name) const
bool setUnsignedIntArgument(std::string const &name, unsigned int const &value)
bool const & getBooleanArgument(std::string const &name) const
Configuration::IntOptional const & getIntOptionalArgument(std::string const &name) const
bool setIntOptionalArgument(std::string const &name, Configuration::IntOptional const &value)
unsigned int const & getUnsignedIntArgument(std::string const &name) const
bool setIntegerArgument(std::string const &name, int const &value)
ConfigurationType getType(std::string const &name) const
int const & getIntegerArgument(std::string const &name) const
int initialize(std::istream &configStream, bool allowUnrecognizedArguments)