theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_tcl.c File Reference

tag: nhi1-release-250425 More...

+ Include dependency graph for LcSettingC_tcl.c:

Go to the source code of this file.

Macros

#define META_FILE_NAME   "LcSettingC_tcl.c"
 
#define OT_CLASS   NS(LcSettingC)
 
#define OT_CLASS_NAME   "LcSettingC"
 
#define OBJECT2CFS(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(CFS,LC_CFS);
 
#define OT_SETUP_hdl__null_allow   SetupHdlFromMetaData__null_allow_2(CFS,LC_CFS);
 
#define OT_SETUP_hdl_destr   SetupHdlFromMetaData__null_allow_2(CFS,LC_CFS);
 
#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 GetNull_doc   "LcSettingC [LcSettingC GetNull]"
 
#define HandleResolve_doc   "LcSettingC [LcSettingC HandleResolve netHdl:MK_HDL]"
 
#define Instances_doc   "LcSettingC [LcSettingC Instances]"
 
#define Add_doc   "LcSettingC [$parent Add name:string __type:LcConfigTypeE]"
 
#define AddIfNotExists_doc   "LcSettingC [$setting AddIfNotExists name:string cfgtype:LcConfigTypeE]"
 
#define GetConfig_doc   "LcConfigC [$setting GetConfig] (const)"
 
#define GetElem_doc   "LcSettingC [$setting GetElem idx:int32] (const)"
 
#define GetMember_doc   "LcSettingC [$setting GetMember name:string] (const)"
 
#define Lookup_doc   "LcSettingC [$setting Lookup path:string]"
 
#define LookupAll_doc   "MkBufferListC [$setting LookupAll] (const)"
 
#define Next_doc   "LcSettingC [$cfs Next]"
 
#define Parent_doc   "LcSettingC [$setting Parent] (const)"
 
#define Prev_doc   "LcSettingC [$cfs Prev]"
 
#define SetBoolElem_doc   "LcSettingC [$setting SetBoolElem idx:int32 value:int32]"
 
#define SetFloatElem_doc   "LcSettingC [$setting SetFloatElem idx:int32 value:double]"
 
#define SetInt64Elem_doc   "LcSettingC [$setting SetInt64Elem idx:int32 value:int64]"
 
#define SetIntElem_doc   "LcSettingC [$setting SetIntElem idx:int32 value:int32]"
 
#define SetStringElem_doc   "LcSettingC [$setting SetStringElem idx:int32 value:string]"
 
#define Exists_doc   "bool [$setting Exists name:string]"
 
#define GetBool_doc   "bool [$setting GetBool] (const)"
 
#define GetBoolElem_doc   "bool [$setting GetBoolElem idx:int32] (const)"
 
#define GetFloat_doc   "double [$setting GetFloat] (const)"
 
#define GetFloatElem_doc   "double [$setting GetFloatElem idx:int32] (const)"
 
#define GetFormat_doc   "LcConfigFormatE [$setting GetFormat] (const)"
 
#define GetInt_doc   "int32 [$setting GetInt] (const)"
 
#define GetInt64_doc   "int64 [$setting GetInt64] (const)"
 
#define GetInt64Elem_doc   "int64 [$setting GetInt64Elem idx:int32] (const)"
 
#define GetIntElem_doc   "int32 [$setting GetIntElem idx:int32] (const)"
 
#define GetString_doc   "string [$setting GetString] (const)"
 
#define GetStringElem_doc   "string [$setting GetStringElem idx:int32] (const)"
 
#define Index_doc   "int32 [$setting Index] (const)"
 
#define IsAggregate_doc   "bool [$setting IsAggregate] (const)"
 
#define IsArray_doc   "bool [$setting IsArray] (const)"
 
#define IsGroup_doc   "bool [$setting IsGroup] (const)"
 
#define IsList_doc   "bool [$setting IsList] (const)"
 
#define IsNumber_doc   "bool [$setting IsNumber] (const)"
 
#define IsRoot_doc   "bool [$setting IsRoot] (const)"
 
#define IsScalar_doc   "bool [$setting IsScalar] (const)"
 
#define Length_doc   "int32 [$setting Length] (const)"
 
#define Name_doc   "string [$setting Name] (const)"
 
#define Remove_doc   "$parent Remove name:string"
 
#define RemoveElem_doc   "$parent RemoveElem idx:int32"
 
#define SetBool_doc   "$setting SetBool value:bool"
 
#define SetFloat_doc   "$setting SetFloat value:double"
 
#define SetFormat_doc   "$setting SetFormat format:LcConfigFormatE"
 
#define SetInt_doc   "$setting SetInt value:int32"
 
#define SetInt64_doc   "$setting SetInt64 value:int64"
 
#define SetString_doc   "$setting SetString value:string"
 
#define SourceFile_doc   "string [$setting SourceFile] (const)"
 
#define SourceLine_doc   "int32 [$setting SourceLine] (const)"
 
#define Type_doc   "LcConfigTypeE [$setting Type] (const)"
 
#define LookupBool_doc   "bool [$setting LookupBool name:string] (const)"
 
#define LookupFloat_doc   "double [$setting LookupFloat name:string] (const)"
 
#define LookupInt_doc   "int32 [$setting LookupInt name:string] (const)"
 
#define LookupInt64_doc   "int64 [$setting LookupInt64 name:string] (const)"
 
#define LookupString_doc   "string [$setting LookupString name:string] (const)"
 

Functions

static MK_PTR tcllcconfig_LcSettingC_selfCreate (MK_RT mkrt, MK_OBJ const obj, MK_PTR const env)
 
static void tcllcconfig_LcSettingC_selfDelete (MK_RT mkrt, MK_PTR selfP, MK_PTR const env)
 
static void tcllcconfig_LcSettingC_selfUnlink (MK_RT mkrt, MK_PTR selfP, MK_PTR const env)
 
