ConfigHelper class A simple class with helper methods for configuration.
More...
#include <Configuration.h>
ConfigHelper class A simple class with helper methods for configuration.
Definition at line 386 of file Configuration.h.
◆ ConfigHelper()
marlinmt::ConfigHelper::ConfigHelper |
( |
| ) |
|
|
privatedelete |
◆ ~ConfigHelper()
marlinmt::ConfigHelper::~ConfigHelper |
( |
| ) |
|
|
privatedelete |
◆ readConfig()
void marlinmt::ConfigHelper::readConfig |
( |
const std::string & |
str, |
|
|
Configuration & |
cfg |
|
) |
| |
|
static |
◆ splitPluginInput()
std::pair< std::string, std::string > marlinmt::ConfigHelper::splitPluginInput |
( |
const std::string & |
str | ) |
|
|
static |
Split the string to a pair "plugin, input".
The separator is a colon ':' character. For example:
- "XMLConfigReader:/path/to/myfile.xml"
- "XMLConfigWriter:/path/to/myfile.xml"
- Parameters
-
str | the input string to split |
Definition at line 214 of file Configuration.cc.
Referenced by readConfig(), and writeConfig().
◆ writeConfig()
void marlinmt::ConfigHelper::writeConfig |
( |
const std::string & |
str, |
|
|
Configuration & |
cfg |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: