|
rad 6.2.0
|
#include <config.hpp>
Public Member Functions | |
| Config () | |
| virtual | ~Config () |
| Config (const Config &)=delete | |
| Config & | operator= (const Config &)=delete |
| Disable copy constructor. | |
Public Member Functions inherited from rad::Config | |
| Config (const std::string &name=LOGGER_NAME, const std::string &log_level="ERROR") | |
| Config (const Config &cfg) | |
| Config & | operator= (const Config &cfg) |
| const elt::configng::CiiConfigDocument & | GetConfigDoc () const |
| bpo::options_description & | GetOptionsDesc () |
| bpo::variables_map & | GetOptionsMap () |
| const std::string & | GetOldbPrefixAppenderKey () |
| void | SetOldbPrefixAppenderKey (const std::string &key) |
| std::string | BuildOldbPrefix () |
| virtual bool | ParseOptions (int argc, char *argv[]) |
| virtual void | LoadConfig (const std::string &filename="") |
| virtual void | ConfigureLogging (const std::string &filename="") |
| virtual void | ApplyCmdLineOptions () |
| void | CheckConfig () const |
| virtual void | ValidateConfig (const std::vector< std::string > &keys, const Config &cfg) const |
| void | MergeConfig (const elt::configng::CiiConfigDocument &cfg_doc) |
| void | CreateDefaultConfig (const std::string &default_cfg) |
| template<typename T > | |
| void | AddParam (const std::string &key, const T &value) |
| bool | HasParam (const std::string &key) const |
| template<typename T > | |
| T | GetParam (const std::string &key) const |
| template<typename T > | |
| void | SetParam (const std::string &key, const T &value) |
| const std::string | GetConfigAsString () const |
| std::vector< std::string > | SetConfigAsString (const std::string &config) |
| std::string | PrintNode (const elt::configng::CiiConfigInstanceNode &node, const std::string &indentation) const |
| std::string | Print (const elt::configng::CiiConfigInstanceNamespace &instances) const |
| std::string | Print () const |
This class provide access to the command line options and the configuration parameters stored in the configuration file.
| exciiserver::Config::Config | ( | ) |
Default constructor.
Initialize application configuration attributes by
|
virtual |
Default destructor.
Reimplemented from rad::Config.
|
delete |