theConfig 10.0
|
tag: nhi1-release-250425 More...
#include "LibLcConfig_private_tcl.h"
Go to the source code of this file.
Macros | |
#define | META_FILE_NAME "LcConfigC_tcl.c" |
#define | OT_CLASS NS(LcConfigC) |
#define | OT_CLASS_NAME "LcConfigC" |
#define | OBJECT2CFG(O) |
#define | OT_SETUP_hdl_static_constr_pre |
#define | OT_SETUP_hdl_static_constr |
#define | OT_SETUP_hdl_static |
#define | OT_SETUP_hdl SetupHdlFromMetaData_2(CFG,LC_CFG); |
#define | OT_SETUP_hdl__null_allow SetupHdlFromMetaData__null_allow_2(CFG,LC_CFG); |
#define | OT_SETUP_hdl_destr SetupHdlFromMetaData__null_allow_2(CFG,LC_CFG); |
#define | OT_SETUP_hdl_constr_pre |
#define | OT_SETUP_hdl_constr |
#define | SetupRtFromHdl_XN(hdl) |
#define | SetupRtFromHdl_X(hdl) |
#define | ClassInit |
#define | VER TCL_OO_METHOD_VERSION_CURRENT |
#define | CTOR_doc "LcConfigC [LcConfigC CTOR]" |
#define | Create_doc "LcConfigC [LcConfigC Create]" |
#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=\"MK_NULL\"? ?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=\"MK_NULL\"?" |
#define | SetOption_doc "$config SetOption option:LcConfigOptionsEF flag:bool" |
#define | SetOptions_doc "$config SetOptions options:LcConfigOptionsEF" |
#define | SetSettingDeleteFunc_doc "$cfg SetSettingDeleteFunc ?fSettingDeleteData:LC_CBP=\"MK_NULL\"?" |
#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 MK_PTR | tcllcconfig_LcConfigC_selfCreate (MK_RT mkrt, MK_OBJ const obj, MK_PTR const env) |
static void | tcllcconfig_LcConfigC_selfDelete (MK_RT mkrt, MK_PTR selfP, MK_PTR const env) |
static void | tcllcconfig_LcConfigC_selfUnlink (MK_RT mkrt, MK_PTR selfP, MK_PTR const env) |
static OT_ProcRet | tcllcconfig_LcConfigC_HandleResolve (OtClass_ARGS) |
Tcl: → C-API Handle-Resolve-Slot - return a LcConfigC from netHdl or "MK_NULL" if invalid… | |
MK_DEPRECATED static MK_UNUSED OT_ProcRet | tcllcconfig_LcConfigC_HandleGet (LcConfigC_ARGS) |
static OT_ProcRet | tcllcconfig_LcConfigC_Next (LcConfigC_ARGS) |
Tcl: → C-API get next instance from linked-list of LcConfigS type | |
static OT_ProcRet | tcllcconfig_LcConfigC_Prev (LcConfigC_ARGS) |
Tcl: → C-API get previous instance from linked-list of LcConfigS type | |
static OT_ProcRet | tcllcconfig_LcConfigC_Instances (OtClass_ARGS) |
Tcl: → C-API get head-instance from linked-list of LcConfigS type … | |
static OT_ProcRet | tcllcconfig_LcConfigC_GetNull (OtClass_ARGS) |
Tcl: → C-API Null-Slot - return a LcConfigC typed NULL instance … | |
static OT_ProcRet | tcllcconfig_LcConfigC_ErrorType (LcConfigC_ARGS) |
Tcl: → 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 | tcllcconfig_LcConfigC_GetDefaultFormat (LcConfigC_ARGS) |
Tcl: → 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 | tcllcconfig_LcConfigC_GetFloatPrecision (LcConfigC_ARGS) |
Tcl: → 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 | tcllcconfig_LcConfigC_GetIncludeDir (LcConfigC_ARGS) |
Tcl: → 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 | tcllcconfig_LcConfigC_GetOption (LcConfigC_ARGS) |
Tcl: → C-API Since v1.7 These functions get and set the given option of the configuration config … | |
static OT_ProcRet | tcllcconfig_LcConfigC_GetOptions (LcConfigC_ARGS) |
Tcl: → C-API These functions get and set the options for the configuration config … | |
static OT_ProcRet | tcllcconfig_LcConfigC_GetTabWidth (LcConfigC_ARGS) |
Tcl: → C-API These functions, which are implemented as macros, get and set the tab width for the configuration config … | |
static OT_ProcRet | tcllcconfig_LcConfigC_Lookup (LcConfigC_ARGS) |
Tcl: → C-API This function locates the setting in the configuration config specified by the path path … | |
static OT_ProcRet | tcllcconfig_LcConfigC_LookupBool (LcConfigC_ARGS) |
Tcl: → C-API These functions look up the value of the setting in the configuration config specified by the path path … | |
static OT_ProcRet | tcllcconfig_LcConfigC_LookupFloat (LcConfigC_ARGS) |
Tcl: → C-API These functions look up the value of the setting in the configuration config specified by the path path … | |
static OT_ProcRet | tcllcconfig_LcConfigC_LookupInt (LcConfigC_ARGS) |
Tcl: → C-API These functions look up the value of the setting in the configuration config specified by the path path … | |
static OT_ProcRet | tcllcconfig_LcConfigC_LookupInt64 (LcConfigC_ARGS) |
Tcl: → C-API These functions look up the value of the setting in the configuration config specified by the path path … | |
static OT_ProcRet | tcllcconfig_LcConfigC_LookupString (LcConfigC_ARGS) |
Tcl: → C-API These functions look up the value of the setting in the configuration config specified by the path path … | |
static OT_ProcRet | tcllcconfig_LcConfigC_RootSetting (LcConfigC_ARGS) |
Tcl: → C-API This function, which is implemented as a macro, returns the root setting for the configuration config … | |
static OT_ProcRet | tcllcconfig_LcConfigC_Clear (LcConfigC_ARGS) |
Tcl: → C-API Since v1.7 This function clears the configuration config … | |
static OT_ProcRet | tcllcconfig_LcConfigC_Log (LcConfigC_ARGS) |
Tcl: → C-API log the config … | |
static OT_ProcRet | tcllcconfig_LcConfigC_ReadFile (LcConfigC_ARGS) |
Tcl: → C-API This function reads and parses a configuration from the file named filename into the configuration object config … | |
static OT_ProcRet | tcllcconfig_LcConfigC_ReadString (LcConfigC_ARGS) |
Tcl: → C-API This function reads and parses a configuration from the string str into the configuration object config … | |
static OT_ProcRet | tcllcconfig_LcConfigC_WriteFile (LcConfigC_ARGS) |
Tcl: → C-API This function writes the configuration config to the file named filename … | |
static OT_ProcRet | tcllcconfig_LcConfigC_WriteString (LcConfigC_ARGS) |
Tcl: → C-API read the entire configuration cfg into the string val_out … | |
static OT_ProcRet | tcllcconfig_LcConfigC_SetDefaultFormat (LcConfigC_ARGS) |
Tcl: → 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 | tcllcconfig_LcConfigC_SetFloatPrecision (LcConfigC_ARGS) |
Tcl: → 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 | tcllcconfig_LcConfigC_SetIncludeDir (LcConfigC_ARGS) |
Tcl: → 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 | tcllcconfig_LcConfigC_SetIncludeFunc (LcConfigC_ARGS) |
Tcl: → C-API set the __parser__(callback-name) for the include-config-file … | |
static OT_ProcRet | tcllcconfig_LcConfigC_SetOption (LcConfigC_ARGS) |
Tcl: → C-API Since v1.7 These functions get and set the given option of the configuration config … | |
static OT_ProcRet | tcllcconfig_LcConfigC_SetOptions (LcConfigC_ARGS) |
Tcl: → C-API These functions get and set the options for the configuration config … | |
static OT_ProcRet | tcllcconfig_LcConfigC_SetSettingDeleteFunc (LcConfigC_ARGS) |
Tcl: → C-API set the callback-name for the setting-delete … | |
static OT_ProcRet | tcllcconfig_LcConfigC_SetTabWidth (LcConfigC_ARGS) |
Tcl: → C-API These functions, which are implemented as macros, get and set the tab width for the configuration config … | |
static OT_ProcRet | tcllcconfig_LcConfigC_CTOR (CONSTR_ARGS) |
Tcl: → C-API create a LcConfigC instance … | |
static OT_ProcRet | tcllcconfig_LcConfigC_Create (OtClass_ARGS) |
Tcl: → C-API create a LcConfigC instance … | |
int | tcllcconfig_pLcConfigC_Init (MK_RT mkrt, Tcl_Interp *interp, Tcl_Namespace *ns) |
Variables | |
__thread OT_CLS_T | OT_CLASS = NULL |
static __thread MK_TYP | LcConfigCTT = NULL |
__thread OT_OBJ_T | tcllcconfig_LcConfigC_MK_NULL = NULL |
static Tcl_MethodType | tcllcconfig_sOtClassDef [] |
static Tcl_MethodType | tcllcconfig_sInstanceDef [] |
tag: nhi1-release-250425
Definition in file LcConfigC_tcl.c.
#define ClassInit |
Definition at line 77 of file LcConfigC_tcl.c.
#define Clear_doc "$config Clear" |
Definition at line 130 of file LcConfigC_tcl.c.
#define Create_doc "LcConfigC [LcConfigC Create]" |
Definition at line 116 of file LcConfigC_tcl.c.
#define CTOR_doc "LcConfigC [LcConfigC CTOR]" |
Definition at line 115 of file LcConfigC_tcl.c.
#define ErrorType_doc "LcErrorTypeE [$config ErrorType] (const)" |
Definition at line 131 of file LcConfigC_tcl.c.
#define GetDefaultFormat_doc "LcConfigFormatE [$config GetDefaultFormat] (const)" |
Definition at line 132 of file LcConfigC_tcl.c.
#define GetFloatPrecision_doc "int16 [$config GetFloatPrecision] (const)" |
Definition at line 133 of file LcConfigC_tcl.c.
#define GetIncludeDir_doc "string [$config GetIncludeDir] (const)" |
Definition at line 134 of file LcConfigC_tcl.c.
#define GetNull_doc "LcConfigC [LcConfigC GetNull]" |
Definition at line 119 of file LcConfigC_tcl.c.
#define GetOption_doc "bool [$config GetOption option:LcConfigOptionsEF] (const)" |
Definition at line 135 of file LcConfigC_tcl.c.
#define GetOptions_doc "LcConfigOptionsEF [$config GetOptions] (const)" |
Definition at line 136 of file LcConfigC_tcl.c.
#define GetTabWidth_doc "int16 [$config GetTabWidth] (const)" |
Definition at line 137 of file LcConfigC_tcl.c.
#define HandleResolve_doc "LcConfigC [LcConfigC HandleResolve netHdl:MK_HDL]" |
Definition at line 120 of file LcConfigC_tcl.c.
#define Instances_doc "LcConfigC [LcConfigC Instances]" |
Definition at line 121 of file LcConfigC_tcl.c.
#define Log_doc "$cfg Log ?fmtobj:MkObjectC=\"MK_NULL\"? ?debug:int32=0? ?callfunc:string=\"MK_NULL\"? ?lvl:int32=0? (const)" |
Definition at line 139 of file LcConfigC_tcl.c.
#define Lookup_doc "LcSettingC [$config Lookup path:string] (const)" |
Definition at line 124 of file LcConfigC_tcl.c.
#define LookupBool_doc "bool [$config LookupBool path:string] (const)" |
Definition at line 153 of file LcConfigC_tcl.c.
#define LookupFloat_doc "double [$config LookupFloat path:string] (const)" |
Definition at line 154 of file LcConfigC_tcl.c.
#define LookupInt64_doc "int64 [$config LookupInt64 path:string] (const)" |
Definition at line 156 of file LcConfigC_tcl.c.
#define LookupInt_doc "int32 [$config LookupInt path:string] (const)" |
Definition at line 155 of file LcConfigC_tcl.c.
#define LookupString_doc "string [$config LookupString path:string] (const)" |
Definition at line 157 of file LcConfigC_tcl.c.
#define META_FILE_NAME "LcConfigC_tcl.c" |
Definition at line 11 of file LcConfigC_tcl.c.
#define Next_doc "LcConfigC [$cfg Next]" |
Definition at line 125 of file LcConfigC_tcl.c.
#define OBJECT2CFG | ( | O | ) |
Definition at line 18 of file LcConfigC_tcl.c.
#define OT_CLASS NS(LcConfigC) |
Definition at line 15 of file LcConfigC_tcl.c.
#define OT_CLASS_NAME "LcConfigC" |
Definition at line 16 of file LcConfigC_tcl.c.
#define OT_SETUP_hdl SetupHdlFromMetaData_2(CFG,LC_CFG); |
Definition at line 59 of file LcConfigC_tcl.c.
#define OT_SETUP_hdl__null_allow SetupHdlFromMetaData__null_allow_2(CFG,LC_CFG); |
Definition at line 60 of file LcConfigC_tcl.c.
#define OT_SETUP_hdl_constr |
Definition at line 64 of file LcConfigC_tcl.c.
#define OT_SETUP_hdl_constr_pre |
Definition at line 63 of file LcConfigC_tcl.c.
#define OT_SETUP_hdl_destr SetupHdlFromMetaData__null_allow_2(CFG,LC_CFG); |
Definition at line 61 of file LcConfigC_tcl.c.
#define OT_SETUP_hdl_static |
Definition at line 53 of file LcConfigC_tcl.c.
#define OT_SETUP_hdl_static_constr |
Definition at line 49 of file LcConfigC_tcl.c.
#define OT_SETUP_hdl_static_constr_pre |
Definition at line 48 of file LcConfigC_tcl.c.
#define Prev_doc "LcConfigC [$cfg Prev]" |
Definition at line 126 of file LcConfigC_tcl.c.
#define ReadFile_doc "$config ReadFile filename:string" |
Definition at line 140 of file LcConfigC_tcl.c.
#define ReadString_doc "$config ReadString str:string" |
Definition at line 141 of file LcConfigC_tcl.c.
#define RootSetting_doc "LcSettingC [$config RootSetting] (const)" |
Definition at line 127 of file LcConfigC_tcl.c.
#define SetDefaultFormat_doc "$config SetDefaultFormat format:LcConfigFormatE" |
Definition at line 142 of file LcConfigC_tcl.c.
#define SetFloatPrecision_doc "$config SetFloatPrecision digits:int16" |
Definition at line 143 of file LcConfigC_tcl.c.
#define SetIncludeDir_doc "$config SetIncludeDir include_dir:string" |
Definition at line 144 of file LcConfigC_tcl.c.
#define SetIncludeFunc_doc "$cfg SetIncludeFunc ?fConfigIncludeData:LC_CBP=\"MK_NULL\"?" |
Definition at line 145 of file LcConfigC_tcl.c.
#define SetOption_doc "$config SetOption option:LcConfigOptionsEF flag:bool" |
Definition at line 146 of file LcConfigC_tcl.c.
#define SetOptions_doc "$config SetOptions options:LcConfigOptionsEF" |
Definition at line 147 of file LcConfigC_tcl.c.
#define SetSettingDeleteFunc_doc "$cfg SetSettingDeleteFunc ?fSettingDeleteData:LC_CBP=\"MK_NULL\"?" |
Definition at line 148 of file LcConfigC_tcl.c.
#define SetTabWidth_doc "$config SetTabWidth width:int16" |
Definition at line 149 of file LcConfigC_tcl.c.
#define SetupRtFromHdl_X | ( | hdl | ) |
Definition at line 73 of file LcConfigC_tcl.c.
#define SetupRtFromHdl_XN | ( | hdl | ) |
Definition at line 72 of file LcConfigC_tcl.c.
#define VER TCL_OO_METHOD_VERSION_CURRENT |
Definition at line 108 of file LcConfigC_tcl.c.
#define WriteFile_doc "$config WriteFile filename:string" |
Definition at line 150 of file LcConfigC_tcl.c.
#define WriteString_doc "string [$cfg WriteString] (const)" |
Definition at line 158 of file LcConfigC_tcl.c.
|
static |
Definition at line 28 of file LcConfigC_tcl.c.
Definition at line 33 of file LcConfigC_tcl.c.
Definition at line 39 of file LcConfigC_tcl.c.
int tcllcconfig_pLcConfigC_Init | ( | MK_RT | mkrt, |
Tcl_Interp * | interp, | ||
Tcl_Namespace * | ns ) |
Public API
Definition at line 985 of file LcConfigC_tcl.c.
|
static |
Definition at line 24 of file LcConfigC_tcl.c.
__thread OT_CLS_T OT_CLASS = NULL |
Definition at line 21 of file LcConfigC_tcl.c.
__thread OT_OBJ_T tcllcconfig_LcConfigC_MK_NULL = NULL |
Definition at line 25 of file LcConfigC_tcl.c.
|
static |
Definition at line 931 of file LcConfigC_tcl.c.
|
static |
Definition at line 914 of file LcConfigC_tcl.c.