curl_stocks
|
Classes | |
class | Config |
Wraps reading and processing of stocks.config file. More... | |
Functions | |
Config::Config () | |
Default constructor. | |
Config::Config (int s, int l) | |
Constructor. | |
int | Config::get_start () |
Get position of configuration item. | |
int | Config::get_length () |
Get length of identifier. | |
std::string | Config::get_config () |
Get configuration item stripped of identifier. | |
static void | Config::read (std::string const &config_file_name) |
Read strings from stocks.config file. | |
static auto | Config::begin () |
First configuration item. | |
static auto | Config::end () |
Last configuration item. | |
|
inlinestatic |
First configuration item.
Config::Config | ( | ) |
Default constructor.
Config::Config | ( | int | s, |
int | l | ||
) |
Constructor.
s | Start: Position from top (line number). Starts at 0. |
l | Length: Length of identifier. |
|
inlinestatic |
Last configuration item.
std::string Config::get_config | ( | ) |
Get configuration item stripped of identifier.
int Config::get_length | ( | ) |
Get length of identifier.
int Config::get_start | ( | ) |
Get position of configuration item.
|
static |
Read strings from stocks.config file.
config_file_name |