CFx SDK Documentation
2020SP3
|
#include <FxSettings.h>
Public Types | |
enum | ValueType { kRegNone, kRegInt32, kRegInt64, kRegDouble, kRegString, kRegBinaryData } |
Public Member Functions | |
virtual | ~CFxSettings () |
virtual bool | HasGroup (const CFxString &group)=0 |
virtual bool | HasKey (const CFxString &group, const CFxString &key)=0 |
virtual CFxStringArray | GetGroups (const CFxString &group)=0 |
virtual CFxStringArray | GetKeys (const CFxString &group)=0 |
virtual ValueType | GetType (const CFxString &group, const CFxString &key)=0 |
virtual OdResBufPtr | Read (const CFxString &group, const CFxString &key, ValueType defaultType)=0 |
virtual void | Write (const CFxString &group, const CFxString &key, OdResBufPtr value)=0 |
virtual void | RemoveKey (const CFxString &group, const CFxString &key)=0 |
virtual void | RemoveGroup (const CFxString &group)=0 |
Description: Manages the settings. Library: DDKERNEL
Definition at line 34 of file FxSettings.h.
Description:
Enumerator | |
---|---|
kRegNone | |
kRegInt32 | |
kRegInt64 | |
kRegDouble | |
kRegString | |
kRegBinaryData |
Definition at line 61 of file FxSettings.h.
|
inlinevirtual |
Definition at line 38 of file FxSettings.h.
|
pure virtual |
Description: Returns child groups for specified group.
|
pure virtual |
Description: Returns child keys for specified group.
|
pure virtual |
Description: Returns kRegNone in case key does not exist.
|
pure virtual |
Description: Returns true if specified group exists in the settings
Description:
|
pure virtual |
Description: Return buffer is always not null. In case 'key' does not exist result buffer is set to default value according to 'defaultType' value. Parameter 'defaultType' must not be equal to kRegNone.
Description: Removes group.
Description: Removes key and all its sub-keys.
|
pure virtual |
Description: Types of buffer 'value' are limited to corresponding types in 'ValueType' enum. In case type of invalid type nothing is written.