CbmRoot
|
#include <CbmConfigBase.h>
Public Types | |
using | TagSet_t = std::set<std::string> |
Public Member Functions | |
virtual | ~CbmConfigBase ()=default |
Static Public Member Functions | |
static bool | Load (Obj_t &obj, const std::string &path) |
static bool | Load (Obj_t &obj, const pt::ptree &tree) |
static void | LoadFromFile (const std::string &path, pt::ptree &tree) |
static bool | Validate (const pt::ptree &tree) |
static void | ParseTree (const pt::ptree &pt, std::string key, TagSet_t &treeSet) |
static void | PrintAvailableTags () |
static ECbmModuleId | stringToECbmModuleId (std::string s) |
static std::string | GetStringValue (boost::optional< std::string > opt) |
static std::string | GetStringValue (pt::ptree tree, std::string key, std::string fallback) |
static std::string | ParseString (std::string s) |
static void | SetLogLevel (const pt::ptree &moduleTree) |
Definition at line 27 of file CbmConfigBase.h.
using CbmConfigBase< Config_t, Obj_t >::TagSet_t = std::set<std::string> |
Definition at line 30 of file CbmConfigBase.h.
|
virtualdefault |
|
inlinestatic |
Definition at line 139 of file CbmConfigBase.h.
References CbmConfigBase< Config_t, Obj_t >::ParseString().
|
inlinestatic |
Definition at line 141 of file CbmConfigBase.h.
References CbmConfigBase< Config_t, Obj_t >::ParseString().
|
inlinestatic |
Definition at line 42 of file CbmConfigBase.h.
References CbmConfigBase< Config_t, Obj_t >::SetLogLevel(), and CbmConfigBase< Config_t, Obj_t >::Validate().
|
inlinestatic |
Definition at line 34 of file CbmConfigBase.h.
References CbmConfigBase< Config_t, Obj_t >::Load(), and CbmConfigBase< Config_t, Obj_t >::LoadFromFile().
Referenced by CbmConfigBase< Config_t, Obj_t >::Load().
|
inlinestatic |
Definition at line 55 of file CbmConfigBase.h.
Referenced by CbmConfigBase< Config_t, Obj_t >::Load().
|
inlinestatic |
Definition at line 146 of file CbmConfigBase.h.
Referenced by CbmConfigBase< Config_t, Obj_t >::GetStringValue(), and CbmConfigBase< Config_t, Obj_t >::GetStringValue().
|
inlinestatic |
Definition at line 84 of file CbmConfigBase.h.
References CbmConfigBase< Config_t, Obj_t >::ParseTree().
Referenced by CbmConfigBase< Config_t, Obj_t >::ParseTree(), and CbmConfigBase< Config_t, Obj_t >::Validate().
|
inlinestatic |
Definition at line 109 of file CbmConfigBase.h.
Referenced by CbmConfigBase< Config_t, Obj_t >::Validate().
|
inlinestatic |
Definition at line 161 of file CbmConfigBase.h.
Referenced by CbmConfigBase< Config_t, Obj_t >::Load().
|
inlinestatic |
|
inlinestatic |
Definition at line 63 of file CbmConfigBase.h.
References CbmConfigBase< Config_t, Obj_t >::ParseTree(), and CbmConfigBase< Config_t, Obj_t >::PrintAvailableTags().
Referenced by CbmConfigBase< Config_t, Obj_t >::Load().