![]() |
Project
|
#include <ConfigParamRegistry.h>
Public Member Functions | |
| ConfigParamRegistry (std::unique_ptr< ConfigParamStore > store) | |
| bool | isSet (const char *key) const |
| bool | hasOption (const char *key) const |
| bool | isDefault (const char *key) const |
| std::vector< ConfigParamSpec > const & | specs () const |
| template<ConfigValueType T> | |
| T | get (const char *key) const |
| template<typename T > | |
| T | get (const char *key) const |
| void | override (const char *key, ConfigValueType auto const &val) const |
| void | loadExtra (std::vector< ConfigParamSpec > &extras) |
This provides unified access to the parameters specified in the workflow specification. The ParamRetriever is a concrete implementation of the registry which will actually get the options. For example it could get them from the FairMQ ProgOptions plugin or (to run "device-less", e.g. in batch simulation jobs).
Definition at line 69 of file ConfigParamRegistry.h.
| o2::framework::ConfigParamRegistry::ConfigParamRegistry | ( | std::unique_ptr< ConfigParamStore > | store | ) |
Definition at line 18 of file ConfigParamRegistry.cxx.
| T o2::framework::ConfigParamRegistry::get | ( | const char * | key | ) | const |
Definition at line 98 of file ConfigParamRegistry.h.
| template bool o2::framework::ConfigParamRegistry::get< bool > | ( | const char * | key | ) | const |
| bool o2::framework::ConfigParamRegistry::hasOption | ( | const char * | key | ) | const |
Definition at line 28 of file ConfigParamRegistry.cxx.
| bool o2::framework::ConfigParamRegistry::isDefault | ( | const char * | key | ) | const |
Definition at line 33 of file ConfigParamRegistry.cxx.
| bool o2::framework::ConfigParamRegistry::isSet | ( | const char * | key | ) | const |
Definition at line 23 of file ConfigParamRegistry.cxx.
| void o2::framework::ConfigParamRegistry::loadExtra | ( | std::vector< ConfigParamSpec > & | extras | ) |
Definition at line 96 of file ConfigParamRegistry.cxx.
| template void o2::framework::ConfigParamRegistry::override | ( | const char * | key, |
| ConfigValueType auto const & | val | ||
| ) | const |
Definition at line 84 of file ConfigParamRegistry.cxx.
| std::vector< ConfigParamSpec > const & o2::framework::ConfigParamRegistry::specs | ( | ) | const |
Definition at line 101 of file ConfigParamRegistry.cxx.