#include <configuration.h>
Public Member Functions | |
ConfigurationOpt (std::string first, std::string second) | |
ConfigurationOpt (const ConfigurationOpt &opt) | |
std::string | toString () |
std::string | value () |
void | setValue (std::string value) |
void | operator= (std::string value) |
Definition at line 12 of file configuration.h.
n2nc::ConfigurationOpt::ConfigurationOpt | ( | std::string | first, | |
std::string | second | |||
) |
first | The option name. | |
second | The option value. |
Definition at line 7 of file configuration.cpp.
n2nc::ConfigurationOpt::ConfigurationOpt | ( | const ConfigurationOpt & | opt | ) |
void n2nc::ConfigurationOpt::setValue | ( | std::string | value | ) |
sets the associated value for this Config
Definition at line 17 of file configuration.cpp.
void n2nc::ConfigurationOpt::operator= | ( | std::string | value | ) |
sets the associated value for this Config. eg: ConfigurationOpt opt("key","value"); opt = "newvalue" ;