static OT_ProcRet tcllcconfig_LcSettingC_HandleResolve (OtClass_ARGS)
  Tcl: (static) LcSettingC [LcSettingC HandleResolve netHdl:MK_HDL] C-API
Handle-Resolve-Slot - return a LcSettingC from netHdl or "MK_NULL" if invalid…
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet tcllcconfig_LcSettingC_HandleGet (LcSettingC_ARGS)
 
static OT_ProcRet tcllcconfig_LcSettingC_Next (LcSettingC_ARGS)
  Tcl: LcSettingC [$cfs Next] C-API
get next instance from linked-list of LcSettingS type
 
static OT_ProcRet tcllcconfig_LcSettingC_Prev (LcSettingC_ARGS)
  Tcl: LcSettingC [$cfs Prev] C-API
get previous instance from linked-list of LcSettingS type
 
static OT_ProcRet tcllcconfig_LcSettingC_Instances (OtClass_ARGS)
  Tcl: (static) LcSettingC [LcSettingC Instances] C-API
get head-instance from linked-list of LcSettingS type …
 
static OT_ProcRet tcllcconfig_LcSettingC_GetNull (OtClass_ARGS)
  Tcl: (static) LcSettingC [LcSettingC GetNull] C-API
Null-Slot - return a LcSettingC typed NULL instance …
 
static OT_ProcRet tcllcconfig_LcSettingC_GetElem (LcSettingC_ARGS)
  Tcl: LcSettingC [$setting GetElem idx:int32] C-API
This function fetches the element at the given index index in the setting setting, which must be an array, list, or group …
 
static OT_ProcRet tcllcconfig_LcSettingC_GetMember (LcSettingC_ARGS)
  Tcl: LcSettingC [$setting GetMember name:string] C-API
This function fetches the child setting named name from the group setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetBool (LcSettingC_ARGS)
  Tcl: bool [$setting GetBool] C-API
These functions return the value of the given setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetBoolElem (LcSettingC_ARGS)
  Tcl: bool [$setting GetBoolElem idx:int32] C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetFloat (LcSettingC_ARGS)
  Tcl: double [$setting GetFloat] C-API
These functions return the value of the given setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetFloatElem (LcSettingC_ARGS)
  Tcl: double [$setting GetFloatElem idx:int32] C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetFormat (LcSettingC_ARGS)
  Tcl: LcConfigFormatE [$setting GetFormat] C-API
These functions get and set the external format for the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetInt (LcSettingC_ARGS)
  Tcl: int32 [$setting GetInt] C-API
These functions return the value of the given setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetInt64 (LcSettingC_ARGS)
  Tcl: int64 [$setting GetInt64] C-API
These functions return the value of the given setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetInt64Elem (LcSettingC_ARGS)
  Tcl: int64 [$setting GetInt64Elem idx:int32] C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetIntElem (LcSettingC_ARGS)
  Tcl: int32 [$setting GetIntElem idx:int32] C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetString (LcSettingC_ARGS)
  Tcl: string [$setting GetString] C-API
These functions return the value of the given setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetStringElem (LcSettingC_ARGS)
  Tcl: string [$setting GetStringElem idx:int32] C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_IsAggregate (LcSettingC_ARGS)
  Tcl: bool [$setting IsAggregate] C-API
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 OT_ProcRet tcllcconfig_LcSettingC_IsArray (LcSettingC_ARGS)
  Tcl: bool [$setting IsArray] C-API
These convenience functions, which are implemented as macros, test if the setting setting is of a given type …
 
static OT_ProcRet tcllcconfig_LcSettingC_IsGroup (LcSettingC_ARGS)
  Tcl: bool [$setting IsGroup] C-API
These convenience functions, which are implemented as macros, test if the setting setting is of a given type …
 
static OT_ProcRet tcllcconfig_LcSettingC_IsList (LcSettingC_ARGS)
  Tcl: bool [$setting IsList] C-API
These convenience functions, which are implemented as macros, test if the setting setting is of a given type …
 
static OT_ProcRet tcllcconfig_LcSettingC_IsNumber (LcSettingC_ARGS)
  Tcl: bool [$setting IsNumber] C-API
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 OT_ProcRet tcllcconfig_LcSettingC_IsRoot (LcSettingC_ARGS)
  Tcl: bool [$setting IsRoot] C-API
This function returns CONFIG_TRUE if the given setting is the root setting, and CONFIG_FALSE otherwise …
 
static OT_ProcRet tcllcconfig_LcSettingC_IsScalar (LcSettingC_ARGS)
  Tcl: bool [$setting IsScalar] C-API
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 OT_ProcRet tcllcconfig_LcSettingC_Lookup (LcSettingC_ARGS)
  Tcl: LcSettingC [$setting Lookup path:string] C-API
This function locates a setting by a path path relative to the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_LookupAll (LcSettingC_ARGS)
  Tcl: MkBufferListC [$setting LookupAll] C-API
addon - read an entire configuration below setting into MkBufferListC
 
static OT_ProcRet tcllcconfig_LcSettingC_LookupBool (LcSettingC_ARGS)
  Tcl: bool [$setting LookupBool name:string] C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_LookupFloat (LcSettingC_ARGS)
  Tcl: double [$setting LookupFloat name:string] C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_LookupInt (LcSettingC_ARGS)
  Tcl: int32 [$setting LookupInt name:string] C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_LookupInt64 (LcSettingC_ARGS)
  Tcl: int64 [$setting LookupInt64 name:string] C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_LookupString (LcSettingC_ARGS)
  Tcl: string [$setting LookupString name:string] C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_AddIfNotExists (LcSettingC_ARGS)
  Tcl: LcSettingC [$setting AddIfNotExists name:string cfgtype:LcConfigTypeE] C-API
addon - add name with type only if not exists in the setting
 
static OT_ProcRet tcllcconfig_LcSettingC_Parent (LcSettingC_ARGS)
  Tcl: LcSettingC [$setting Parent] C-API
This function returns the parent setting of the given setting, or NULL if setting is the root setting …
 
static OT_ProcRet tcllcconfig_LcSettingC_Exists (LcSettingC_ARGS)
  Tcl: bool [$setting Exists name:string] C-API
addon - return true if name exists in the setting otherwise false
 
static OT_ProcRet tcllcconfig_LcSettingC_Index (LcSettingC_ARGS)
  Tcl: int32 [$setting Index] C-API
This function returns the index of the given setting within its parent setting …
 
static OT_ProcRet tcllcconfig_LcSettingC_Length (LcSettingC_ARGS)
  Tcl: int32 [$setting Length] C-API
This function returns the number of settings in a group, or the number of elements in a list or array …
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet tcllcconfig_LcSettingC_Log (LcSettingC_ARGS)
 
static OT_ProcRet tcllcconfig_LcSettingC_Name (LcSettingC_ARGS)
  Tcl: string [$setting Name] C-API
This function returns the name of the given setting, or NULL if the setting has no name …
 
static OT_ProcRet tcllcconfig_LcSettingC_Remove (LcSettingC_ARGS)
  Tcl: $parent Remove name:string C-API
This function removes and destroys the setting named name from the parent setting parent, which must be a group …
 
static OT_ProcRet tcllcconfig_LcSettingC_RemoveElem (LcSettingC_ARGS)
  Tcl: $parent RemoveElem idx:int32 C-API
This function removes the child setting at the given index index from the setting parent, which must be a group, list, or array …
 
static OT_ProcRet tcllcconfig_LcSettingC_SourceFile (LcSettingC_ARGS)
  Tcl: string [$setting SourceFile] C-API
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 OT_ProcRet tcllcconfig_LcSettingC_SourceLine (LcSettingC_ARGS)
  Tcl: int32 [$setting SourceLine] C-API
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 OT_ProcRet tcllcconfig_LcSettingC_Type (LcSettingC_ARGS)
  Tcl: LcConfigTypeE [$setting Type] C-API
This function returns the type of the given setting
 
static OT_ProcRet tcllcconfig_LcSettingC_SetBoolElem (LcSettingC_ARGS)
  Tcl: LcSettingC [$setting SetBoolElem idx:int32 value:int32] C-API
These functions set the value at the specified index index in the setting setting to value
 
static OT_ProcRet tcllcconfig_LcSettingC_SetFloatElem (LcSettingC_ARGS)
  Tcl: LcSettingC [$setting SetFloatElem idx:int32 value:double] C-API
These functions set the value at the specified index index in the setting setting to value
 
static OT_ProcRet tcllcconfig_LcSettingC_SetInt64Elem (LcSettingC_ARGS)
  Tcl: LcSettingC [$setting SetInt64Elem idx:int32 value:int64] C-API
These functions set the value at the specified index index in the setting setting to value
 
static OT_ProcRet tcllcconfig_LcSettingC_SetIntElem (LcSettingC_ARGS)
  Tcl: LcSettingC [$setting SetIntElem idx:int32 value:int32] C-API
These functions set the value at the specified index index in the setting setting to value
 
static OT_ProcRet tcllcconfig_LcSettingC_SetStringElem (LcSettingC_ARGS)
  Tcl: LcSettingC [$setting SetStringElem idx:int32 value:string] C-API
These functions set the value at the specified index index in the setting setting to value
 
static OT_ProcRet tcllcconfig_LcSettingC_SetBool (LcSettingC_ARGS)
  Tcl: $setting SetBool value:bool C-API
These functions set the value of the given setting to value
 
static OT_ProcRet tcllcconfig_LcSettingC_SetFloat (LcSettingC_ARGS)
  Tcl: $setting SetFloat value:double C-API
These functions set the value of the given setting to value
 
static OT_ProcRet tcllcconfig_LcSettingC_SetFormat (LcSettingC_ARGS)
  Tcl: $setting SetFormat format:LcConfigFormatE C-API
These functions get and set the external format for the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_SetInt (LcSettingC_ARGS)
  Tcl: $setting SetInt value:int32 C-API
These functions set the value of the given setting to value
 
static OT_ProcRet tcllcconfig_LcSettingC_SetInt64 (LcSettingC_ARGS)
  Tcl: $setting SetInt64 value:int64 C-API
These functions set the value of the given setting to value
 
static OT_ProcRet tcllcconfig_LcSettingC_SetString (LcSettingC_ARGS)
  Tcl: $setting SetString value:string C-API
These functions set the value of the given setting to value
 
static OT_ProcRet tcllcconfig_LcSettingC_Add (LcSettingC_ARGS)
  Tcl: (constructor) LcSettingC [$parent Add name:string __type:LcConfigTypeE] C-API
This function adds a new child setting or element to the setting parent, which must be a group, array, or list …
 
static OT_ProcRet tcllcconfig_LcSettingC_GetConfig (LcSettingC_ARGS)
  Tcl: LcConfigC [$setting GetConfig] C-API
addon - return the LcConfigC from the LcSettingC
 
int tcllcconfig_pLcSettingC_Init (MK_RT mkrt, Tcl_Interp *interp, Tcl_Namespace *ns)
 

Variables

__thread OT_CLS_T OT_CLASS = NULL
 
static __thread MK_TYP LcSettingCTT = NULL
 
__thread OT_OBJ_T tcllcconfig_LcSettingC_MK_NULL = NULL
 
static Tcl_MethodType tcllcconfig_sOtClassDef []
 
static Tcl_MethodType tcllcconfig_sInstanceDef []
 

Detailed Description

tag: nhi1-release-250425

Definition in file LcSettingC_tcl.c.

Macro Definition Documentation

◆ Add_doc

#define Add_doc   "LcSettingC [$parent Add name:string __type:LcConfigTypeE]"

Definition at line 120 of file LcSettingC_tcl.c.

◆ AddIfNotExists_doc

#define AddIfNotExists_doc   "LcSettingC [$setting AddIfNotExists name:string cfgtype:LcConfigTypeE]"

Definition at line 123 of file LcSettingC_tcl.c.

◆ ClassInit

#define ClassInit
Value:
/* if not already done, initialize NEW MQ type */ \
\
/* protect against double call */ \
if (LcSettingCTT->selfCreate == NS(LcSettingC_selfCreate)) return MK_OK; \
\
/* add "selfCreate" and "selfDelete" feature to the MQ-Class */ \
LcSettingCTT->selfCreate = NS(LcSettingC_selfCreate); \
LcSettingCTT->selfDelete = NS(LcSettingC_selfDelete); \
LcSettingCTT->selfUnlink = NS(LcSettingC_selfUnlink); \
\
/* create the TCL-class */ \
OT_SELF_T classO = MK(ClassDef)(interp,ns,LcSettingCTT); \
check_NULL(classO) goto error; \
OT_CLASS = Tcl_GetObjectAsClass(classO); \
\
/* create the TCL static Methods */ \
static MkThreadLocal OtUnknownS NS(sClassUnknown) = {OT_UNKNOWN_CLASS}; \
check_LNG(MK(UnknownSetup) (interp,classO,NS(sOtClassDef),&NS(sClassUnknown))) goto error; \
\
/* create the TCL instance Methods */ \
static MkThreadLocal OtUnknownS NS(sInstanceUnknown) = {OT_UNKNOWN_INSTANCE}; \
check_LNG(MK(UnknownSetup) (interp,classO,NS(sInstanceDef),&NS(sInstanceUnknown))) goto error; \
\
/* define the "NULL" object */ \
LC(LcSettingC_MK_NULL) = Tcl_GetObjectName(interp, \
MK(AtomCreate) (MK_RT_CALL interp, NULL /*obj*/, OT_CLASS, "MK_NULL" /*name*/, "::tcllcconfig::LcSettingC" /*ns*/) \
); \
Tcl_IncrRefCount(LC(LcSettingC_MK_NULL));
static __thread MK_TYP LcSettingCTT
#define OT_CLASS
#define NS(n)
#define LC(n)
#define MK(n)
@ OT_UNKNOWN_CLASS
@ OT_UNKNOWN_INSTANCE
Tcl_Object OT_SELF_T
#define LcSettingSTT
instance-type as MkTypeS-class-type (cast from LcSettingST into MkTypeS) …
MK_OK
#define MkThreadLocal
#define MK_RT_CALL
MkSelfUnlinkF selfUnlink
MkSelfDeleteF selfDelete
MkSelfCreateF selfCreate

Definition at line 77 of file LcSettingC_tcl.c.

77#define ClassInit \
78 /* if not already done, initialize NEW MQ type */ \
79 if (LcSettingCTT == NULL) LcSettingCTT = LcSettingSTT; \
80 \
81 /* protect against double call */ \
82 if (LcSettingCTT->selfCreate == NS(LcSettingC_selfCreate)) return MK_OK; \
83 \
84 /* add "selfCreate" and "selfDelete" feature to the MQ-Class */ \
85 LcSettingCTT->selfCreate = NS(LcSettingC_selfCreate); \
86 LcSettingCTT->selfDelete = NS(LcSettingC_selfDelete); \
87 LcSettingCTT->selfUnlink = NS(LcSettingC_selfUnlink); \
88 \
89 /* create the TCL-class */ \
90 OT_SELF_T classO = MK(ClassDef)(interp,ns,LcSettingCTT); \
91 check_NULL(classO) goto error; \
92 OT_CLASS = Tcl_GetObjectAsClass(classO); \
93 \
94 /* create the TCL static Methods */ \
95 static MkThreadLocal OtUnknownS NS(sClassUnknown) = {OT_UNKNOWN_CLASS}; \
96 check_LNG(MK(UnknownSetup) (interp,classO,NS(sOtClassDef),&NS(sClassUnknown))) goto error; \
97 \
98 /* create the TCL instance Methods */ \
99 static MkThreadLocal OtUnknownS NS(sInstanceUnknown) = {OT_UNKNOWN_INSTANCE}; \
100 check_LNG(MK(UnknownSetup) (interp,classO,NS(sInstanceDef),&NS(sInstanceUnknown))) goto error; \
101 \
102 /* define the "NULL" object */ \
103 LC(LcSettingC_MK_NULL) = Tcl_GetObjectName(interp, \
104 MK(AtomCreate) (MK_RT_CALL interp, NULL /*obj*/, OT_CLASS, "MK_NULL" /*name*/, "::tcllcconfig::LcSettingC" /*ns*/) \
105 ); \
106 Tcl_IncrRefCount(LC(LcSettingC_MK_NULL));

◆ Exists_doc

#define Exists_doc   "bool [$setting Exists name:string]"

Definition at line 139 of file LcSettingC_tcl.c.

◆ GetBool_doc

#define GetBool_doc   "bool [$setting GetBool] (const)"

Definition at line 140 of file LcSettingC_tcl.c.

◆ GetBoolElem_doc

#define GetBoolElem_doc   "bool [$setting GetBoolElem idx:int32] (const)"

Definition at line 141 of file LcSettingC_tcl.c.

◆ GetConfig_doc

#define GetConfig_doc   "LcConfigC [$setting GetConfig] (const)"

Definition at line 124 of file LcSettingC_tcl.c.

◆ GetElem_doc

#define GetElem_doc   "LcSettingC [$setting GetElem idx:int32] (const)"

Definition at line 125 of file LcSettingC_tcl.c.

