nlsr::ConfFileProcessor Class Reference

A class containing methods to parse an NLSR configuration file. More...

#include <conf-file-processor.hpp>

Public Member Functions

 ConfFileProcessor (ConfParameter &confParam)
 
bool processConfFile ()
 Load and parse the configuration file, then populate NLSR. More...
 

Detailed Description

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.

See also
nlsr::ConfParameter

Definition at line 43 of file conf-file-processor.hpp.

Constructor & Destructor Documentation

◆ ConfFileProcessor()

nlsr::ConfFileProcessor::ConfFileProcessor ( ConfParameter confParam)

Definition at line 140 of file conf-file-processor.cpp.

Member Function Documentation

◆ processConfFile()

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.

Returns
A boolean for whether configuration was successful.

Definition at line 147 of file conf-file-processor.cpp.