Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Class to write INI configuration file sections and values. More...
#include "inifile.hh"
Public Member Functions | |
void | set (String key, String value) |
Set (or add) a value with INI file semantics: section.key = value. | |
String | output () |
Generate INI file syntax for all values store in the class. | |
Class to write INI configuration file sections and values.
This class implements a simple section and value syntax writer as used in INI files. For a detailed reference, see: http://wikipedia.org/wiki/INI_file
To parse the output of this class, refer to the IniFile class.
Definition at line 43 of file inifile.hh.
String Ase::IniWriter::output | ( | ) |
Generate INI file syntax for all values store in the class.
Definition at line 557 of file inifile.cc.
References std::vector::empty(), std::string::find(), std::string::size(), std::vector::size(), ssize_t, Ase::string_format(), Ase::string_is_canonified(), Ase::string_set_ascii_alnum(), Ase::string_to_cquote(), and std::string::substr().
Set (or add) a value with INI file semantics: section.key = value.
Definition at line 541 of file inifile.cc.
References std::string::rfind(), std::string::size(), and std::string::substr().