Compounds | |
class | Comment |
Comment in Inifile. More... | |
class | Commentable |
Section or Entry - may have a comment. More... | |
class | FilePosition |
stores the line number where a Section or Entry has been defined. More... | |
class | Entry |
stores one inifile entry. More... | |
struct | ltistr |
sort predicate used to sort map's case-insensitive. More... | |
class | Section |
contains a whole section. More... | |
class | Inifile |
a whole inifile. More... | |
Typedefs | |
typedef SmartPtr< Entry > | EntryPtr |
SmartPtr to Entry. More... | |
typedef std::map< std::string, EntryPtr, ltistr > | Entries |
Stores several Entry's. More... | |
typedef SmartPtr< Section > | SectionPtr |
SmartPtr to Section. More... | |
typedef std::map< std::string, SectionPtr, ltistr > | Sections |
mapping for sections. More... | |
typedef SmartPtr< Inifile > | InifilePtr |
SmartPtr to Inifile. More... | |
typedef void(* | InifileCompleter )(InifilePtr) |
function type used for readOrCreateInifile. More... | |
Enumerations | |
enum | ChangesState { NO_CHANGES, MINOR_CHANGES, MAJOR_CHANGES } |
How to handle changes
| |
Functions | |
InifilePtr | readInifile (const string &filename) |
void | writeInifile (const string &filename, InifilePtr ini) |
InifilePtr | readOrCreateInifile (const string &inifilename, InifileCompleter complete_ini) |
InifilePtr | readInifile (const std::string &filename) |
read inifile from file. More... | |
void | writeInifile (const std::string &filename, InifilePtr ini) |
save inifile to file. More... | |
InifilePtr | readOrCreateInifile (const std::string &inifilename, InifileCompleter complete_ini) |
read inifile or create from scratch. More... | |
Variables | |
bool | need_check_for_changes = false |
const char | comment_char = ';' |
|
Definition at line 248 of file inifile.h. Referenced by Section::expectEntry(), Inifile::findEntry(), Section::findOrCreateEntry(), and readInifile(). |
|
Stores several Entry's.
|
|
Definition at line 407 of file inifile.h. Referenced by Inifile::expectSection(), Inifile::findOrCreateSection(), Inifile::findSection(), and readInifile(). |
|
mapping for sections.
|
|
Definition at line 558 of file inifile.h. Referenced by readInifile(), readOrCreateInifile(), and writeInifile(). |
|
function type used for readOrCreateInifile.
Definition at line 577 of file inifile.h. Referenced by readOrCreateInifile(). |
|
How to handle changes
Definition at line 53 of file inifile.h. Referenced by Inifile::changesMade(), Section::changesMade(), Section::findOrCreateEntry(), Inifile::findOrCreateSection(), Section::insertEntry(), Inifile::insertSection(), readOrCreateInifile(), Inifile::set_changes_made(), and Section::set_changes_made(). |
|
Definition at line 330 of file inifile.cpp. Referenced by readOrCreateInifile(). |
|
Definition at line 395 of file inifile.cpp. Referenced by readOrCreateInifile(). |
|
Definition at line 405 of file inifile.cpp. |
|
read inifile from file.
|
|
save inifile to file.
|
|
read inifile or create from scratch.
|
|
Definition at line 37 of file inifile.cpp. Referenced by Section::changesMade(), and Section::set_changes_made(). |
|
Definition at line 46 of file inifile.h. Referenced by Comment::dump(), and Comment::split_multiline(). |
Contact me in case of errors or questions. This documentation is powered by . |
(C) 2000-2002 |