Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
Ase::IniWriter Class Reference

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.
 

Detailed Description

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.

Member Function Documentation

◆ output()

String Ase::IniWriter::output ( )

◆ set()

void Ase::IniWriter::set ( String  key,
String  value 
)

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().


The documentation for this class was generated from the following files: