fdhwlib
2.0.25
|
#include <akinifile.h>
Extension of the inifile reader.
New features:
Changes:
Definition at line 28 of file akinifile.h.
akInifile::akInifile | ( | const char * | filename, |
FILE * | logfile = 0 , |
||
const char * | secondDir = 0 , |
||
const char * | thirdDir = 0 |
||
) |
akInifile::~akInifile | ( | ) |
int akInifile::concatFilename | ( | char * | filepath, |
char * | filename, | ||
char * | dir | ||
) | [protected] |
Concat filename and directory to the filepath.
The directory entry can also be a environment variable (e.g. $HOME)
double akInifile::GetFirstDouble | ( | const char * | entry, |
result * | error | ||
) |
char* akInifile::GetFirstString | ( | const char * | entry, |
const char * | defString, | ||
result * | error | ||
) |
int akInifile::GetFirstValue | ( | const char * | entry, |
int | defValue, | ||
result * | error | ||
) |
double akInifile::GetFirstValue | ( | const char * | entry, |
double | defValue, | ||
result * | error | ||
) |
double akInifile::GetNextDouble | ( | result * | error | ) |
char* akInifile::GetNextString | ( | const char * | defString, |
result * | error | ||
) |
int akInifile::GetNextValue | ( | int | defValue, |
result * | error | ||
) |
double akInifile::GetNextValue | ( | double | defValue, |
result * | error | ||
) |
int akInifile::open | ( | char * | filename | ) | [protected] |
Try to open another file.
result akInifile::SpecifyGroup | ( | const char * | string | ) |
FILE* akInifile::logfile [private] |
Definition at line 72 of file akinifile.h.
bool akInifile::writeLog [private] |
Flag set if logging output is required.
Definition at line 75 of file akinifile.h.