E-MailRelay
|
Provides a static function to read options from a config file. More...
#include <goptionreader.h>
Static Public Member Functions | |
static StringArray | read (const G::Path &, std::size_t limit=1000U) |
Reads options from file as a list of strings like "--foo=bar". More... | |
static std::size_t | add (StringArray &out, const G::Path &, std::size_t limit=1000U) |
Adds options read from file to an existing list. More... | |
Provides a static function to read options from a config file.
Definition at line 38 of file goptionreader.h.
|
static |
Adds options read from file to an existing list.
Returns the number of options added.
Definition at line 37 of file goptionreader.cpp.
|
static |
Reads options from file as a list of strings like "--foo=bar".
Throws on error.
Definition at line 30 of file goptionreader.cpp.