|
theConfig 10.0
|
tag: nhi1-release-250425 More...
#include "LibLcConfig_private_rb.h"
Include dependency graph for LcConfigC_rb.c:Go to the source code of this file.
Macros | |
| #define | META_FILE_NAME "LcConfigC_rb.c" |
| #define | OT_CLASS NS(LcConfigC) |
| #define | OT_CLASS_NAME "LcConfigC" |
| #define | OT_LNG2META(O) |
| #define | S_INIT NS(sInit)(MK_RT_CALL_ONLY) |
| #define | OT_SETUP_hdl OT_SETUP_hdl_tmpl(LcConfigC); |
| #define | OT_SETUP_hdl__null_allow OT_SETUP_hdl_tmpl__null_allow(LcConfigC); |
| #define | OT_SETUP_hdl_constr |
| #define | OT_SETUP_hdl_destr OT_SETUP_hdl_tmpl__null_allow(LcConfigC); |
| #define | OT_SETUP_hdl_static |
| #define | OT_SETUP_hdl_static_constr OT_SETUP_hdl_static |
| #define | SetupRtFromObj_X(hdl) |
| #define | SetupRtFromObj_XN(hdl) |
| #define | Create_doc "LcConfigC LcConfigC.Create()" |
| #define | new_doc "LcConfigC LcConfigC.new()" |
| #define | GetNull_doc "LcConfigC LcConfigC.GetNull()" |
| #define | HandleResolve_doc "LcConfigC LcConfigC.HandleResolve(netHdl:MK_HDL)" |
| #define | Instances_doc "LcConfigC LcConfigC.Instances()" |
| #define | Lookup_doc "LcSettingC config.Lookup(path:string) (const)" |
| #define | Next_doc "LcConfigC cfg.Next()" |
| #define | Prev_doc "LcConfigC cfg.Prev()" |
| #define | RootSetting_doc "LcSettingC config.RootSetting() (const)" |
| #define | Clear_doc "config.Clear()" |
| #define | ErrorType_doc "LcErrorTypeE config.ErrorType() (const)" |
| #define | GetDefaultFormat_doc "LcConfigFormatE config.GetDefaultFormat() (const)" |
| #define | GetFloatPrecision_doc "int16 config.GetFloatPrecision() (const)" |
| #define | GetIncludeDir_doc "string config.GetIncludeDir() (const)" |
| #define | GetOption_doc "bool config.GetOption(option:LcConfigOptionsEF) (const)" |
| #define | GetOptions_doc "LcConfigOptionsEF config.GetOptions() (const)" |
| #define | GetTabWidth_doc "int16 config.GetTabWidth() (const)" |
| #define | Log_doc "cfg.Log(?fmtobj:MkObjectC=nil?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?) (const)" |
| #define | ReadFile_doc "config.ReadFile(filename:string)" |
| #define | ReadString_doc "config.ReadString(str:string)" |
| #define | SetDefaultFormat_doc "config.SetDefaultFormat(format:LcConfigFormatE)" |
| #define | SetFloatPrecision_doc "config.SetFloatPrecision(digits:int16)" |
| #define | SetIncludeDir_doc "config.SetIncludeDir(include_dir:string)" |
| #define | SetIncludeFunc_doc "cfg.SetIncludeFunc(?fConfigIncludeData:LC_CBP=nil?)" |
| #define | SetOption_doc "config.SetOption(option:LcConfigOptionsEF, flag:bool)" |
| #define | SetOptions_doc "config.SetOptions(options:LcConfigOptionsEF)" |
| #define | SetSettingDeleteFunc_doc "cfg.SetSettingDeleteFunc(?fSettingDeleteData:LC_CBP=nil?)" |
| #define | SetTabWidth_doc "config.SetTabWidth(width:int16)" |
| #define | WriteFile_doc "config.WriteFile(filename:string)" |
| #define | LookupBool_doc "bool config.LookupBool(path:string) (const)" |
| #define | LookupFloat_doc "double config.LookupFloat(path:string) (const)" |
| #define | LookupInt_doc "int32 config.LookupInt(path:string) (const)" |
| #define | LookupInt64_doc "int64 config.LookupInt64(path:string) (const)" |
| #define | LookupString_doc "string config.LookupString(path:string) (const)" |
| #define | WriteString_doc "string cfg.WriteString() (const)" |
Functions | |
| static void | rblcconfig_sMark (MK_PTR) |
| static OT_OBJ_T | rblcconfig_LNG_CONSTR (OT_CLS_T clazz, MK_MNG mng, int objc, VALUE *objv) |
| static MK_PTR | rblcconfig_LcConfigC_selfCreate (MK_RT mkrt, MK_OBJ obj, MK_PTR envP) |
| static void | rblcconfig_LcConfigC_selfDelete (MK_RT mkrt, MK_PTR ptr, MK_PTR envP) |
| static void | rblcconfig_LcConfigC_selfUnlink (MK_RT mkrt, MK_PTR ptr, MK_PTR envP) |
| static void | rblcconfig_sInit (MK_RT mkrt) |
| static OT_ProcRet | rblcconfig_LcConfigC_HandleResolve (OtClass_ARGS) |
Ruby: → C-API Handle-Resolve-Slot - return a LcConfigC from netHdl or nil if invalid… | |
| MK_DEPRECATED static MK_UNUSED OT_ProcRet | rblcconfig_LcConfigC_HandleGet (LcConfigC_ARGS) |
| static OT_ProcRet | rblcconfig_LcConfigC_Next (LcConfigC_ARGS) |
Ruby: → C-API get next instance from linked-list of LcConfigS type | |
| static OT_ProcRet | rblcconfig_LcConfigC_Prev (LcConfigC_ARGS) |
Ruby: → C-API get previous instance from linked-list of LcConfigS type | |
| static OT_ProcRet | rblcconfig_LcConfigC_Instances (OtClass_ARGS) |
Ruby: → C-API get head-instance from linked-list of LcConfigS type … | |
| static OT_ProcRet | rblcconfig_LcConfigC_GetNull (OtClass_ARGS) |
Ruby: → C-API Null-Slot - return a LcConfigC typed NULL instance … | |
| static OT_ProcRet | rblcconfig_LcConfigC_ErrorType (LcConfigC_ARGS) |
Ruby: → C-API 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 OT_ProcRet | rblcconfig_LcConfigC_GetDefaultFormat (LcConfigC_ARGS) |
Ruby: → C-API These functions, which are implemented as macros, get and set the default external format for settings in the configuration config … | |
| static OT_ProcRet | rblcconfig_LcConfigC_GetFloatPrecision (LcConfigC_ARGS) |
Ruby: → C-API 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 OT_ProcRet | rblcconfig_LcConfigC_GetIncludeDir (LcConfigC_ARGS) |
Ruby: → C-API ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config … | |
| static OT_ProcRet | rblcconfig_LcConfigC_GetOption (LcConfigC_ARGS) |
Ruby: → C-API Since v1.7 These functions get and set the given option of the configuration config … | |
| static OT_ProcRet | rblcconfig_LcConfigC_GetOptions (LcConfigC_ARGS) |
Ruby: → C-API These functions get and set the options for the configuration config … | |
| static OT_ProcRet | rblcconfig_LcConfigC_GetTabWidth (LcConfigC_ARGS) |
Ruby: → C-API These functions, which are implemented as macros, get and set the tab width for the configuration config … | |
| static OT_ProcRet | rblcconfig_LcConfigC_Lookup (LcConfigC_ARGS) |
Ruby: → C-API This function locates the setting in the configuration config specified by the path path … | |
| static OT_ProcRet | rblcconfig_LcConfigC_LookupBool (LcConfigC_ARGS) |
Ruby: → C-API These functions look up the value of the setting in the configuration config specified by the path path … | |
| static OT_ProcRet | rblcconfig_LcConfigC_LookupFloat (LcConfigC_ARGS) |
Ruby: → C-API These functions look up the value of the setting in the configuration config specified by the path path … | |
| static OT_ProcRet | rblcconfig_LcConfigC_LookupInt (LcConfigC_ARGS) |
Ruby: → C-API These functions look up the value of the setting in the configuration config specified by the path path … | |
| static OT_ProcRet | rblcconfig_LcConfigC_LookupInt64 (LcConfigC_ARGS) |
Ruby: → C-API These functions look up the value of the setting in the configuration config specified by the path path … | |
| static OT_ProcRet | rblcconfig_LcConfigC_LookupString (LcConfigC_ARGS) |
Ruby: → C-API These functions look up the value of the setting in the configuration config specified by the path path … | |
| static OT_ProcRet | rblcconfig_LcConfigC_RootSetting (LcConfigC_ARGS) |
Ruby: → C-API This function, which is implemented as a macro, returns the root setting for the configuration config … | |
| static OT_ProcRet | rblcconfig_LcConfigC_Clear (LcConfigC_ARGS) |
Ruby: → C-API Since v1.7 This function clears the configuration config … | |
| static OT_ProcRet | rblcconfig_LcConfigC_Log (LcConfigC_ARGS) |
Ruby: → C-API log the config … | |
| static OT_ProcRet | rblcconfig_LcConfigC_ReadFile (LcConfigC_ARGS) |
Ruby: → C-API This function reads and parses a configuration from the file named filename into the configuration object config … | |
| static OT_ProcRet | rblcconfig_LcConfigC_ReadString (LcConfigC_ARGS) |
Ruby: → C-API This function reads and parses a configuration from the string str into the configuration object config … | |
| static OT_ProcRet | rblcconfig_LcConfigC_WriteFile (LcConfigC_ARGS) |
Ruby: → C-API This function writes the configuration config to the file named filename … | |
| static OT_ProcRet | rblcconfig_LcConfigC_WriteString (LcConfigC_ARGS) |
Ruby: → C-API read the entire configuration cfg into the string val_out … | |
| static OT_ProcRet | rblcconfig_LcConfigC_SetDefaultFormat (LcConfigC_ARGS) |
Ruby: → C-API These functions, which are implemented as macros, get and set the default external format for settings in the configuration config … | |
| static OT_ProcRet | rblcconfig_LcConfigC_SetFloatPrecision (LcConfigC_ARGS) |
Ruby: → C-API 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 OT_ProcRet | rblcconfig_LcConfigC_SetIncludeDir (LcConfigC_ARGS) |
Ruby: → C-API ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config … | |
| static OT_ProcRet | rblcconfig_LcConfigC_SetIncludeFunc (LcConfigC_ARGS) |
Ruby: → C-API set the __parser__(callback-name) for the include-config-file … | |
| static OT_ProcRet | rblcconfig_LcConfigC_SetOption (LcConfigC_ARGS) |
Ruby: → C-API Since v1.7 These functions get and set the given option of the configuration config … | |
| static OT_ProcRet | rblcconfig_LcConfigC_SetOptions (LcConfigC_ARGS) |
Ruby: → C-API These functions get and set the options for the configuration config … | |
| static OT_ProcRet | rblcconfig_LcConfigC_SetSettingDeleteFunc (LcConfigC_ARGS) |
Ruby: → C-API set the callback-name for the setting-delete … | |
| static OT_ProcRet | rblcconfig_LcConfigC_SetTabWidth (LcConfigC_ARGS) |
Ruby: → C-API These functions, which are implemented as macros, get and set the tab width for the configuration config … | |
| static OT_ProcRet | rblcconfig_LcConfigC_Create (OtClass_ARGS) |
Ruby: → C-API create a LcConfigC instance … | |
| static OT_ProcRet | rblcconfig_LcConfigC_new (CONSTR_ARGS) |
Ruby: → C-API create a LcConfigC instance … | |
| void | rblcconfig_LcConfigC_Init (MK_RT mkrt) |
Variables | |
| OT_CLS_T | OT_CLASS |
| static MK_TYP | LcConfigCTT = NULL |
| OT_OBJ_T | rblcconfig_LcConfigC_MK_NULL = 0 |
| static rb_data_type_t | rblcconfig_LcConfigC_T |
tag: nhi1-release-250425
Definition in file LcConfigC_rb.c.
| #define Clear_doc "config.Clear()" |
Definition at line 122 of file LcConfigC_rb.c.
| #define Create_doc "LcConfigC LcConfigC.Create()" |
Definition at line 107 of file LcConfigC_rb.c.
| #define ErrorType_doc "LcErrorTypeE config.ErrorType() (const)" |
Definition at line 123 of file LcConfigC_rb.c.
| #define GetDefaultFormat_doc "LcConfigFormatE config.GetDefaultFormat() (const)" |
Definition at line 124 of file LcConfigC_rb.c.
| #define GetFloatPrecision_doc "int16 config.GetFloatPrecision() (const)" |
Definition at line 125 of file LcConfigC_rb.c.
| #define GetIncludeDir_doc "string config.GetIncludeDir() (const)" |
Definition at line 126 of file LcConfigC_rb.c.
| #define GetNull_doc "LcConfigC LcConfigC.GetNull()" |
Definition at line 111 of file LcConfigC_rb.c.
| #define GetOption_doc "bool config.GetOption(option:LcConfigOptionsEF) (const)" |
Definition at line 127 of file LcConfigC_rb.c.
| #define GetOptions_doc "LcConfigOptionsEF config.GetOptions() (const)" |
Definition at line 128 of file LcConfigC_rb.c.
| #define GetTabWidth_doc "int16 config.GetTabWidth() (const)" |
Definition at line 129 of file LcConfigC_rb.c.
| #define HandleResolve_doc "LcConfigC LcConfigC.HandleResolve(netHdl:MK_HDL)" |
Definition at line 112 of file LcConfigC_rb.c.
| #define Instances_doc "LcConfigC LcConfigC.Instances()" |
Definition at line 113 of file LcConfigC_rb.c.
| #define Log_doc "cfg.Log(?fmtobj:MkObjectC=nil?, ?debug:int32=0?, ?callfunc:string=\"MK_NULL\"?, ?lvl:int32=0?) (const)" |
Definition at line 131 of file LcConfigC_rb.c.
| #define Lookup_doc "LcSettingC config.Lookup(path:string) (const)" |
Definition at line 116 of file LcConfigC_rb.c.
| #define LookupBool_doc "bool config.LookupBool(path:string) (const)" |
Definition at line 145 of file LcConfigC_rb.c.
| #define LookupFloat_doc "double config.LookupFloat(path:string) (const)" |
Definition at line 146 of file LcConfigC_rb.c.
| #define LookupInt64_doc "int64 config.LookupInt64(path:string) (const)" |
Definition at line 148 of file LcConfigC_rb.c.
| #define LookupInt_doc "int32 config.LookupInt(path:string) (const)" |
Definition at line 147 of file LcConfigC_rb.c.
| #define LookupString_doc "string config.LookupString(path:string) (const)" |
Definition at line 149 of file LcConfigC_rb.c.
| #define META_FILE_NAME "LcConfigC_rb.c" |
Definition at line 10 of file LcConfigC_rb.c.
| #define new_doc "LcConfigC LcConfigC.new()" |
Definition at line 108 of file LcConfigC_rb.c.
| #define Next_doc "LcConfigC cfg.Next()" |
Definition at line 117 of file LcConfigC_rb.c.
| #define OT_CLASS NS(LcConfigC) |
Definition at line 14 of file LcConfigC_rb.c.
| #define OT_CLASS_NAME "LcConfigC" |
Definition at line 15 of file LcConfigC_rb.c.
| #define OT_LNG2META | ( | O | ) |
Definition at line 17 of file LcConfigC_rb.c.
| #define OT_SETUP_hdl OT_SETUP_hdl_tmpl(LcConfigC); |
Definition at line 87 of file LcConfigC_rb.c.
| #define OT_SETUP_hdl__null_allow OT_SETUP_hdl_tmpl__null_allow(LcConfigC); |
Definition at line 88 of file LcConfigC_rb.c.
| #define OT_SETUP_hdl_constr |
Definition at line 89 of file LcConfigC_rb.c.
| #define OT_SETUP_hdl_destr OT_SETUP_hdl_tmpl__null_allow(LcConfigC); |
Definition at line 92 of file LcConfigC_rb.c.
| #define OT_SETUP_hdl_static |
Definition at line 93 of file LcConfigC_rb.c.
| #define OT_SETUP_hdl_static_constr OT_SETUP_hdl_static |
Definition at line 95 of file LcConfigC_rb.c.
| #define Prev_doc "LcConfigC cfg.Prev()" |
Definition at line 118 of file LcConfigC_rb.c.
| #define ReadFile_doc "config.ReadFile(filename:string)" |
Definition at line 132 of file LcConfigC_rb.c.
| #define ReadString_doc "config.ReadString(str:string)" |
Definition at line 133 of file LcConfigC_rb.c.
| #define RootSetting_doc "LcSettingC config.RootSetting() (const)" |
Definition at line 119 of file LcConfigC_rb.c.
| #define S_INIT NS(sInit)(MK_RT_CALL_ONLY) |
Definition at line 69 of file LcConfigC_rb.c.
| #define SetDefaultFormat_doc "config.SetDefaultFormat(format:LcConfigFormatE)" |
Definition at line 134 of file LcConfigC_rb.c.
| #define SetFloatPrecision_doc "config.SetFloatPrecision(digits:int16)" |
Definition at line 135 of file LcConfigC_rb.c.
| #define SetIncludeDir_doc "config.SetIncludeDir(include_dir:string)" |
Definition at line 136 of file LcConfigC_rb.c.
| #define SetIncludeFunc_doc "cfg.SetIncludeFunc(?fConfigIncludeData:LC_CBP=nil?)" |
Definition at line 137 of file LcConfigC_rb.c.
| #define SetOption_doc "config.SetOption(option:LcConfigOptionsEF, flag:bool)" |
Definition at line 138 of file LcConfigC_rb.c.
| #define SetOptions_doc "config.SetOptions(options:LcConfigOptionsEF)" |
Definition at line 139 of file LcConfigC_rb.c.
| #define SetSettingDeleteFunc_doc "cfg.SetSettingDeleteFunc(?fSettingDeleteData:LC_CBP=nil?)" |
Definition at line 140 of file LcConfigC_rb.c.
| #define SetTabWidth_doc "config.SetTabWidth(width:int16)" |
Definition at line 141 of file LcConfigC_rb.c.
| #define SetupRtFromObj_X | ( | hdl | ) |
Definition at line 98 of file LcConfigC_rb.c.
| #define SetupRtFromObj_XN | ( | hdl | ) |
Definition at line 99 of file LcConfigC_rb.c.
| #define WriteFile_doc "config.WriteFile(filename:string)" |
Definition at line 142 of file LcConfigC_rb.c.
| #define WriteString_doc "string cfg.WriteString() (const)" |
Definition at line 150 of file LcConfigC_rb.c.
| void rblcconfig_LcConfigC_Init | ( | MK_RT | mkrt | ) |
Definition at line 717 of file LcConfigC_rb.c.
Definition at line 55 of file LcConfigC_rb.c.
Definition at line 60 of file LcConfigC_rb.c.
Definition at line 64 of file LcConfigC_rb.c.
|
inlinestatic |
Definition at line 46 of file LcConfigC_rb.c.
|
static |
Definition at line 70 of file LcConfigC_rb.c.
|
static |
Definition at line 714 of file LcConfigC_rb.c.
|
static |
Definition at line 22 of file LcConfigC_rb.c.
| OT_CLS_T OT_CLASS |
Definition at line 19 of file LcConfigC_rb.c.
| OT_OBJ_T rblcconfig_LcConfigC_MK_NULL = 0 |
Definition at line 23 of file LcConfigC_rb.c.
|
static |
Definition at line 29 of file LcConfigC_rb.c.