Derived class for loading INI files without going through Fio stuff. More...
Public Member Functions | |
SettingsIniFile (const char *const *list_group_names=NULL, const char *const *seq_group_names=NULL) | |
Construct a new ini loader. | |
virtual FILE * | OpenFile (const char *filename, size_t *size) |
Open the INI file. | |
virtual void | ReportFileError (const char *const pre, const char *const buffer, const char *const post) |
Report an error about the file contents. |
Derived class for loading INI files without going through Fio stuff.
Definition at line 165 of file settingsgen.cpp.
SettingsIniFile::SettingsIniFile | ( | const char *const * | list_group_names = NULL , |
|
const char *const * | seq_group_names = NULL | |||
) | [inline] |
Construct a new ini loader.
list_group_names | A NULL terminated list with group names that should be loaded as lists instead of variables. |
seq_group_names | A NULL terminated list with group names that should be loaded as lists of names. |
Definition at line 171 of file settingsgen.cpp.
virtual FILE* SettingsIniFile::OpenFile | ( | const char * | filename, | |
size_t * | size | |||
) | [inline, virtual] |
Open the INI file.
filename | Name of the INI file. | |
size | [out] Size of the opened file. |
NULL
. Implements IniLoadFile.
Definition at line 176 of file settingsgen.cpp.
virtual void SettingsIniFile::ReportFileError | ( | const char *const | pre, | |
const char *const | buffer, | |||
const char *const | post | |||
) | [inline, virtual] |
Report an error about the file contents.
pre | Prefix text of the buffer part. | |
buffer | Part of the file with the error. | |
post | Suffix text of the buffer part. |
Implements IniLoadFile.
Definition at line 190 of file settingsgen.cpp.
References error().