◆ GetFloat_doc

#define GetFloat_doc   "double [$setting GetFloat] (const)"

Definition at line 142 of file LcSettingC_tcl.c.

◆ GetFloatElem_doc

#define GetFloatElem_doc   "double [$setting GetFloatElem idx:int32] (const)"

Definition at line 143 of file LcSettingC_tcl.c.

◆ GetFormat_doc

#define GetFormat_doc   "LcConfigFormatE [$setting GetFormat] (const)"

Definition at line 144 of file LcSettingC_tcl.c.

◆ GetInt64_doc

#define GetInt64_doc   "int64 [$setting GetInt64] (const)"

Definition at line 146 of file LcSettingC_tcl.c.

◆ GetInt64Elem_doc

#define GetInt64Elem_doc   "int64 [$setting GetInt64Elem idx:int32] (const)"

Definition at line 147 of file LcSettingC_tcl.c.

◆ GetInt_doc

#define GetInt_doc   "int32 [$setting GetInt] (const)"

Definition at line 145 of file LcSettingC_tcl.c.

◆ GetIntElem_doc

#define GetIntElem_doc   "int32 [$setting GetIntElem idx:int32] (const)"

Definition at line 148 of file LcSettingC_tcl.c.

◆ GetMember_doc

#define GetMember_doc   "LcSettingC [$setting GetMember name:string] (const)"

Definition at line 126 of file LcSettingC_tcl.c.

◆ GetNull_doc

#define GetNull_doc   "LcSettingC [LcSettingC GetNull]"

Definition at line 115 of file LcSettingC_tcl.c.

◆ GetString_doc

#define GetString_doc   "string [$setting GetString] (const)"

Definition at line 149 of file LcSettingC_tcl.c.

◆ GetStringElem_doc

#define GetStringElem_doc   "string [$setting GetStringElem idx:int32] (const)"

Definition at line 150 of file LcSettingC_tcl.c.

◆ HandleResolve_doc

#define HandleResolve_doc   "LcSettingC [LcSettingC HandleResolve netHdl:MK_HDL]"

Definition at line 116 of file LcSettingC_tcl.c.

◆ Index_doc

#define Index_doc   "int32 [$setting Index] (const)"

Definition at line 152 of file LcSettingC_tcl.c.

◆ Instances_doc

#define Instances_doc   "LcSettingC [LcSettingC Instances]"

Definition at line 117 of file LcSettingC_tcl.c.

◆ IsAggregate_doc

#define IsAggregate_doc   "bool [$setting IsAggregate] (const)"

Definition at line 153 of file LcSettingC_tcl.c.

◆ IsArray_doc

#define IsArray_doc   "bool [$setting IsArray] (const)"

Definition at line 154 of file LcSettingC_tcl.c.

◆ IsGroup_doc

#define IsGroup_doc   "bool [$setting IsGroup] (const)"

Definition at line 155 of file LcSettingC_tcl.c.

◆ IsList_doc

#define IsList_doc   "bool [$setting IsList] (const)"

Definition at line 156 of file LcSettingC_tcl.c.

◆ IsNumber_doc

#define IsNumber_doc   "bool [$setting IsNumber] (const)"

Definition at line 157 of file LcSettingC_tcl.c.

◆ IsRoot_doc

#define IsRoot_doc   "bool [$setting IsRoot] (const)"

Definition at line 158 of file LcSettingC_tcl.c.

◆ IsScalar_doc

#define IsScalar_doc   "bool [$setting IsScalar] (const)"

Definition at line 159 of file LcSettingC_tcl.c.

◆ Length_doc

#define Length_doc   "int32 [$setting Length] (const)"

Definition at line 160 of file LcSettingC_tcl.c.

◆ Lookup_doc

#define Lookup_doc   "LcSettingC [$setting Lookup path:string]"

Definition at line 127 of file LcSettingC_tcl.c.

◆ LookupAll_doc

#define LookupAll_doc   "MkBufferListC [$setting LookupAll] (const)"

Definition at line 128 of file LcSettingC_tcl.c.

◆ LookupBool_doc

#define LookupBool_doc   "bool [$setting LookupBool name:string] (const)"

Definition at line 176 of file LcSettingC_tcl.c.

◆ LookupFloat_doc

#define LookupFloat_doc   "double [$setting LookupFloat name:string] (const)"

Definition at line 177 of file LcSettingC_tcl.c.

◆ LookupInt64_doc

#define LookupInt64_doc   "int64 [$setting LookupInt64 name:string] (const)"

Definition at line 179 of file LcSettingC_tcl.c.

◆ LookupInt_doc

#define LookupInt_doc   "int32 [$setting LookupInt name:string] (const)"

Definition at line 178 of file LcSettingC_tcl.c.

◆ LookupString_doc

#define LookupString_doc   "string [$setting LookupString name:string] (const)"

Definition at line 180 of file LcSettingC_tcl.c.

◆ META_FILE_NAME

#define META_FILE_NAME   "LcSettingC_tcl.c"

Definition at line 11 of file LcSettingC_tcl.c.

◆ Name_doc

#define Name_doc   "string [$setting Name] (const)"

Definition at line 162 of file LcSettingC_tcl.c.

◆ Next_doc

#define Next_doc   "LcSettingC [$cfs Next]"

Definition at line 129 of file LcSettingC_tcl.c.

◆ OBJECT2CFS

#define OBJECT2CFS ( O)
Value:
MkAssertCastM(LcSettingC,(Tcl_ObjectGetMetadata(O, &MK(AtomMeta))))
#define MkAssertCastM(cls, m)

Definition at line 18 of file LcSettingC_tcl.c.

◆ OT_CLASS

#define OT_CLASS   NS(LcSettingC)

Definition at line 15 of file LcSettingC_tcl.c.

◆ OT_CLASS_NAME

