#include <FXRegistry.h>
Inheritance diagram for FX::FXRegistry:
Definition at line 55 of file FXRegistry.h.
Public Member Functions | |
FXRegistry (const FXString &akey=FXString::null, const FXString &vkey=FXString::null) | |
bool | read () |
bool | write () |
const FXString & | getAppKey () const |
const FXString & | getVendorKey () const |
void | setAsciiMode (bool asciiMode) |
bool | getAsciiMode () const |
void * | insert (const FXchar *ky, const void *ptr, bool mrk=false) |
void * | replace (const FXchar *ky, const void *ptr, bool mrk=false) |
bool | parseFile (const FXString &filename, bool mark) |
bool | unparseFile (const FXString &filename) |
FXStringDict * | data (FXuint pos) const |
FXStringDict * | find (const FXchar *section) const |
FXint | readFormatEntry (const FXchar *section, const FXchar *key, const FXchar *fmt,...) FX_SCANF(4 |
FXint const FXchar * | readStringEntry (const FXchar *section, const FXchar *key, const FXchar *def=NULL) |
FXint | readIntEntry (const FXchar *section, const FXchar *key, FXint def=0) |
FXuint | readUnsignedEntry (const FXchar *section, const FXchar *key, FXuint def=0) |
FXdouble | readRealEntry (const FXchar *section, const FXchar *key, FXdouble def=0.0) |
FXColor | readColorEntry (const FXchar *section, const FXchar *key, FXColor def=0) |
FXbool | readBoolEntry (const FXchar *section, const FXchar *key, FXbool def=FALSE) |
FXint | writeFormatEntry (const FXchar *section, const FXchar *key, const FXchar *fmt,...) FX_PRINTF(4 |
FXint bool | writeStringEntry (const FXchar *section, const FXchar *key, const FXchar *val) |
bool | writeIntEntry (const FXchar *section, const FXchar *key, FXint val) |
bool | writeUnsignedEntry (const FXchar *section, const FXchar *key, FXuint val) |
bool | writeRealEntry (const FXchar *section, const FXchar *key, FXdouble val) |
bool | writeColorEntry (const FXchar *section, const FXchar *key, FXColor val) |
bool | writeBoolEntry (const FXchar *section, const FXchar *key, FXbool val) |
bool | deleteEntry (const FXchar *section, const FXchar *key) |
bool | existingEntry (const FXchar *section, const FXchar *key) |
bool | deleteSection (const FXchar *section) |
bool | existingSection (const FXchar *section) |
bool | clear () |
void | setModified (bool mdfy=true) |
bool | isModified () const |
void | size (FXint m) |
FXint | size () const |
FXint | no () const |
bool | empty (FXint pos) const |
const FXchar * | key (FXuint pos) const |
bool | mark (FXuint pos) const |
FXint | first () const |
FXint | last () const |
FXint | next (FXint pos) const |
FXint | prev (FXint pos) const |
virtual long | onDefault (FXObject *, FXSelector, void *) |
const FXchar * | getClassName () const |
bool | isMemberOf (const FXMetaClass *metaclass) const |
virtual long | tryHandle (FXObject *sender, FXSelector sel, void *ptr) |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
QTransString | tr (const char *text, const char *hint=0) |
virtual void * | getPythonObject () const |
virtual void | decouplePythonObject () const |
Protected Member Functions | |
bool | readFromDir (const FXString &dirname, bool mark) |
virtual void * | createData (const void *) |
virtual void | deleteData (void *) |
FXchar * | dequote (FXchar *text) const |
FXchar * | enquote (FXchar *result, const FXchar *text) |
FXStringDict * | insert (const FXchar *ky) |
FXStringDict * | replace (const FXchar *ky, FXStringDict *section) |
FXStringDict * | remove (const FXchar *ky) |
Static Protected Member Functions | |
static FXint | hash (const FXchar *str) |
Protected Attributes | |
FXString | applicationkey |
FXString | vendorkey |
bool | ascii |
bool | modified |
FXDictEntry * | dict |
FXint | total |
FXint | number |