|
theConfig 10.0
|
Classes | |
| struct | LcConfigS |
| Struct to represent the data from the LcConfigC … More... | |
| struct | LcSettingS |
| Struct to represent the data from the LcSettingC … More... | |
Typedefs | |
| typedef MK_PTRB * | LC_CBP |
| typedef enum MkErrorE(* | LcConfigIncludeCallF) (LcConfigIncludeCallF_ARGS) |
| typedef void(* | LcConfigIncludeFreeF) (LcConfigIncludeFreeF_ARGS) |
| typedef enum MkErrorE(* | LcSettingDeleteCallF) (LcSettingDeleteCallF_ARGS) |
| typedef void(* | LcSettingDeleteFreeF) (LcSettingDeleteFreeF_ARGS) |
| typedef struct LcConfigS * | LC_CFG |
class-shortcut for struct LcConfigS *, all shortcut using the XX_YYY syntax (only for public API) … | |
| typedef const struct LcConfigS * | LC_CFGN |
class-shortcut for const struct LcConfigS *, all const shortcut using the XX_YYYC syntax (only for public API) … | |
| typedef struct LcConfigS | LC_CFGR |
reference-shortcut for struct LcConfigS, all shortcut using the XX_YYYR syntax (only for public API) … | |
| typedef struct LcSettingS * | LC_CFS |
class-shortcut for struct LcSettingS *, all shortcut using the XX_YYY syntax (only for public API) … | |
| typedef const struct LcSettingS * | LC_CFSN |
class-shortcut for const struct LcSettingS *, all const shortcut using the XX_YYYC syntax (only for public API) … | |
| typedef struct LcSettingS | LC_CFSR |
reference-shortcut for struct LcSettingS, all shortcut using the XX_YYYR syntax (only for public API) … | |
| typedef enum LcErrorE | LcErrorE |
| define the return-code of a method-call … | |
| typedef enum LcErrorTypeE | LcErrorTypeE |
| define the error-source of a LcConfigC … | |
| typedef void(* | LcSetupThreadF) (MK_RT mkrt) |
| prototype of the runtime-callback … | |
Functions | |
| static LC_CFG | LcConfigCreate (MK_TYP type, config_t *nat) |
| create a LcConfigC instance … | |
| void | LcConfigDelete_RT (MK_RT mkrt, LC_CFG const cfg) |
| delete a LcConfigC instance … | |
| enum MkErrorE | LcConfigIncludeCall (LcConfigIncludeCallF_ARGS) |
| config-file include __parser__(callback-name) → call … | |
| void | LcConfigIncludeFree (LcConfigIncludeFreeF_ARGS) |
| config-file include __parser__(callback-name) → free … | |
| enum MkErrorE | LcConfigSetIncludeFunc_RT (MK_RT mkrt, LC_CFG const cfg, LcConfigIncludeCallF fConfigIncludeCall, LC_CBP fConfigIncludeData, LcConfigIncludeFreeF fConfigIncludeFree) |
| set the __parser__(callback-name) for the include-config-file … | |
| static MK_PTR | LcConfigGetIncludeFunc (LC_CFG const cfg) |
| return the callback-name for the include-config-file … | |
| enum MkErrorE | LcConfigSetSettingDeleteFunc_RT (MK_RT mkrt, LC_CFG const cfg, LcSettingDeleteCallF fSettingDeleteCall, LC_CBP fSettingDeleteData, LcSettingDeleteFreeF fSettingDeleteFree) |
| set the callback-name for the setting-delete … | |
| static MK_PTR | LcConfigGetSettingDeleteFunc (LC_CFG const cfg) |
| get the __parser__(callback-name) for setting-delete … | |
| enum MkErrorE | LcConfigWriteString_RT (MK_RT mkrt, LC_CFGN const cfg, MK_STRN *val_out) |
| read the entire configuration cfg into the string val_out … | |
| void | LcConfigLog_RT (MK_RT mkrt, LC_CFGN const cfg, MK_OBJN fmtobj, MK_DBG const debug, MK_STRN const callfunc, MK_I32 const lvl) |
| log the config … | |
| static enum LcErrorTypeE | LcConfigErrorType (LC_CFGN config) |
| This function, which is implemented as a macro, returns the type of error that occurred during the last call to one of the read or write functions … | |
| static enum LcConfigFormatE | LcConfigGetDefaultFormat (LC_CFGN config) |
| These functions, which are implemented as macros, get and set the default external format for settings in the configuration config … | |
| static MK_I16 | LcConfigGetFloatPrecision (LC_CFGN config) |
| Since v1.6 These functions get and set the number of decimal digits to output after the radix character when writing the configuration to a file or stream … | |
| static MK_STRN | LcConfigGetIncludeDir (LC_CFGN config) |
| ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config … | |
| static MK_BOOL | LcConfigGetOption (LC_CFGN config, enum LcConfigOptionsEF option) |
| Since v1.7 These functions get and set the given option of the configuration config … | |
| static enum LcConfigOptionsEF | LcConfigGetOptions (LC_CFGN config) |
| These functions get and set the options for the configuration config … | |
| static MK_I16 | LcConfigGetTabWidth (LC_CFGN config) |
| These functions, which are implemented as macros, get and set the tab width for the configuration config … | |
| static LC_CFS | LcConfigLookup (LC_CFGN config, MK_STRN path) |
| This function locates the setting in the configuration config specified by the path path … | |
| static enum MkErrorE | LcConfigLookupBool (LC_CFGN config, MK_STRN path, MK_BOOL *value_out) |
| These functions look up the value of the setting in the configuration config specified by the path path … | |
| static enum MkErrorE | LcConfigLookupFloat (LC_CFGN config, MK_STRN path, MK_DBL *value_out) |
| These functions look up the value of the setting in the configuration config specified by the path path … | |
| static enum MkErrorE | LcConfigLookupInt (LC_CFGN config, MK_STRN path, MK_I32 *value_out) |
| These functions look up the value of the setting in the configuration config specified by the path path … | |
| static enum MkErrorE | LcConfigLookupInt64 (LC_CFGN config, MK_STRN path, MK_I64 *value_out) |
| These functions look up the value of the setting in the configuration config specified by the path path … | |
| static enum MkErrorE | LcConfigLookupString (LC_CFGN config, MK_STRN path, MK_STRN *value_out) |
| These functions look up the value of the setting in the configuration config specified by the path path … | |
| static LC_CFS | LcConfigRootSetting (LC_CFGN config) |
| This function, which is implemented as a macro, returns the root setting for the configuration config … | |
| static void | LcConfigClear (LC_CFG config) |
| Since v1.7 This function clears the configuration config … | |
| static enum MkErrorE | LcConfigReadFile (LC_CFG config, MK_STRN filename) |
| This function reads and parses a configuration from the file named filename into the configuration object config … | |
| static enum MkErrorE | LcConfigReadString (LC_CFG config, MK_STRN str) |
| This function reads and parses a configuration from the string str into the configuration object config … | |
| static enum MkErrorE | LcConfigWriteFile (LC_CFG config, MK_STRN filename) |
| This function writes the configuration config to the file named filename … | |
| static void | LcConfigSetDefaultFormat (LC_CFG config, enum LcConfigFormatE format) |
| These functions, which are implemented as macros, get and set the default external format for settings in the configuration config … | |
| static void | LcConfigSetFloatPrecision (LC_CFG config, MK_I16 digits) |
| Since v1.6 These functions get and set the number of decimal digits to output after the radix character when writing the configuration to a file or stream … | |
| static void | LcConfigSetIncludeDir (LC_CFG config, MK_STRN include_dir) |
| ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config … | |
| static void | LcConfigSetIncludeFuncHide (LC_CFG config, config_include_fn_t func) |
| Since v1.7 Specifies the include function func to use when processing include directives … | |
| static void | LcConfigSetOption (LC_CFG config, enum LcConfigOptionsEF option, MK_BOOL flag) |
| Since v1.7 These functions get and set the given option of the configuration config … | |
| static void | LcConfigSetOptions (LC_CFG config, enum LcConfigOptionsEF options) |
| These functions get and set the options for the configuration config … | |
| static void | LcConfigSetTabWidth (LC_CFG config, MK_I16 width) |
| These functions, which are implemented as macros, get and set the tab width for the configuration config … | |
| MK_BFL | LcSettingLookupAll (LC_CFSN setting) |
| addon - read an entire configuration below setting into MkBufferListC … | |
| void | LcSettingLog_RT (MK_RT mkrt, LC_CFSN const setting, MK_OBJN fmtobj, MK_DBG const debug, MK_STRN const callfunc, MK_I32 const lvl) |
| log the setting … | |
| static LC_CFS | LcSettingGetElem (LC_CFSN setting, MK_I32 idx) |
| This function fetches the element at the given index index in the setting setting, which must be an array, list, or group … | |
| static LC_CFS | LcSettingGetMember (LC_CFSN setting, MK_STRN name) |
| This function fetches the child setting named name from the group setting … | |
| static MK_BOOL | LcSettingGetBool (LC_CFSN setting) |
| These functions return the value of the given setting … | |
| static MK_BOOL | LcSettingGetBoolElem (LC_CFSN setting, MK_I32 idx) |
| These functions return the value at the specified index index in the setting setting … | |
| static MK_DBL | LcSettingGetFloat (LC_CFSN setting) |
| These functions return the value of the given setting … | |
| static MK_DBL | LcSettingGetFloatElem (LC_CFSN setting, MK_I32 idx) |
| These functions return the value at the specified index index in the setting setting … | |
| static enum LcConfigFormatE | LcSettingGetFormat (LC_CFSN setting) |
| These functions get and set the external format for the setting setting … | |
| static MK_PTR | LcSettingGetHookHide (LC_CFSN setting) |
| 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 MK_I32 | LcSettingGetInt (LC_CFSN setting) |
| These functions return the value of the given setting … | |
| static MK_I64 | LcSettingGetInt64 (LC_CFSN setting) |
| These functions return the value of the given setting … | |
| static MK_I64 | LcSettingGetInt64Elem (LC_CFSN setting, MK_I32 idx) |
| These functions return the value at the specified index index in the setting setting … | |
| static MK_I32 | LcSettingGetIntElem (LC_CFSN setting, MK_I32 idx) |
| These functions return the value at the specified index index in the setting setting … | |
| static MK_STRN | LcSettingGetString (LC_CFSN setting) |
| These functions return the value of the given setting … | |
| static MK_STRN | LcSettingGetStringElem (LC_CFSN setting, MK_I32 idx) |
| These functions return the value at the specified index index in the setting setting … | |
| static MK_BOOL | LcSettingIsAggregate (LC_CFSN setting) |
| These convenience functions, some of which are implemented as macros, test if the setting setting is of an aggregate type (a group, array, or list), of a scalar type (integer, 64-bit integer, floating point, boolean, or string), and of a number (integer, 64-bit integer, or floating point), respectively … | |
| static MK_BOOL | LcSettingIsArray (LC_CFSN setting) |
| These convenience functions, which are implemented as macros, test if the setting setting is of a given type … | |
| static MK_BOOL | LcSettingIsGroup (LC_CFSN setting) |
| These convenience functions, which are implemented as macros, test if the setting setting is of a given type … | |
| static MK_BOOL | LcSettingIsList (LC_CFSN setting) |
| These convenience functions, which are implemented as macros, test if the setting setting is of a given type … | |
| static MK_BOOL | LcSettingIsNumber (LC_CFSN setting) |
| These convenience functions, some of which are implemented as macros, test if the setting setting is of an aggregate type (a group, array, or list), of a scalar type (integer, 64-bit integer, floating point, boolean, or string), and of a number (integer, 64-bit integer, or floating point), respectively … | |
| static MK_BOOL | LcSettingIsRoot (LC_CFSN setting) |
| This function returns CONFIG_TRUE if the given setting is the root setting, and CONFIG_FALSE otherwise … | |
| static MK_BOOL | LcSettingIsScalar (LC_CFSN setting) |
| These convenience functions, some of which are implemented as macros, test if the setting setting is of an aggregate type (a group, array, or list), of a scalar type (integer, 64-bit integer, floating point, boolean, or string), and of a number (integer, 64-bit integer, or floating point), respectively … | |
| static LC_CFS | LcSettingLookup (LC_CFS setting, MK_STRN path) |
| This function locates a setting by a path path relative to the setting setting … | |
| static enum MkErrorE | LcSettingLookupBool (LC_CFSN setting, MK_STRN name, MK_BOOL *value_out) |
| These functions look up the value of the child setting named name of the setting setting … | |
| static enum MkErrorE | LcSettingLookupFloat (LC_CFSN setting, MK_STRN name, MK_DBL *value_out) |
| These functions look up the value of the child setting named name of the setting setting … | |
| static enum MkErrorE | LcSettingLookupInt (LC_CFSN setting, MK_STRN name, MK_I32 *value_out) |
| These functions look up the value of the child setting named name of the setting setting … | |
| static enum MkErrorE | LcSettingLookupInt64 (LC_CFSN setting, MK_STRN name, MK_I64 *value_out) |
| These functions look up the value of the child setting named name of the setting setting … | |
| static enum MkErrorE | LcSettingLookupString (LC_CFSN setting, MK_STRN name, MK_STRN *value_out) |
| These functions look up the value of the child setting named name of the setting setting … | |
| static LC_CFS | LcSettingParent (LC_CFSN setting) |
This function returns the parent setting of the given setting, or NULL if setting is the root setting … | |
| static MK_I32 | LcSettingIndex (LC_CFSN setting) |
| This function returns the index of the given setting within its parent setting … | |
| static MK_I32 | LcSettingLength (LC_CFSN setting) |
| This function returns the number of settings in a group, or the number of elements in a list or array … | |
| static MK_STRN | LcSettingName (LC_CFSN setting) |
This function returns the name of the given setting, or NULL if the setting has no name … | |
| static enum MkErrorE | LcSettingRemove (LC_CFS parent, MK_STRN name) |
| This function removes and destroys the setting named name from the parent setting parent, which must be a group … | |
| static enum MkErrorE | LcSettingRemoveElem (LC_CFS parent, MK_I32 idx) |
| This function removes the child setting at the given index index from the setting parent, which must be a group, list, or array … | |
| static MK_STRN | LcSettingSourceFile (LC_CFSN setting) |
| This function returns the name of the file from which the setting setting was read, or NULL if the setting was not read from a file … | |
| static MK_I32 | LcSettingSourceLine (LC_CFSN setting) |
| This function returns the line number of the configuration file or stream at which the setting setting was read, or 0 if no line number is available … | |
| static enum LcConfigTypeE | LcSettingType (LC_CFSN setting) |
| This function returns the type of the given setting … | |
| 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 … | |
| static LC_CFS | LcSettingAdd (LC_CFS parent, MK_STRN name, enum LcConfigTypeE __type) |
| This function adds a new child setting or element to the setting parent, which must be a group, array, or list … | |
| static LC_CFS | LcSettingAddIfNotExists (LC_CFS setting, MK_STRN name, enum LcConfigTypeE cfgtype) |
| addon - add name with type only if not exists in the setting … | |
| static LC_CFG | LcSettingGetConfig (LC_CFSN setting) |
| addon - return the LcConfigC from the LcSettingC … | |
| static bool | LcSettingExists (const LC_CFS setting, MK_STRN name) |
| addon - return true if name exists in the setting otherwise false … | |
| void | LcSetup (void) |
| setup cclcconfig internal memory … | |
| void | LcCleanup (void) |
| cleanup cclcconfig internal memory … | |
| enum MkErrorE | LcConfigErrorToMQ (MK_OBJN const obj, MK_STRN const func, MK_STRN const file, MK_I32 const line) |
| if a libconfig funtion return a LcErrorE use this function to convert the libconfig-error into the libmkkernel-error … | |
| void | LcSetupThreadCallback (LcSetupThreadF call) |
| callback used to register a new runtime … | |
LcConfigC - signature check | |
| static bool | LcCfgCheck (MK_MNGN mng) |
| check LcConfigS -> libmkkernel::MkObjectS::signature … | |
| static bool | LcCfgCheckO (MK_OBJN obj) |
| check LcConfigS -> libmkkernel::MkObjectS::signature … | |
LcConfigC - cast from a defined or a undefined instance | |
| static LC_CFG | LcCfg (MK_MNG mng) |
| cast a unknown-object into an LcConfigS pointer or NULL if not possible | |
| static LC_CFGN | LcCfgN (MK_MNGN mng) |
| (const) cast a unknown-object into an LcConfigS pointer or NULL if not possible | |
LcConfigC - Export - inline - interact with an external software | |
| static MK_ARTIFICIAL LC_CFG | LcConfigC_ObjNew (config_t *hdl) |
| return Programming-Language-Micro-Kernel (PLMK) instance from native hdl … | |
| static LC_CFG | LcConfigC_ObjCreate (config_t *hdl) |
| return Programming-Language-Micro-Kernel (PLMK) instance from native hdl … | |
| static MK_HDL | LcConfigHandleGet_RT (MK_RT mkrt, LC_CFG const cfg) |
| Handle-Get-Slot - returns a export-hdl to the LcConfigC useable for external storage | |
| static LC_CFG | LcConfigHandleResolve_RT (MK_RT mkrt, MK_HDL const netHdl) |
Handle-Resolve-Slot - return a LcConfigC from netHdl or MK_NULL if invalid… | |
LcConfigC - Misc - function - unspecified functions to perform different tasks | |
| static LC_CFG | LcConfigGetNull (void) |
Null-Slot - return a LcConfigC typed NULL instance … | |
LcConfigC - Introspection - inline - access to all instances created by class starting with the last one | |
| static LC_CFG | LcConfigInstances_RT (MK_RT mkrt) |
| get head-instance from linked-list of LcConfigS type … | |
| static LC_CFG | LcConfigNext (LC_CFG const cfg) |
| get next instance from linked-list of LcConfigS type | |
| static LC_CFG | LcConfigPrev (LC_CFG const cfg) |
| get previous instance from linked-list of LcConfigS type | |
LcSettingC - signature check | |
| static bool | LcCfsCheck (MK_MNGN mng) |
| check LcSettingS -> libmkkernel::MkObjectS::signature … | |
| static bool | LcCfsCheckO (MK_OBJN obj) |
| check LcSettingS -> libmkkernel::MkObjectS::signature … | |
LcSettingC - cast from a defined or a undefined instance | |
| static LC_CFS | LcCfs (MK_MNG mng) |
| cast a unknown-object into an LcSettingS pointer or NULL if not possible | |
| static LC_CFSN | LcCfsN (MK_MNGN mng) |
| (const) cast a unknown-object into an LcSettingS pointer or NULL if not possible | |
LcSettingC - Export - inline - interact with an external software | |
| static MK_ARTIFICIAL LC_CFS | LcSettingC_ObjNew (config_setting_t *hdl) |
| return Programming-Language-Micro-Kernel (PLMK) instance from native hdl … | |
| static LC_CFS | LcSettingC_ObjCreate (config_setting_t *hdl) |
| return Programming-Language-Micro-Kernel (PLMK) instance from native hdl … | |
| static MK_HDL | LcSettingHandleGet_RT (MK_RT mkrt, LC_CFS const cfs) |
| Handle-Get-Slot - returns a export-hdl to the LcSettingC useable for external storage | |
| static LC_CFS | LcSettingHandleResolve_RT (MK_RT mkrt, MK_HDL const netHdl) |
Handle-Resolve-Slot - return a LcSettingC from netHdl or MK_NULL if invalid… | |
LcSettingC - Misc - function - unspecified functions to perform different tasks | |
| static LC_CFS | LcSettingGetNull (void) |
Null-Slot - return a LcSettingC typed NULL instance … | |
LcSettingC - Introspection - inline - access to all instances created by class starting with the last one | |
| static LC_CFS | LcSettingInstances_RT (MK_RT mkrt) |
| get head-instance from linked-list of LcSettingS type … | |
| static LC_CFS | LcSettingNext (LC_CFS const cfs) |
| get next instance from linked-list of LcSettingS type | |
| static LC_CFS | LcSettingPrev (LC_CFS const cfs) |
| get previous instance from linked-list of LcSettingS type | |
LcConfigFormatE | |
| enum | LcConfigFormatE { CONFIG_FORMAT_DEFAULT =0 , CONFIG_FORMAT_HEX =1 } |
| set the format of a LcSettingC … More... | |
| typedef enum LcConfigFormatE | LcConfigFormatE |
| define the number-format of a LcSettingC … | |
| MK_STRN | LcConfigFormatE_ToString (enum LcConfigFormatE value) |
| return the LcConfigFormatE as string … | |
| static MK_I32 | LcConfigFormatE_ToInt (enum LcConfigFormatE value) |
| return the LcConfigFormatE as integer … | |
| enum MkErrorE | LcConfigFormatE_FromInt (MK_I32 const value, enum LcConfigFormatE *value_out) |
| return the LcConfigFormatE from integer … | |
LcConfigTypeE | |
| enum | LcConfigTypeE { CONFIG_TYPE_NONE =0 , CONFIG_TYPE_GROUP =1 , CONFIG_TYPE_INT =2 , CONFIG_TYPE_INT64 =3 , CONFIG_TYPE_FLOAT =4 , CONFIG_TYPE_STRING =5 , CONFIG_TYPE_BOOL =6 , CONFIG_TYPE_ARRAY =7 , CONFIG_TYPE_LIST =8 } |
| define the data-type of a LcSettingC … More... | |
| typedef enum LcConfigTypeE | LcConfigTypeE |
| define the data-type of a LcSettingC … | |
| MK_STRN | LcConfigTypeE_ToString (enum LcConfigTypeE value) |
| return the LcConfigTypeE as string … | |
| static MK_I32 | LcConfigTypeE_ToInt (enum LcConfigTypeE value) |
| return the LcConfigTypeE as integer … | |
| enum MkErrorE | LcConfigTypeE_FromInt (MK_I32 const value, enum LcConfigTypeE *value_out) |
| return the LcConfigTypeE from integer … | |
LcConfigOptionsEF | |
| enum | LcConfigOptionsEF { CONFIG_OPTION_NONE =0x0 , CONFIG_OPTION_AUTOCONVERT =0x01 , CONFIG_OPTION_SEMICOLON_SEPARATORS =0x02 , CONFIG_OPTION_COLON_ASSIGNMENT_FOR_GROUPS =0x04 , CONFIG_OPTION_COLON_ASSIGNMENT_FOR_NON_GROUPS =0x08 , CONFIG_OPTION_OPEN_BRACE_ON_SEPARATE_LINE =0x10 , CONFIG_OPTION_ALLOW_SCIENTIFIC_NOTATION =0x20 , CONFIG_OPTION_FSYNC =0x40 , CONFIG_OPTION_ALLOW_OVERRIDES =0x80 } |
| define the configuration-option of a LcConfigC … More... | |
| typedef enum LcConfigOptionsEF | LcConfigOptionsEF |
| define the configuration-option of a LcConfigC … | |
| MK_STRN | LcConfigOptionsEF_ToString (enum LcConfigOptionsEF value) |
| return the LcConfigOptionsEF as string … | |
| static MK_I32 | LcConfigOptionsEF_ToInt (enum LcConfigOptionsEF value) |
| return the LcConfigOptionsEF as integer … | |
| enum MkErrorE | LcConfigOptionsEF_FromInt (MK_I32 const value, enum LcConfigOptionsEF *value_out) |
| return the LcConfigOptionsEF from integer … | |
LcErrorE | |
| enum | LcErrorE { CONFIG_FALSE =0 , CONFIG_TRUE =1 } |
| Signals an error and is used as the return value of a function … More... | |
| MK_STRN | LcErrorE_ToString (enum LcErrorE value) |
| return the LcErrorE as string … | |
| static MK_I32 | LcErrorE_ToInt (enum LcErrorE value) |
| return the LcErrorE as integer … | |
| enum MkErrorE | LcErrorE_FromInt (MK_I32 const value, enum LcErrorE *value_out) |
| return the LcErrorE from integer … | |
LcErrorTypeE | |
| enum | LcErrorTypeE { CONFIG_ERRROR_NONE = 0 , CONFIG_ERRROR_FILE_IO = 1 , CONFIG_ERRROR_PARSE = 2 } |
| error types More... | |
| MK_STRN | LcErrorTypeE_ToString (enum LcErrorTypeE value) |
| return the LcErrorTypeE as string … | |
| static MK_I32 | LcErrorTypeE_ToInt (enum LcErrorTypeE value) |
| return the LcErrorTypeE as integer … | |
| enum MkErrorE | LcErrorTypeE_FromInt (MK_I32 const value, enum LcErrorTypeE *value_out) |
| return the LcErrorTypeE from integer … | |
LcConfigC - type definition | |
| typedef struct LcConfigS | LcConfigCR |
instance-struct-reference same as struct LcConfigS, useable in a class-macro as: class##R … | |
| typedef const struct LcConfigS | LcConfigCNR |
const instance-struct-reference same as const struct LcConfigS, useable in a class-macro as: class##R … | |
| __thread MK_TYP | LcConfigC_TT |
| class as MkTypeDefS-class-type … | |
LcSettingC - type definition | |
| typedef struct LcSettingS | LcSettingCR |
instance-struct-reference same as struct LcSettingS, useable in a class-macro as: class##R … | |
| typedef const struct LcSettingS | LcSettingCNR |
const instance-struct-reference same as const struct LcSettingS, useable in a class-macro as: class##R … | |
| __thread MK_TYP | LcSettingC_TT |
| class as MkTypeDefS-class-type … | |