![]() |
Project
|
#include <ConfigParamsHelper.h>
Static Public Member Functions | |
static void | populateBoostProgramOptions (options_description &options, const std::vector< ConfigParamSpec > &specs, options_description vetos=options_description()) |
static bool | dpl2BoostOptions (const std::vector< ConfigParamSpec > &spec, options_description &options, boost::program_options::options_description vetos=options_description()) |
static bool | hasOption (const std::vector< ConfigParamSpec > &specs, const std::string &optName) |
Check if option is defined. | |
static void | addOptionIfMissing (std::vector< ConfigParamSpec > &specs, const ConfigParamSpec &spec) |
template<typename ContainerType > | |
static boost::program_options::options_description | prepareOptionDescriptions (ContainerType const &workflow, std::vector< ConfigParamSpec > const ¤tWorkflowOptions, options_description vetos=options_description(), std::string mode="full") |
populate boost program options for a complete workflow | |
template<VariantType V> | |
static void | addConfigSpecOption (const ConfigParamSpec &spec, boost::program_options::options_description &options) |
Definition at line 27 of file ConfigParamsHelper.h.
|
inlinestatic |
Definition at line 105 of file ConfigParamsHelper.h.
|
static |
Add the ConfigParamSpec spec to specs if there is no parameter with the same name already.
Definition at line 128 of file ConfigParamsHelper.cxx.
|
static |
populate boost program options making all options of type string this is used for filtering the command line argument all options which are found in the vetos are skipped
populate boost program options making all options of type string this is used for filtering the command line argument
Definition at line 137 of file ConfigParamsHelper.cxx.
|
static |
Check if option is defined.
Definition at line 116 of file ConfigParamsHelper.cxx.
|
static |
this creates the boost program options description from the ConfigParamSpec taking the VariantType into account
Definition at line 26 of file ConfigParamsHelper.cxx.
|
inlinestatic |
populate boost program options for a complete workflow
Definition at line 50 of file ConfigParamsHelper.h.