![]() |
Project
|
#include <ConfigurableParamTest.h>
Inherits o2::conf::ConfigurableParamHelper< TestParam >.
Public Types | |
| enum | TestEnum : uint8_t { A , B , C } |
Public Types inherited from o2::conf::ConfigurableParam | |
| enum | EParamProvenance { kCODE , kCCDB , kRT } |
| enum class | EParamUpdateStatus { Changed , Unchanged , Failed } |
Public Member Functions | |
| O2ParamDef (TestParam, "TestParam") | |
Public Member Functions inherited from o2::conf::ConfigurableParamHelper< TestParam > | |
| std::string | getName () const final |
| EParamProvenance | getMemberProvenance (const std::string &key) const final |
| void | printKeyValues (bool showProv=true, bool useLogger=false, bool withPadding=true, bool showHash=true) const final |
| size_t | getHash () const final |
| void | output (std::ostream &out) const final |
| std::vector< ParamDataMember > * | getDataMembers () const |
| void | putKeyValues (boost::property_tree::ptree *tree) final |
| void | initFrom (TFile *file) final |
| void | syncCCDBandRegistry (void *externalobj) final |
| void | serializeTo (TFile *file) const final |
| ConfigurableParam () | |
Public Attributes | |
| int | iValue {42} |
| float | fValue {3.14} |
| double | dValue {3.14} |
| bool | bValue {true} |
| unsigned | uValue {1} |
| long | lValue {1} |
| unsigned long | ulValue {1} |
| long long | llValue {1} |
| unsigned long long | ullValue {1} |
| std::string | sValue = "default" |
| int | iValueProvenanceTest {0} |
| TestEnum | eValue = TestEnum::C |
| int | caValue [3] = {0, 1, 2} |
Additional Inherited Members | |
Static Public Member Functions inherited from o2::conf::ConfigurableParamHelper< TestParam > | |
| static const TestParam & | Instance () |
Static Public Member Functions inherited from o2::conf::ConfigurableParam | |
| static std::string | toString (EParamProvenance p) |
| static EParamProvenance | getProvenance (const std::string &key) |
| static void | printAllRegisteredParamNames () |
| static void | printAllKeyValuePairs (bool useLogger=false) |
| static const std::string & | getOutputDir () |
| static void | setOutputDir (const std::string &d) |
| static bool | configFileExists (std::string const &filepath) |
| static void | writeJSON (std::string const &filename, std::string const &keyOnly="") |
| static void | writeINI (std::string const &filename, std::string const &keyOnly="") |
| template<typename T > | |
| static T | getValueAs (std::string key) |
| template<typename T > | |
| static void | setValue (std::string const &mainkey, std::string const &subkey, T x) |
| static void | setProvenance (std::string const &mainkey, std::string const &subkey, EParamProvenance p) |
| static void | setValue (std::string const &key, std::string const &valuestring) |
| static void | setEnumValue (const std::string &, const std::string &) |
| static void | setArrayValue (const std::string &, const std::string &) |
| static void | setValues (std::vector< std::pair< std::string, std::string > > const &keyValues) |
| static void | initialize () |
| static void | toCCDB (std::string filename) |
| static void | fromCCDB (std::string filename) |
| static void | updateFromString (std::string const &) |
| static void | updateFromFile (std::string const &, std::string const ¶msList="", bool unchangedOnly=false) |
Protected Member Functions inherited from o2::conf::ConfigurableParam | |
| ConfigurableParam () | |
| virtual | ~ConfigurableParam ()=default |
| void | setRegisterMode (bool b) |
| bool | isInitialized () const |
Static Protected Member Functions inherited from o2::conf::ConfigurableParam | |
| static void | initPropertyTree () |
| static EParamUpdateStatus | updateThroughStorageMap (std::string, std::string, std::type_info const &, void *) |
| static EParamUpdateStatus | updateThroughStorageMapWithConversion (std::string const &, std::string const &) |
Static Protected Attributes inherited from o2::conf::ConfigurableParam | |
| static std::map< std::string, std::pair< std::type_info const &, void * > > * | sKeyToStorageMap = nullptr |
| static std::map< std::string, ConfigurableParam::EParamProvenance > * | sValueProvenanceMap = nullptr |
| static EnumRegistry * | sEnumRegistry = nullptr |
| static std::string | sOutputDir = "" |
Definition at line 20 of file ConfigurableParamTest.h.
| enum o2::conf::test::TestParam::TestEnum : uint8_t |
| Enumerator | |
|---|---|
| A | |
| B | |
| C | |
Definition at line 21 of file ConfigurableParamTest.h.
| o2::conf::test::TestParam::O2ParamDef | ( | TestParam | , |
| "TestParam" | |||
| ) |
| bool o2::conf::test::TestParam::bValue {true} |
Definition at line 30 of file ConfigurableParamTest.h.
| int o2::conf::test::TestParam::caValue[3] = {0, 1, 2} |
Definition at line 39 of file ConfigurableParamTest.h.
| double o2::conf::test::TestParam::dValue {3.14} |
Definition at line 29 of file ConfigurableParamTest.h.
| TestEnum o2::conf::test::TestParam::eValue = TestEnum::C |
Definition at line 38 of file ConfigurableParamTest.h.
| float o2::conf::test::TestParam::fValue {3.14} |
Definition at line 28 of file ConfigurableParamTest.h.
| int o2::conf::test::TestParam::iValue {42} |
Definition at line 27 of file ConfigurableParamTest.h.
| int o2::conf::test::TestParam::iValueProvenanceTest {0} |
Definition at line 37 of file ConfigurableParamTest.h.
Definition at line 34 of file ConfigurableParamTest.h.
| long o2::conf::test::TestParam::lValue {1} |
Definition at line 32 of file ConfigurableParamTest.h.
| std::string o2::conf::test::TestParam::sValue = "default" |
Definition at line 36 of file ConfigurableParamTest.h.
Definition at line 35 of file ConfigurableParamTest.h.
| unsigned long o2::conf::test::TestParam::ulValue {1} |
Definition at line 33 of file ConfigurableParamTest.h.
| unsigned o2::conf::test::TestParam::uValue {1} |
Definition at line 31 of file ConfigurableParamTest.h.