|
rad 6.2.0
|
#include <config.hpp>
Public Member Functions | |
| Config () | |
| virtual | ~Config () |
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 initializes the common LSV application configuration parameters with some default values. It represents a specific application configuration that can be used to unit test the lsv::app library.
| rad::utest::Config::Config | ( | ) |
Constructor.
Initializes the common LSV application configuration parameters with the default values defined above.
|
virtual |
Destructor.
Reimplemented from rad::Config.