#define OT_CLASS_NAME   "LcSettingC"

Definition at line 16 of file LcSettingC_tcl.c.

◆ OT_SETUP_hdl

#define OT_SETUP_hdl   SetupHdlFromMetaData_2(CFS,LC_CFS);

Definition at line 59 of file LcSettingC_tcl.c.

◆ OT_SETUP_hdl__null_allow

#define OT_SETUP_hdl__null_allow   SetupHdlFromMetaData__null_allow_2(CFS,LC_CFS);

Definition at line 60 of file LcSettingC_tcl.c.

◆ OT_SETUP_hdl_constr

#define OT_SETUP_hdl_constr
Value:
int __skip=Tcl_ObjectContextSkippedArgs(objCtx); \
MK_RT_UNUSED OT_SELF_T selfO = Tcl_ObjectContextObject(objCtx); \
LC_CFS hdl = (LC_CFS) &MkERROR;
#define OT_SETUP_hdl_constr_pre
struct LcSettingS * LC_CFS
class-shortcut for struct LcSettingS *, all shortcut using the XX_YYY syntax (only for public API) …
#define MkERROR
#define AllRtSetup_NULL
#define MK_RT_UNUSED
Struct to represent the data from the LcSettingC …

Definition at line 64 of file LcSettingC_tcl.c.

64#define OT_SETUP_hdl_constr \
65 OT_SETUP_hdl_constr_pre; \
66 int __skip=Tcl_ObjectContextSkippedArgs(objCtx); \
67 AllRtSetup_NULL; \
68 MK_RT_UNUSED OT_SELF_T selfO = Tcl_ObjectContextObject(objCtx); \
69 LC_CFS hdl = (LC_CFS) &MkERROR;

◆ OT_SETUP_hdl_constr_pre

#define OT_SETUP_hdl_constr_pre

Definition at line 63 of file LcSettingC_tcl.c.

◆ OT_SETUP_hdl_destr

#define OT_SETUP_hdl_destr   SetupHdlFromMetaData__null_allow_2(CFS,LC_CFS);

Definition at line 61 of file LcSettingC_tcl.c.

◆ OT_SETUP_hdl_static

#define OT_SETUP_hdl_static
Value:
int __skip=Tcl_ObjectContextSkippedArgs(objCtx); \
__attribute__((unused)) OT_SELF_T selfO = Tcl_ObjectContextObject(objCtx); \
__attribute__((unused)) MK_TYP hdl = LcSettingC##_TT;

Definition at line 53 of file LcSettingC_tcl.c.

53#define OT_SETUP_hdl_static \
54 int __skip=Tcl_ObjectContextSkippedArgs(objCtx); \
55 AllRtSetup_NULL; \
56 __attribute__((unused)) OT_SELF_T selfO = Tcl_ObjectContextObject(objCtx); \
57 __attribute__((unused)) MK_TYP hdl = LcSettingC##_TT;

◆ OT_SETUP_hdl_static_constr

#define OT_SETUP_hdl_static_constr
Value:
#define OT_SETUP_hdl_static_constr_pre
#define OT_SETUP_hdl_static

Definition at line 49 of file LcSettingC_tcl.c.

49#define OT_SETUP_hdl_static_constr \
50 OT_SETUP_hdl_static_constr_pre; \
51 OT_SETUP_hdl_static

◆ OT_SETUP_hdl_static_constr_pre

#define OT_SETUP_hdl_static_constr_pre

Definition at line 48 of file LcSettingC_tcl.c.

◆ Parent_doc

#define Parent_doc   "LcSettingC [$setting Parent] (const)"

Definition at line 130 of file LcSettingC_tcl.c.

◆ Prev_doc

#define Prev_doc   "LcSettingC [$cfs Prev]"

Definition at line 131 of file LcSettingC_tcl.c.

◆ Remove_doc

#define Remove_doc   "$parent Remove name:string"

Definition at line 163 of file LcSettingC_tcl.c.

◆ RemoveElem_doc

#define RemoveElem_doc   "$parent RemoveElem idx:int32"

Definition at line 164 of file LcSettingC_tcl.c.

◆ SetBool_doc

#define SetBool_doc   "$setting SetBool value:bool"

Definition at line 165 of file LcSettingC_tcl.c.

◆ SetBoolElem_doc

#define SetBoolElem_doc   "LcSettingC [$setting SetBoolElem idx:int32 value:int32]"

Definition at line 132 of file LcSettingC_tcl.c.

◆ SetFloat_doc

#define SetFloat_doc   "$setting SetFloat value:double"

Definition at line 166 of file LcSettingC_tcl.c.

◆ SetFloatElem_doc

#define SetFloatElem_doc   "LcSettingC [$setting SetFloatElem idx:int32 value:double]"

Definition at line 133 of file LcSettingC_tcl.c.

◆ SetFormat_doc

#define SetFormat_doc   "$setting SetFormat format:LcConfigFormatE"

Definition at line 167 of file LcSettingC_tcl.c.

◆ SetInt64_doc

#define SetInt64_doc   "$setting SetInt64 value:int64"

Definition at line 169 of file LcSettingC_tcl.c.

◆ SetInt64Elem_doc

#define SetInt64Elem_doc   "LcSettingC [$setting SetInt64Elem idx:int32 value:int64]"

Definition at line 134 of file LcSettingC_tcl.c.

◆ SetInt_doc

#define SetInt_doc   "$setting SetInt value:int32"

Definition at line 168 of file LcSettingC_tcl.c.

◆ SetIntElem_doc

#define SetIntElem_doc   "LcSettingC [$setting SetIntElem idx:int32 value:int32]"

Definition at line 135 of file LcSettingC_tcl.c.

◆ SetString_doc

#define SetString_doc   "$setting SetString value:string"

Definition at line 170 of file LcSettingC_tcl.c.

