A class containing methods to parse an NLSR configuration file. More...
#include <conf-file-processor.hpp>
Public Member Functions | |
ConfFileProcessor (Nlsr &nlsr, const std::string &cfile) | |
bool | processConfFile () |
Load and parse the configuration file, then populate NLSR. More... | |
A class containing methods to parse an NLSR configuration file.
This class contains methods to parse an NLSR configuration file and set all the parameters in NLSR to the received values. There are defaults for any unconfigured settings.
This is currently called by the wrapper class NlsrRunner to populate the NLSR object with its configuration before NLSR is started.
Definition at line 46 of file conf-file-processor.hpp.
|
inline |
bool nlsr::ConfFileProcessor::processConfFile | ( | ) |
Load and parse the configuration file, then populate NLSR.
Entry-point function that chains all the necessary steps together to configure an NLSR object.
Definition at line 138 of file conf-file-processor.cpp.