The registry maintains a database of persistent settings for an application, or suite of applications
Inheritance:
Public Methods
-
FXRegistry(const FXString& akey=FXString::null, const FXString& vkey=FXString::null)
- Construct registry object; akey and vkey must be string constants.
-
FXbool read()
- Read registry
-
FXbool write()
- Write registry
-
const FXString& getAppKey() const
- Return application key
-
const FXString& getVendorKey() const
- Return vendor key
-
void setAsciiMode(FXbool asciiMode)
- Set ASCII mode; under MS-Windows, this will switch the system to a file-based registry system, instead of using the System Registry API
-
FXbool getAsciiMode() const
- Get ASCII mode
Public Methods
-
FXbool parseFile(const FXString& filename, FXbool mark)
-
FXbool unparseFile(const FXString& filename)
-
FXStringDict* data(FXuint pos) const
-
FXStringDict* find(const FXchar* section) const
-
FXintreadFormatEntry (const FXchar *section, const FXchar *key, const FXchar *fmt, ...)(4, 5)
-
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)
-
FXintwriteFormatEntry (const FXchar *section, const FXchar *key, const FXchar *fmt, ...)(4, 5)
-
FXbool writeStringEntry(const FXchar* section, const FXchar* key, const FXchar* val)
-
FXbool writeIntEntry(const FXchar* section, const FXchar* key, FXint val)
-
FXbool writeUnsignedEntry(const FXchar* section, const FXchar* key, FXuint val)
-
FXbool writeRealEntry(const FXchar* section, const FXchar* key, FXdouble val)
-
FXbool writeColorEntry(const FXchar* section, const FXchar* key, FXColor val)
-
FXbool deleteEntry(const FXchar* section, const FXchar* key)
-
FXbool existingEntry(const FXchar* section, const FXchar* key)
-
FXbool deleteSection(const FXchar* section)
-
FXbool existingSection(const FXchar* section)
-
FXbool clear()
-
void setModified(FXbool mdfy=TRUE)
-
FXbool isModified() const
Inherited from FXDict:
Public Methods
-
FXint size() const
-
void size(FXint m)
-
FXint no() const
-
void* insert(const FXchar* ky, const void* ptr, FXbool mrk=FALSE)
-
void* replace(const FXchar* ky, const void* ptr, FXbool mrk=FALSE)
-
void* remove(const FXchar* ky)
-
const FXchar* key(FXuint pos) const
-
FXbool mark(FXuint pos) const
-
FXint first() const
-
FXint last() const
-
FXint next(FXint pos) const
-
FXint prev(FXint pos) const
Protected Methods
-
virtual void* createData(const void*)
-
virtual void deleteData(void*)
Public Methods
-
const FXchar* getClassName() const
-
FXbool isMemberOf(const FXMetaClass* metaclass) const
-
virtual void save(FXStream& store) const
-
virtual void load(FXStream& store)
Documentation
The registry maintains a database of persistent settings for an application,
or suite of applications
- FXRegistry(const FXString& akey=FXString::null, const FXString& vkey=FXString::null)
-
Construct registry object; akey and vkey must be string constants.
Regular applications SHOULD set a vendor key!
- FXbool read()
- Read registry
- FXbool write()
- Write registry
- const FXString& getAppKey() const
- Return application key
- const FXString& getVendorKey() const
- Return vendor key
- void setAsciiMode(FXbool asciiMode)
-
Set ASCII mode; under MS-Windows, this will switch the system to a
file-based registry system, instead of using the System Registry API
- FXbool getAsciiMode() const
- Get ASCII mode
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.