◆ SetStringElem_doc

#define SetStringElem_doc   "LcSettingC [$setting SetStringElem idx:int32 value:string]"

Definition at line 136 of file LcSettingC_tcl.c.

◆ SetupRtFromHdl_X

#define SetupRtFromHdl_X ( hdl)
Value:
#define AllRtSetup_X(x)

Definition at line 73 of file LcSettingC_tcl.c.

◆ SetupRtFromHdl_XN

#define SetupRtFromHdl_XN ( hdl)
Value:
#define AllRtSetup_XN(x)

Definition at line 72 of file LcSettingC_tcl.c.

◆ SourceFile_doc

#define SourceFile_doc   "string [$setting SourceFile] (const)"

Definition at line 171 of file LcSettingC_tcl.c.

◆ SourceLine_doc

#define SourceLine_doc   "int32 [$setting SourceLine] (const)"

Definition at line 172 of file LcSettingC_tcl.c.

◆ Type_doc

#define Type_doc   "LcConfigTypeE [$setting Type] (const)"

Definition at line 173 of file LcSettingC_tcl.c.

◆ VER

#define VER   TCL_OO_METHOD_VERSION_CURRENT

Definition at line 108 of file LcSettingC_tcl.c.

Function Documentation

◆ tcllcconfig_LcSettingC_selfCreate()

static MK_PTR tcllcconfig_LcSettingC_selfCreate ( MK_RT mkrt,
MK_OBJ const obj,
MK_PTR const env )
static

Definition at line 28 of file LcSettingC_tcl.c.

28 {
29 OT_ENV_T interp = env;
30 return MK(AtomCreate) (MK_RT_CALL interp,obj,OT_CLASS,NULL,NULL);
31}
Tcl_Interp * OT_ENV_T

◆ tcllcconfig_LcSettingC_selfDelete()

static void tcllcconfig_LcSettingC_selfDelete ( MK_RT mkrt,
MK_PTR selfP,
MK_PTR const env )
static

Definition at line 33 of file LcSettingC_tcl.c.

33 {
34 OT_SELF_T selfO = selfP;
35 OT_ENV_T interp = env;
36 MK(AtomDeleteHard) (MK_RT_CALL interp, selfO);
37}

◆ tcllcconfig_LcSettingC_selfUnlink()

static void tcllcconfig_LcSettingC_selfUnlink ( MK_RT mkrt,
MK_PTR selfP,
MK_PTR const env )
static

Definition at line 39 of file LcSettingC_tcl.c.

39 {
40 OT_SELF_T selfO = selfP;
41 OT_ENV_T interp = env;
42 MK(AtomUnlink) (MK_RT_CALL interp, selfO);
43}

◆ tcllcconfig_pLcSettingC_Init()

int tcllcconfig_pLcSettingC_Init ( MK_RT mkrt,
Tcl_Interp * interp,
Tcl_Namespace * ns )

Public API

Definition at line 1273 of file LcSettingC_tcl.c.

1274{
1275 ClassInit
1276
1277 return TCL_OK;
1278error:
1279 return TCL_ERROR;
1280}
#define ClassInit

Variable Documentation

◆ LcSettingCTT

__thread MK_TYP LcSettingCTT = NULL
static

Definition at line 24 of file LcSettingC_tcl.c.

◆ OT_CLASS

__thread OT_CLS_T OT_CLASS = NULL

Definition at line 21 of file LcSettingC_tcl.c.

◆ tcllcconfig_LcSettingC_MK_NULL

__thread OT_OBJ_T tcllcconfig_LcSettingC_MK_NULL = NULL

Definition at line 25 of file LcSettingC_tcl.c.

◆ tcllcconfig_sInstanceDef

Tcl_MethodType tcllcconfig_sInstanceDef[]
static

Definition at line 1197 of file LcSettingC_tcl.c.

