MarlinMT
0.1.0
|
ConfigReader base class Interface for reading configuration. More...
#include <Configuration.h>
Inherited by marlinmt::XMLConfigReader.
Public Member Functions | |
virtual | ~ConfigReader ()=default |
Default destructor. More... | |
virtual void | init (const std::string &desc)=0 |
Initialize the parser. More... | |
virtual void | read (Configuration &cfg)=0 |
Read the configuration and populate the configuration object. More... | |
ConfigReader base class Interface for reading configuration.
Definition at line 328 of file Configuration.h.
|
virtualdefault |
Default destructor.
|
pure virtual |
Initialize the parser.
The descriptor string can be e.g:
desc | a descriptor string |
Implemented in marlinmt::XMLConfigReader.
|
pure virtual |
Read the configuration and populate the configuration object.
cfg | the configuration object to populate |
Implemented in marlinmt::XMLConfigReader.