#include <configuration.h>
Public Member Functions | |
std::string | toString () |
bool | fromString (std::string &str) |
bool | addContext (const ConfigurationCtx &ctx) |
bool | delContext (ConfigurationCtx &ctx) |
ConfigurationCtx & | getCtx (std::string ctxname) |
ConfigurationCtx & | operator[] (std::string ctxname) |
Definition at line 69 of file configuration.h.
std::string n2nc::Configuration::toString | ( | ) |
To string.
bool n2nc::Configuration::fromString | ( | std::string & | str | ) |
Loads configuration from string
bool n2nc::Configuration::addContext | ( | const ConfigurationCtx & | ctx | ) |
bool n2nc::Configuration::delContext | ( | ConfigurationCtx & | ctx | ) |
Deletes a Context
ConfigurationCtx& n2nc::Configuration::getCtx | ( | std::string | ctxname | ) |
ConfigurationCtx & n2nc::Configuration::operator[] | ( | std::string | ctxname | ) |