Public Types | |
enum | Root { SYSTEM, USER } |
Public Member Functions | |
bool | deleteEntry (const char *entry) |
bool | deleteGroup (const char *group) |
int | entries () |
const char * | entry (int) |
bool | entryExists (const char *entry) |
void | flush () |
bool | get (const char *entry, void *value, const void *defaultValue, int defaultSize, int maxSize) |
bool | get (const char *entry, void *&value, const void *defaultValue, int defaultSize) |
bool | get (const char *entry, char *value, const char *defaultValue, int maxSize) |
bool | get (const char *entry, char *&value, const char *defaultValue) |
bool | get (const char *entry, double &value, double defaultValue) |
bool | get (const char *entry, float &value, float defaultValue) |
bool | get (const char *entry, int &value, int defaultValue) |
bool | getUserdataPath (char *path, int pathlen) |
const char * | group (int) |
bool | groupExists (const char *group) |
int | groups () |
Preferences (Preferences *, const char *group) | |
Preferences (Preferences &, const char *group) | |
Preferences (const char *path, const char *vendor, const char *application) | |
Preferences (Root root, const char *vendor, const char *application) | |
bool | set (const char *entry, const void *value, int size) |
bool | set (const char *entry, const char *value) |
bool | set (const char *entry, double value) |
bool | set (const char *entry, float value) |
bool | set (const char *entry, int value) |
int | size (const char *entry) |
Friends | |
class | Node |
class | RootNode |