LcSettingC - various functions to set date into a setting … More...
Functions | |
static LC_CFS | LcSettingSetBoolElem (LC_CFS setting, MK_I32 idx, MK_I32 value) |
These functions set the value at the specified index index in the setting setting to value … | |
static LC_CFS | LcSettingSetFloatElem (LC_CFS setting, MK_I32 idx, MK_DBL value) |
These functions set the value at the specified index index in the setting setting to value … | |
static LC_CFS | LcSettingSetInt64Elem (LC_CFS setting, MK_I32 idx, MK_I64 value) |
These functions set the value at the specified index index in the setting setting to value … | |
static LC_CFS | LcSettingSetIntElem (LC_CFS setting, MK_I32 idx, MK_I32 value) |
These functions set the value at the specified index index in the setting setting to value … | |
static LC_CFS | LcSettingSetStringElem (LC_CFS setting, MK_I32 idx, MK_STRN value) |
These functions set the value at the specified index index in the setting setting to value … | |
static enum MkErrorE | LcSettingSetBool (LC_CFS setting, MK_BOOL value) |
These functions set the value of the given setting to value … | |
static enum MkErrorE | LcSettingSetFloat (LC_CFS setting, MK_DBL value) |
These functions set the value of the given setting to value … | |
static enum MkErrorE | LcSettingSetFormat (LC_CFS setting, enum LcConfigFormatE format) |
These functions get and set the external format for the setting setting … | |
static void | LcSettingSetHookHide (LC_CFS setting, MK_PTR hook) |
These functions make it possible to attach arbitrary data to each setting structure, for instance a ''wrapper'' or ''peer'' object written in another programming language … | |
static enum MkErrorE | LcSettingSetInt (LC_CFS setting, MK_I32 value) |
These functions set the value of the given setting to value … | |
static enum MkErrorE | LcSettingSetInt64 (LC_CFS setting, MK_I64 value) |
These functions set the value of the given setting to value … | |
static enum MkErrorE | LcSettingSetString (LC_CFS setting, MK_STRN value) |
These functions set the value of the given setting to value … | |
LcSettingC - LcSettingC_Set_C_API - function | |
LC_CFS | LcSettingSetBoolElemP (LC_CFS setting, MK_I32 idx, MK_I32 value) |
Non-inline replacement for LcSettingSetBoolElem … | |
LC_CFS | LcSettingSetFloatElemP (LC_CFS setting, MK_I32 idx, MK_DBL value) |
Non-inline replacement for LcSettingSetFloatElem … | |
LC_CFS | LcSettingSetInt64ElemP (LC_CFS setting, MK_I32 idx, MK_I64 value) |
Non-inline replacement for LcSettingSetInt64Elem … | |
LC_CFS | LcSettingSetIntElemP (LC_CFS setting, MK_I32 idx, MK_I32 value) |
Non-inline replacement for LcSettingSetIntElem … | |
LC_CFS | LcSettingSetStringElemP (LC_CFS setting, MK_I32 idx, MK_STRN value) |
Non-inline replacement for LcSettingSetStringElem … | |
enum MkErrorE | LcSettingSetBoolP (LC_CFS setting, MK_BOOL value) |
Non-inline replacement for LcSettingSetBool … | |
enum MkErrorE | LcSettingSetFloatP (LC_CFS setting, MK_DBL value) |
Non-inline replacement for LcSettingSetFloat … | |
enum MkErrorE | LcSettingSetFormatP (LC_CFS setting, enum LcConfigFormatE format) |
Non-inline replacement for LcSettingSetFormat … | |
void | LcSettingSetHookHideP (LC_CFS setting, MK_PTR hook) |
Non-inline replacement for LcSettingSetHookHide … | |
enum MkErrorE | LcSettingSetIntP (LC_CFS setting, MK_I32 value) |
Non-inline replacement for LcSettingSetInt … | |
enum MkErrorE | LcSettingSetInt64P (LC_CFS setting, MK_I64 value) |
Non-inline replacement for LcSettingSetInt64 … | |
enum MkErrorE | LcSettingSetStringP (LC_CFS setting, MK_STRN value) |
Non-inline replacement for LcSettingSetString … | |
LcSettingC - LcSettingC_Set_C_API - overload | |
#define | LcSettingSetBool_E(...) |
#define | LcSettingSetBool_C(...) |
#define | LcSettingSetFloat_E(...) |
#define | LcSettingSetFloat_C(...) |
#define | LcSettingSetFormat_E(...) |
#define | LcSettingSetFormat_C(...) |
#define | LcSettingSetInt_E(...) |
#define | LcSettingSetInt_C(...) |
#define | LcSettingSetInt64_E(...) |
#define | LcSettingSetInt64_C(...) |
#define | LcSettingSetString_E(...) |
#define | LcSettingSetString_C(...) |
LcSettingC - various functions to set date into a setting …
#define LcSettingSetBool_C | ( | ... | ) |
Definition at line 233 of file config_overload_lc.h.
#define LcSettingSetBool_E | ( | ... | ) |
Definition at line 232 of file config_overload_lc.h.
#define LcSettingSetFloat_C | ( | ... | ) |
Definition at line 235 of file config_overload_lc.h.
#define LcSettingSetFloat_E | ( | ... | ) |
Definition at line 234 of file config_overload_lc.h.
#define LcSettingSetFormat_C | ( | ... | ) |
Definition at line 237 of file config_overload_lc.h.
#define LcSettingSetFormat_E | ( | ... | ) |
Definition at line 236 of file config_overload_lc.h.
#define LcSettingSetInt64_C | ( | ... | ) |
Definition at line 241 of file config_overload_lc.h.
#define LcSettingSetInt64_E | ( | ... | ) |
Definition at line 240 of file config_overload_lc.h.
#define LcSettingSetInt_C | ( | ... | ) |
Definition at line 239 of file config_overload_lc.h.
#define LcSettingSetInt_E | ( | ... | ) |
Definition at line 238 of file config_overload_lc.h.
#define LcSettingSetString_C | ( | ... | ) |
Definition at line 243 of file config_overload_lc.h.
#define LcSettingSetString_E | ( | ... | ) |
Definition at line 242 of file config_overload_lc.h.
These functions set the value of the given setting to value …
On success, they return CONFIG_TRUE. If the setting does not match the type of the value, they return CONFIG_FALSE. SettingSetString makes a copy of the passed string value, so it may be subsequently freed or modified by the caller without affecting the value of the setting.
Definition at line 391 of file LcSettingC_lc.h.
These functions set the value at the specified index index in the setting setting to value …
If index is negative, a new element is added to the end of the array or list. On success, these functions return a pointer to the setting representing the element. If the setting is not an array or list, or if the setting is an array and the type of the array does not match the type of the value, or if index is out of range, they return NULL
. SettingSetStringElem makes a copy of the passed string value, so it may be subsequently freed or modified by the caller without affecting the value of the setting.
Definition at line 359 of file LcSettingC_lc.h.
Non-inline replacement for LcSettingSetBoolElem …
Non-inline replacement for LcSettingSetBool …
These functions set the value of the given setting to value …
On success, they return CONFIG_TRUE. If the setting does not match the type of the value, they return CONFIG_FALSE. SettingSetString makes a copy of the passed string value, so it may be subsequently freed or modified by the caller without affecting the value of the setting.
Definition at line 401 of file LcSettingC_lc.h.
These functions set the value at the specified index index in the setting setting to value …
If index is negative, a new element is added to the end of the array or list. On success, these functions return a pointer to the setting representing the element. If the setting is not an array or list, or if the setting is an array and the type of the array does not match the type of the value, or if index is out of range, they return NULL
. SettingSetStringElem makes a copy of the passed string value, so it may be subsequently freed or modified by the caller without affecting the value of the setting.
Definition at line 365 of file LcSettingC_lc.h.
Non-inline replacement for LcSettingSetFloatElem …
Non-inline replacement for LcSettingSetFloat …
|
inlinestatic |
These functions get and set the external format for the setting setting …
The format must be one of the constants CONFIG_FORMAT_DEFAULT or CONFIG_FORMAT_HEX. All settings support the CONFIG_FORMAT_DEFAULT format. The CONFIG_FORMAT_HEX format specifies hexadecimal formatting for integer values, and hence only applies to settings of type CONFIG_TYPE_INT and CONFIG_TYPE_INT64. If format is invalid for the given setting, it is ignored.
If a non-default format has not been set for the setting, SettingGetFormat returns the default format for the configuration, as set by ConfigSetDefaultFormat.
SettingSetFormat returns CONFIG_TRUE on success and CONFIG_FALSE on failure.
Definition at line 411 of file LcSettingC_lc.h.
enum MkErrorE LcSettingSetFormatP | ( | LC_CFS | setting, |
enum LcConfigFormatE | format ) |
Non-inline replacement for LcSettingSetFormat …
These functions make it possible to attach arbitrary data to each setting structure, for instance a ''wrapper'' or ''peer'' object written in another programming language …
The destructor function, if one has been supplied via a call to config_set_destructor, will be called by the library to dispose of this data when the setting itself is destroyed. There is no default destructor.
Definition at line 421 of file LcSettingC_lc.h.
Non-inline replacement for LcSettingSetHookHide …
These functions set the value of the given setting to value …
On success, they return CONFIG_TRUE. If the setting does not match the type of the value, they return CONFIG_FALSE. SettingSetString makes a copy of the passed string value, so it may be subsequently freed or modified by the caller without affecting the value of the setting.
Definition at line 427 of file LcSettingC_lc.h.
These functions set the value of the given setting to value …
On success, they return CONFIG_TRUE. If the setting does not match the type of the value, they return CONFIG_FALSE. SettingSetString makes a copy of the passed string value, so it may be subsequently freed or modified by the caller without affecting the value of the setting.
Definition at line 437 of file LcSettingC_lc.h.
These functions set the value at the specified index index in the setting setting to value …
If index is negative, a new element is added to the end of the array or list. On success, these functions return a pointer to the setting representing the element. If the setting is not an array or list, or if the setting is an array and the type of the array does not match the type of the value, or if index is out of range, they return NULL
. SettingSetStringElem makes a copy of the passed string value, so it may be subsequently freed or modified by the caller without affecting the value of the setting.
Definition at line 371 of file LcSettingC_lc.h.
Non-inline replacement for LcSettingSetInt64Elem …
Non-inline replacement for LcSettingSetInt64 …
These functions set the value at the specified index index in the setting setting to value …
If index is negative, a new element is added to the end of the array or list. On success, these functions return a pointer to the setting representing the element. If the setting is not an array or list, or if the setting is an array and the type of the array does not match the type of the value, or if index is out of range, they return NULL
. SettingSetStringElem makes a copy of the passed string value, so it may be subsequently freed or modified by the caller without affecting the value of the setting.
Definition at line 377 of file LcSettingC_lc.h.
Non-inline replacement for LcSettingSetIntElem …
Non-inline replacement for LcSettingSetInt …
These functions set the value of the given setting to value …
On success, they return CONFIG_TRUE. If the setting does not match the type of the value, they return CONFIG_FALSE. SettingSetString makes a copy of the passed string value, so it may be subsequently freed or modified by the caller without affecting the value of the setting.
Definition at line 447 of file LcSettingC_lc.h.
These functions set the value at the specified index index in the setting setting to value …
If index is negative, a new element is added to the end of the array or list. On success, these functions return a pointer to the setting representing the element. If the setting is not an array or list, or if the setting is an array and the type of the array does not match the type of the value, or if index is out of range, they return NULL
. SettingSetStringElem makes a copy of the passed string value, so it may be subsequently freed or modified by the caller without affecting the value of the setting.
Definition at line 383 of file LcSettingC_lc.h.
Non-inline replacement for LcSettingSetStringElem …
Non-inline replacement for LcSettingSetString …