1197 {
1198// BEGIN-OBJ - created by 'tcl_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
1199
1200// doc-key: LcSettingC,LcSetting,oC_
1201 {VER, "Add" , NS(LcSettingC_Add) , NULL, NULL},
1202
1203// doc-key: LcSettingC,LcSetting,oc_
1204 {VER, "AddIfNotExists" , NS(LcSettingC_AddIfNotExists) , NULL, NULL},
1205 {VER, "GetConfig" , NS(LcSettingC_GetConfig) , NULL, NULL},
1206 {VER, "GetElem" , NS(LcSettingC_GetElem) , NULL, NULL},
1207 {VER, "GetMember" , NS(LcSettingC_GetMember) , NULL, NULL},
1208 {VER, "Lookup" , NS(LcSettingC_Lookup) , NULL, NULL},
1209 {VER, "LookupAll" , NS(LcSettingC_LookupAll) , NULL, NULL},
1210 {VER, "Next" , NS(LcSettingC_Next) , NULL, NULL},
1211 {VER, "Parent" , NS(LcSettingC_Parent) , NULL, NULL},
1212 {VER, "Prev" , NS(LcSettingC_Prev) , NULL, NULL},
1213 {VER, "SetBoolElem" , NS(LcSettingC_SetBoolElem) , NULL, NULL},
1214 {VER, "SetFloatElem" , NS(LcSettingC_SetFloatElem) , NULL, NULL},
1215 {VER, "SetInt64Elem" , NS(LcSettingC_SetInt64Elem) , NULL, NULL},
1216 {VER, "SetIntElem" , NS(LcSettingC_SetIntElem) , NULL, NULL},
1217 {VER, "SetStringElem" , NS(LcSettingC_SetStringElem) , NULL, NULL},
1218
1219// doc-key: LcSettingC,LcSetting,om_
1220 {VER, "Exists" , NS(LcSettingC_Exists) , NULL, NULL},
1221 {VER, "GetBool" , NS(LcSettingC_GetBool) , NULL, NULL},
1222 {VER, "GetBoolElem" , NS(LcSettingC_GetBoolElem) , NULL, NULL},
1223 {VER, "GetFloat" , NS(LcSettingC_GetFloat) , NULL, NULL},
1224 {VER, "GetFloatElem" , NS(LcSettingC_GetFloatElem) , NULL, NULL},
1225 {VER, "GetFormat" , NS(LcSettingC_GetFormat) , NULL, NULL},
1226 {VER, "GetInt" , NS(LcSettingC_GetInt) , NULL, NULL},
1227 {VER, "GetInt64" , NS(LcSettingC_GetInt64) , NULL, NULL},
1228 {VER, "GetInt64Elem" , NS(LcSettingC_GetInt64Elem) , NULL, NULL},
1229 {VER, "GetIntElem" , NS(LcSettingC_GetIntElem) , NULL, NULL},
1230 {VER, "GetString" , NS(LcSettingC_GetString) , NULL, NULL},
1231 {VER, "GetStringElem" , NS(LcSettingC_GetStringElem) , NULL, NULL},
1232 // skip class-overload: LcSettingHandleGet → HandleGet, NS(LcSettingC_HandleGet)
1233 {VER, "Index" , NS(LcSettingC_Index) , NULL, NULL},
1234 {VER, "IsAggregate" , NS(LcSettingC_IsAggregate) , NULL, NULL},
1235 {VER, "IsArray" , NS(LcSettingC_IsArray) , NULL, NULL},
1236 {VER, "IsGroup" , NS(LcSettingC_IsGroup) , NULL, NULL},
1237 {VER, "IsList" , NS(LcSettingC_IsList) , NULL, NULL},
1238 {VER, "IsNumber" , NS(LcSettingC_IsNumber) , NULL, NULL},
1239 {VER, "IsRoot" , NS(LcSettingC_IsRoot) , NULL, NULL},
1240 {VER, "IsScalar" , NS(LcSettingC_IsScalar) , NULL, NULL},
1241 {VER, "Length" , NS(LcSettingC_Length) , NULL, NULL},
1242 // skip class-overload: LcSettingLog → Log, NS(LcSettingC_Log)
1243 {VER, "Name" , NS(LcSettingC_Name) , NULL, NULL},
1244 {VER, "Remove" , NS(LcSettingC_Remove) , NULL, NULL},
1245 {VER, "RemoveElem" , NS(LcSettingC_RemoveElem) , NULL, NULL},
1246 {VER, "SetBool" , NS(LcSettingC_SetBool) , NULL, NULL},
1247 {VER, "SetFloat" , NS(LcSettingC_SetFloat) , NULL, NULL},
1248 {VER, "SetFormat" , NS(LcSettingC_SetFormat) , NULL, NULL},
1249 {VER, "SetInt" , NS(LcSettingC_SetInt) , NULL, NULL},
1250 {VER, "SetInt64" , NS(LcSettingC_SetInt64) , NULL, NULL},
1251 {VER, "SetString" , NS(LcSettingC_SetString) , NULL, NULL},
1252 {VER, "SourceFile" , NS(LcSettingC_SourceFile) , NULL, NULL},
1253 {VER, "SourceLine" , NS(LcSettingC_SourceLine) , NULL, NULL},
1254 {VER, "Type" , NS(LcSettingC_Type) , NULL, NULL},
1255
1256// doc-key: LcSettingC,LcSetting,omo
1257 {VER, "LookupBool" , NS(LcSettingC_LookupBool) , NULL, NULL},
1258 {VER, "LookupFloat" , NS(LcSettingC_LookupFloat) , NULL, NULL},
1259 {VER, "LookupInt" , NS(LcSettingC_LookupInt) , NULL, NULL},
1260 {VER, "LookupInt64" , NS(LcSettingC_LookupInt64) , NULL, NULL},
1261 {VER, "LookupString" , NS(LcSettingC_LookupString) , NULL, NULL},
1262
1263// END-OBJ - created by 'tcl_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
1264 {0, NULL, NULL, NULL, NULL}
1265};
#define VER

◆ tcllcconfig_sOtClassDef

Tcl_MethodType tcllcconfig_sOtClassDef[]
static
Initial value:
= {
{VER, "GetNull" , tcllcconfig_LcSettingC_GetNull , NULL, NULL},
{VER, "HandleResolve" , tcllcconfig_LcSettingC_HandleResolve , NULL, NULL},
{VER, "Instances" , tcllcconfig_LcSettingC_Instances , NULL, NULL},
{0, NULL, NULL, NULL}
}
static OT_ProcRet tcllcconfig_LcSettingC_GetNull(OtClass_ARGS)
Tcl: (static) LcSettingC [LcSettingC GetNull] → C-API Null-Slot - return a LcSettingC typed NULL...
static OT_ProcRet tcllcconfig_LcSettingC_HandleResolve(OtClass_ARGS)
Tcl: (static) LcSettingC [LcSettingC HandleResolve netHdl:MK_HDL] → C-API Handle-Resolve-Slot - ...
static OT_ProcRet tcllcconfig_LcSettingC_Instances(OtClass_ARGS)
Tcl: (static) LcSettingC [LcSettingC Instances] → C-API get head-instance from linked-list of Lc...

Definition at line 1183 of file LcSettingC_tcl.c.

1183 {
1184// BEGIN-CLASS - created by 'tcl_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
1185
1186// doc-key: LcSettingC,LcSetting,sc_
1187 {VER, "GetNull" , NS(LcSettingC_GetNull) , NULL, NULL},
1188 {VER, "HandleResolve" , NS(LcSettingC_HandleResolve) , NULL, NULL},
1189 {VER, "Instances" , NS(LcSettingC_Instances) , NULL, NULL},
1190
1191// END-CLASS - created by 'tcl_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
1192 {0, NULL, NULL, NULL}
1193};