|
RDFS
The Rice Comp413 2017 class' continuation on the work of the 2016 RDFS.
|
Parser used internally to parse configurations from file or text. More...
#include <easylogging++.h>
Static Public Member Functions | |
| static bool | parseFromFile (const std::string &configurationFile, Configurations *sender, Configurations *base=nullptr) |
| Parses configuration from file. More... | |
| static bool | parseFromText (const std::string &configurationsString, Configurations *sender, Configurations *base=nullptr) |
| Parse configurations from configuration string. More... | |
Friends | |
| class | el::Loggers |
Parser used internally to parse configurations from file or text.
This class makes use of base::utils::Str. You should not need this unless you are working on some tool for Easylogging++
|
static |
Parses configuration from file.
| configurationFile | Full path to configuration file |
| sender | Sender configurations pointer. Usually 'this' is used from calling class |
| base | Configurations to base new configuration repository off. This value is used when you want to use existing Configurations to base all the values and then set rest of configuration via configuration file. |
|
static |
Parse configurations from configuration string.
This configuration string has same syntax as configuration file contents. Make sure all the necessary new line characters are provided. You may define '_STOP_ON_FIRSTELPP_ASSERTION' to make sure you do not proceed without successful parse (This is recommended)
| configurationsString | the configuration in plain text format |
| sender | Sender configurations pointer. Usually 'this' is used from calling class |
| base | Configurations to base new configuration repository off. This value is used when you want to use existing Configurations to base all the values and then set rest of configuration via configuration text. |
1.8.6