theConfig 10.0
Loading...
Searching...
No Matches
LcConfigC_lc.h File Reference
#include "LibLcConfig_lc.h"
#include "LcConfigC_def_lc.h"
#include "LcSettingC_def_lc.h"
+ Include dependency graph for LcConfigC_lc.h:

Go to the source code of this file.

Namespaces

namespace  liblcconfig
 

Functions

static LC_CFG liblcconfig::LcConfigCreate (MK_TYP type, config_t *nat)
 create a LcConfigC instance …
 
void liblcconfig::LcConfigDelete_RT (MK_RT mkrt, LC_CFG const cfg)
 delete a LcConfigC instance …
 
enum MkErrorE liblcconfig::LcConfigIncludeCall (LcConfigIncludeCallF_ARGS)
 config-file include __parser__(callback-name)call
 
void liblcconfig::LcConfigIncludeFree (LcConfigIncludeFreeF_ARGS)
 config-file include __parser__(callback-name)free
 
enum MkErrorE liblcconfig::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 liblcconfig::LcConfigGetIncludeFunc (LC_CFG const cfg)
 return the callback-name for the include-config-file
 
enum MkErrorE liblcconfig::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 liblcconfig::LcConfigGetSettingDeleteFunc (LC_CFG const cfg)
 get the __parser__(callback-name) for setting-delete
 
enum MkErrorE liblcconfig::LcConfigWriteString_RT (MK_RT mkrt, LC_CFGN const cfg, MK_STRN *val_out)
 read the entire configuration cfg into the string val_out
 
void liblcconfig::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 liblcconfig::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 liblcconfig::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 liblcconfig::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 liblcconfig::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 liblcconfig::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 liblcconfig::LcConfigGetOptions (LC_CFGN config)
 These functions get and set the options for the configuration config
 
static MK_I16 liblcconfig::LcConfigGetTabWidth (LC_CFGN config)
 These functions, which are implemented as macros, get and set the tab width for the configuration config
 
static LC_CFS liblcconfig::LcConfigLookup (LC_CFGN config, MK_STRN path)
 This function locates the setting in the configuration config specified by the path path
 
static enum MkErrorE liblcconfig::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 liblcconfig::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 liblcconfig::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 liblcconfig::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 liblcconfig::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 liblcconfig::LcConfigRootSetting (LC_CFGN config)
 This function, which is implemented as a macro, returns the root setting for the configuration config
 
static void liblcconfig::LcConfigClear (LC_CFG config)
 Since v1.7 This function clears the configuration config
 
static enum MkErrorE liblcconfig::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 liblcconfig::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 liblcconfig::LcConfigWriteFile (LC_CFG config, MK_STRN filename)
 This function writes the configuration config to the file named filename
 
static void liblcconfig::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 liblcconfig::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 liblcconfig::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 liblcconfig::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 liblcconfig::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 liblcconfig::LcConfigSetOptions (LC_CFG config, enum LcConfigOptionsEF options)
 These functions get and set the options for the configuration config
 
static void liblcconfig::LcConfigSetTabWidth (LC_CFG config, MK_I16 width)
 These functions, which are implemented as macros, get and set the tab width for the configuration config