File options_ini.hxx

class OptionINI : public OptionParser
#include <options_ini.hxx>

Class for reading INI style configuration files.

Public Functions

void read(Options *options, const std::string &filename)

Read options from file.

void write(Options *options, const std::string &filename)

Write options to file.

Private Functions

void parse(const std::string &buffer, std::string &key, std::string &value)
string getNextLine(std::ifstream &fin)
void writeSection(const Options *options, std::ofstream &fout)