rad  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Variables
config.hpp File Reference

Config class header file. More...

#include <yaml-cpp/yaml.h>
#include <string>

Go to the source code of this file.

Classes

class  hello::Config
 

Namespaces

 hello
 

Variables

const std::string hello::CONFIG_DEFAULT_PROCNAME = "hello"
 
const std::string hello::CONFIG_DEFAULT_FILENAME = ""
 no default value to force user to specify config filename since it overwrites the command line options. More...
 
const std::string hello::CONFIG_DEFAULT_SCXML_FILENAME = "hello/sm.xml"
 
const std::string hello::CONFIG_DEFAULT_LOG_LEVEL = "INFO"
 
const std::string hello::CONFIG_DEFAULT_LOG_PROPERTIES = "hello/log.properties"
 
const std::string hello::CONFIG_DEFAULT_DB_ENDPOINT = "127.0.0.1:6379"
 
const int hello::CONFIG_DEFAULT_DB_TIMEOUT = 2
 
const std::string hello::CONFIG_DEFAULT_REQ_ENDPOINT = "tcp://*:5577"
 
const std::string hello::CONFIG_DEFAULT_SUB_ENDPOINT = "tcp://127.0.0.1::5560"
 
const std::string hello::CONFIG_ENVVAR_DBHOST = "DB_HOST"
 

Detailed Description

Config class header file.

Author