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

tag: nhi1-release-250425 More...

+ Include dependency graph for LcConfigC_atl.c:

Go to the source code of this file.

Macros

#define META_FILE_NAME   "LcConfigC_atl.c"
 
#define OT_CLASS   alcrt->AtlLcConfigC
 
#define OT_NULL   alcrt->AtlLcConfigC_MK_NULL
 
#define OT_CLASS_NAME   "LcConfigC"
 
#define SELF2HDL(O)
 
#define OT_SETUP_hdl   SetupHdlFromMetaData_2(LC_CFG)
 
#define OT_SETUP_hdl__null_allow   SetupHdlFromMetaData__null_allow_2(LC_CFG)
 
#define OT_SETUP_hdl_destr   SetupHdlFromMetaData__null_allow_2(LC_CFG)
 
#define OT_SETUP_hdl_constr   SetupHdlConstr(LcConfigC)
 
#define OT_SETUP_hdl_static_constr   OT_SETUP_hdl_static
 
#define OT_SETUP_hdl_static   SetupHdlStatic(LcConfigC)
 
#define OT_retObj_CONSTR(x)
 
#define ClassInit
 
#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 [LcConfigC::Lookup $config path:string] (const)"
 
#define Next_doc   "LcConfigC [LcConfigC::Next $cfg]"
 
#define Prev_doc   "LcConfigC [LcConfigC::Prev $cfg]"
 
#define RootSetting_doc   "LcSettingC [LcConfigC::RootSetting $config] (const)"
 
#define Clear_doc   "LcConfigC::Clear $config"
 
#define ErrorType_doc   "LcErrorTypeE [LcConfigC::ErrorType $config] (const)"
 
#define GetDefaultFormat_doc   "LcConfigFormatE [LcConfigC::GetDefaultFormat $config] (const)"
 
#define GetFloatPrecision_doc   "int16 [LcConfigC::GetFloatPrecision $config] (const)"
 
#define GetIncludeDir_doc   "string [LcConfigC::GetIncludeDir $config] (const)"
 
#define GetOption_doc   "bool [LcConfigC::GetOption $config option:LcConfigOptionsEF] (const)"
 
#define GetOptions_doc   "LcConfigOptionsEF [LcConfigC::GetOptions $config] (const)"
 
#define GetTabWidth_doc   "int16 [LcConfigC::GetTabWidth $config] (const)"
 
#define Log_doc   "LcConfigC::Log $cfg ?fmtobj:MkObjectC=NULL? ?debug:int32=0? ?callfunc:string=\"MK_NULL\"? ?lvl:int32=0? (const)"
 
#define ReadFile_doc   "LcConfigC::ReadFile $config filename:string"
 
#define ReadString_doc   "LcConfigC::ReadString $config str:string"
 
#define SetDefaultFormat_doc   "LcConfigC::SetDefaultFormat $config format:LcConfigFormatE"
 
#define SetFloatPrecision_doc   "LcConfigC::SetFloatPrecision $config digits:int16"
 
#define SetIncludeDir_doc   "LcConfigC::SetIncludeDir $config include_dir:string"
 
#define SetIncludeFunc_doc   "LcConfigC::SetIncludeFunc $cfg ?fConfigIncludeData:LC_CBP=NULL?"
 
#define SetOption_doc   "LcConfigC::SetOption $config option:LcConfigOptionsEF flag:bool"
 
#define SetOptions_doc   "LcConfigC::SetOptions $config options:LcConfigOptionsEF"
 
#define SetSettingDeleteFunc_doc   "LcConfigC::SetSettingDeleteFunc $cfg ?fSettingDeleteData:LC_CBP=NULL?"
 
#define SetTabWidth_doc   "LcConfigC::SetTabWidth $config width:int16"
 
#define WriteFile_doc   "LcConfigC::WriteFile $config filename:string"
 
#define LookupBool_doc   "bool [LcConfigC::LookupBool $config path:string] (const)"
 
#define LookupFloat_doc   "double [LcConfigC::LookupFloat $config path:string] (const)"
 
#define LookupInt_doc   "int32 [LcConfigC::LookupInt $config path:string] (const)"
 
#define LookupInt64_doc   "int64 [LcConfigC::LookupInt64 $config path:string] (const)"
 
#define LookupString_doc   "string [LcConfigC::LookupString $config path:string] (const)"
 
#define WriteString_doc   "string [LcConfigC::WriteString $cfg] (const)"
 

Functions

static MK_PTR atllcconfig_LcConfigC_selfCreate (MK_RT mkrt, MK_OBJ const obj, MK_PTR const env)
 
static void atllcconfig_LcConfigC_selfDelete (MK_RT mkrt, MK_PTR selfP, MK_PTR const env)
 
static void atllcconfig_LcConfigC_selfUnlink (MK_RT mkrt, MK_PTR selfP, MK_PTR const env)
 
static OT_ProcRet atllcconfig_LcConfigC_HandleResolve (OtClass_ARGS)
  Atl: (static) LcConfigC [LcConfigC::HandleResolve netHdl:MK_HDL] C-API
Handle-Resolve-Slot - return a LcConfigC from netHdl or "MK_NULL" if invalid…
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet atllcconfig_LcConfigC_HandleGet (LcConfigC_ARGS)
 
static OT_ProcRet atllcconfig_LcConfigC_Next (LcConfigC_ARGS)
  Atl: LcConfigC [LcConfigC::Next $cfg] C-API
get next instance from linked-list of LcConfigS type
 
static OT_ProcRet atllcconfig_LcConfigC_Prev (LcConfigC_ARGS)
  Atl: LcConfigC [LcConfigC::Prev $cfg] C-API
get previous instance from linked-list of LcConfigS type
 
static OT_ProcRet atllcconfig_LcConfigC_Instances (OtClass_ARGS)
  Atl: (static) LcConfigC [LcConfigC::Instances] C-API
get head-instance from linked-list of LcConfigS type …
 
static OT_ProcRet atllcconfig_LcConfigC_GetNull (OtClass_ARGS)
  Atl: (static) LcConfigC [LcConfigC::GetNull] C-API
Null-Slot - return a LcConfigC typed NULL instance …
 
static OT_ProcRet atllcconfig_LcConfigC_ErrorType (LcConfigC_ARGS)
  Atl: LcErrorTypeE [LcConfigC::ErrorType $config] 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 atllcconfig_LcConfigC_GetDefaultFormat (LcConfigC_ARGS)
  Atl: LcConfigFormatE [LcConfigC::GetDefaultFormat $config] 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 atllcconfig_LcConfigC_GetFloatPrecision (LcConfigC_ARGS)
  Atl: int16 [LcConfigC::GetFloatPrecision $config] 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 atllcconfig_LcConfigC_GetIncludeDir (LcConfigC_ARGS)
  Atl: string [LcConfigC::GetIncludeDir $config] 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 atllcconfig_LcConfigC_GetOption (LcConfigC_ARGS)
  Atl: bool [LcConfigC::GetOption $config option:LcConfigOptionsEF] C-API
Since v1.7 These functions get and set the given option of the configuration config
 
static OT_ProcRet atllcconfig_LcConfigC_GetOptions (LcConfigC_ARGS)
  Atl: LcConfigOptionsEF [LcConfigC::GetOptions $config] C-API
These functions get and set the options for the configuration config
 
static OT_ProcRet atllcconfig_LcConfigC_GetTabWidth (LcConfigC_ARGS)
  Atl: int16 [LcConfigC::GetTabWidth $config] C-API
These functions, which are implemented as macros, get and set the tab width for the configuration config
 
static OT_ProcRet atllcconfig_LcConfigC_Lookup (LcConfigC_ARGS)
  Atl: LcSettingC [LcConfigC::Lookup $config path:string] C-API
This function locates the setting in the configuration config specified by the path path
 
static OT_ProcRet atllcconfig_LcConfigC_LookupBool (LcConfigC_ARGS)
  Atl: bool [LcConfigC::LookupBool $config path:string] C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
static OT_ProcRet atllcconfig_LcConfigC_LookupFloat (LcConfigC_ARGS)
  Atl: double [LcConfigC::LookupFloat $config path:string] C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
static OT_ProcRet atllcconfig_LcConfigC_LookupInt (LcConfigC_ARGS)
  Atl: int32 [LcConfigC::LookupInt $config path:string] C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
static OT_ProcRet atllcconfig_LcConfigC_LookupInt64 (LcConfigC_ARGS)
  Atl: int64 [LcConfigC::LookupInt64 $config path:string] C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
static OT_ProcRet atllcconfig_LcConfigC_LookupString (LcConfigC_ARGS)
  Atl: string [LcConfigC::LookupString $config path:string] C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
static OT_ProcRet atllcconfig_LcConfigC_RootSetting (LcConfigC_ARGS)
  Atl: LcSettingC [LcConfigC::RootSetting $config] C-API
This function, which is implemented as a macro, returns the root setting for the configuration config
 
static OT_ProcRet atllcconfig_LcConfigC_Clear (LcConfigC_ARGS)
  Atl: LcConfigC::Clear $config C-API
Since v1.7 This function clears the configuration config
 
static OT_ProcRet atllcconfig_LcConfigC_Log (LcConfigC_ARGS)
  Atl: LcConfigC::Log $cfg ?fmtobj:MkObjectC=NULL? ?debug:int32=0? ?callfunc:string="MK_NULL"? ?lvl:int32=0? C-API
log the config
 
static OT_ProcRet atllcconfig_LcConfigC_ReadFile (LcConfigC_ARGS)
  Atl: LcConfigC::ReadFile $config filename:string C-API
This function reads and parses a configuration from the file named filename into the configuration object config
 
static OT_ProcRet atllcconfig_LcConfigC_ReadString (LcConfigC_ARGS)
  Atl: LcConfigC::ReadString $config str:string C-API
This function reads and parses a configuration from the string str into the configuration object config
 
static OT_ProcRet atllcconfig_LcConfigC_WriteFile (LcConfigC_ARGS)
  Atl: LcConfigC::WriteFile $config filename:string C-API
This function writes the configuration config to the file named filename
 
static OT_ProcRet atllcconfig_LcConfigC_WriteString (LcConfigC_ARGS)
  Atl: string [LcConfigC::WriteString $cfg] C-API
read the entire configuration cfg into the string val_out
 
static OT_ProcRet atllcconfig_LcConfigC_SetDefaultFormat (LcConfigC_ARGS)
  Atl: LcConfigC::SetDefaultFormat $config format:LcConfigFormatE 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 atllcconfig_LcConfigC_SetFloatPrecision (LcConfigC_ARGS)
  Atl: LcConfigC::SetFloatPrecision $config digits:int16 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 atllcconfig_LcConfigC_SetIncludeDir (LcConfigC_ARGS)
  Atl: LcConfigC::SetIncludeDir $config include_dir:string 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 atllcconfig_LcConfigC_SetIncludeFunc (LcConfigC_ARGS)
  Atl: LcConfigC::SetIncludeFunc $cfg ?fConfigIncludeData:LC_CBP=NULL? C-API
set the __parser__(callback-name) for the include-config-file
 
static OT_ProcRet atllcconfig_LcConfigC_SetOption (LcConfigC_ARGS)
  Atl: LcConfigC::SetOption $config option:LcConfigOptionsEF flag:bool C-API
Since v1.7 These functions get and set the given option of the configuration config
 
static OT_ProcRet atllcconfig_LcConfigC_SetOptions (LcConfigC_ARGS)
  Atl: LcConfigC::SetOptions $config options:LcConfigOptionsEF C-API
These functions get and set the options for the configuration config
 
static OT_ProcRet atllcconfig_LcConfigC_SetSettingDeleteFunc (LcConfigC_ARGS)
  Atl: LcConfigC::SetSettingDeleteFunc $cfg ?fSettingDeleteData:LC_CBP=NULL? C-API
set the callback-name for the setting-delete
 
static OT_ProcRet atllcconfig_LcConfigC_SetTabWidth (LcConfigC_ARGS)
  Atl: LcConfigC::SetTabWidth $config width:int16 C-API
These functions, which are implemented as macros, get and set the tab width for the configuration config
 
static OT_ProcRet atllcconfig_LcConfigC_CTOR (CONSTR_ARGS)
  Atl: (constructor,static) LcConfigC [LcConfigC::CTOR] C-API
create a LcConfigC instance …
 
static OT_ProcRet atllcconfig_LcConfigC_Create (OtClass_ARGS)
  Atl: (constructor,static) LcConfigC [LcConfigC::Create] C-API
create a LcConfigC instance …
 
int atllcconfig_pLcConfigC_Init (OT_LC_ARGS OT_NS_T ns)
 

Variables

static const OtObjProcDefS atllcconfig_sOtClassDef []
 
static const OtObjProcDefS atllcconfig_sInstanceDef []
 

Detailed Description

tag: nhi1-release-250425

Definition in file LcConfigC_atl.c.

Macro Definition Documentation

◆ ClassInit

#define ClassInit

Definition at line 57 of file LcConfigC_atl.c.

57#define ClassInit \
58 /* if not already done, initialize NEW META type */ \
59 if (LcConfigCTT == NULL) LcConfigCTT = LcConfigSTT; \
60 \
61 /* protect against double call */ \
62 if (LcConfigCTT->selfCreate == NS(LcConfigC_selfCreate)) return MK_OK; \
63 \
64 /* add "selfCreate" and "selfDelete" feature to the META-Class */ \
65 LcConfigCTT->selfCreate = NS(LcConfigC_selfCreate); \
66 LcConfigCTT->selfDelete = NS(LcConfigC_selfDelete); \
67 LcConfigCTT->selfUnlink = NS(LcConfigC_selfUnlink); \
68 \
69 /* create the ATL-class */ \
70 OT_CLASS = AltClassDef(LcConfigCTT,&alcrt->AtlLcConfigC_NS); \
71 if (OT_CLASS == NULL) goto error; \
72 OT_REF_INCR(OT_CLASS); \
73 \
74 /* create the ATL static Methods */ \
75 check_LNG(AtlUnknownSetup (NS(sOtClassDef),alcrt)) goto error; \
76 \
77 /* create the ATL instance Methods */ \
78 check_LNG(AtlUnknownSetup (NS(sInstanceDef),alcrt)) goto error; \
79 \
80 /* after class was modified, recompile the class */ \
81 RL_init(2, recompile, RL_T(0,RecompileN)); RL_O(1,OT_CLASS) ; \
82 int retI = RL_EvalEx(0); \
83 if (retI != TCL_OK) return retI; \
84 \
85 /* define the "NULL" object */ \
86 OT_NULL = AtomCreateNULL(OT_CLASS, "::LcConfigC::MK_NULL", (MK_PTR)alcrt); \
87 if (OT_NULL == NULL) goto error; \
88 OT_REF_INCR(OT_NULL);

◆ Clear_doc

#define Clear_doc   "LcConfigC::Clear $config"

Definition at line 109 of file LcConfigC_atl.c.

◆ Create_doc

#define Create_doc   "LcConfigC [LcConfigC::Create]"

Definition at line 95 of file LcConfigC_atl.c.

◆ CTOR_doc

#define CTOR_doc   "LcConfigC [LcConfigC::CTOR]"

Definition at line 94 of file LcConfigC_atl.c.

◆ ErrorType_doc

#define ErrorType_doc   "LcErrorTypeE [LcConfigC::ErrorType $config] (const)"

Definition at line 110 of file LcConfigC_atl.c.

◆ GetDefaultFormat_doc

#define GetDefaultFormat_doc   "LcConfigFormatE [LcConfigC::GetDefaultFormat $config] (const)"

Definition at line 111 of file LcConfigC_atl.c.

◆ GetFloatPrecision_doc

#define GetFloatPrecision_doc   "int16 [LcConfigC::GetFloatPrecision $config] (const)"

Definition at line 112 of file LcConfigC_atl.c.

◆ GetIncludeDir_doc

#define GetIncludeDir_doc   "string [LcConfigC::GetIncludeDir $config] (const)"

Definition at line 113 of file LcConfigC_atl.c.

◆ GetNull_doc

#define GetNull_doc   "LcConfigC [LcConfigC::GetNull]"

Definition at line 98 of file LcConfigC_atl.c.

◆ GetOption_doc

#define GetOption_doc   "bool [LcConfigC::GetOption $config option:LcConfigOptionsEF] (const)"

Definition at line 114 of file LcConfigC_atl.c.

◆ GetOptions_doc

#define GetOptions_doc   "LcConfigOptionsEF [LcConfigC::GetOptions $config] (const)"

Definition at line 115 of file LcConfigC_atl.c.

◆ GetTabWidth_doc

#define GetTabWidth_doc   "int16 [LcConfigC::GetTabWidth $config] (const)"

Definition at line 116 of file LcConfigC_atl.c.

◆ HandleResolve_doc

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

Definition at line 99 of file LcConfigC_atl.c.

◆ Instances_doc

#define Instances_doc   "LcConfigC [LcConfigC::Instances]"

Definition at line 100 of file LcConfigC_atl.c.

◆ Log_doc

#define Log_doc   "LcConfigC::Log $cfg ?fmtobj:MkObjectC=NULL? ?debug:int32=0? ?callfunc:string=\"MK_NULL\"? ?lvl:int32=0? (const)"

Definition at line 118 of file LcConfigC_atl.c.

◆ Lookup_doc

#define Lookup_doc   "LcSettingC [LcConfigC::Lookup $config path:string] (const)"

Definition at line 103 of file LcConfigC_atl.c.

◆ LookupBool_doc

#define LookupBool_doc   "bool [LcConfigC::LookupBool $config path:string] (const)"

Definition at line 132 of file LcConfigC_atl.c.

◆ LookupFloat_doc

#define LookupFloat_doc   "double [LcConfigC::LookupFloat $config path:string] (const)"

Definition at line 133 of file LcConfigC_atl.c.

◆ LookupInt64_doc

#define LookupInt64_doc   "int64 [LcConfigC::LookupInt64 $config path:string] (const)"

Definition at line 135 of file LcConfigC_atl.c.

◆ LookupInt_doc

#define LookupInt_doc   "int32 [LcConfigC::LookupInt $config path:string] (const)"

Definition at line 134 of file LcConfigC_atl.c.

◆ LookupString_doc

#define LookupString_doc   "string [LcConfigC::LookupString $config path:string] (const)"

Definition at line 136 of file LcConfigC_atl.c.

◆ META_FILE_NAME

#define META_FILE_NAME   "LcConfigC_atl.c"

Definition at line 11 of file LcConfigC_atl.c.

◆ Next_doc

#define Next_doc   "LcConfigC [LcConfigC::Next $cfg]"

Definition at line 104 of file LcConfigC_atl.c.

◆ OT_CLASS

#define OT_CLASS   alcrt->AtlLcConfigC

Definition at line 15 of file LcConfigC_atl.c.

◆ OT_CLASS_NAME

#define OT_CLASS_NAME   "LcConfigC"

Definition at line 17 of file LcConfigC_atl.c.

◆ OT_NULL

#define OT_NULL   alcrt->AtlLcConfigC_MK_NULL

Definition at line 16 of file LcConfigC_atl.c.

◆ OT_retObj_CONSTR

#define OT_retObj_CONSTR ( x)
Value:
#define OT_SELF
#define AtomInit(...)
#define OT_retObj_SET(val)
#define LcConfigC_X2obj(x)

Definition at line 54 of file LcConfigC_atl.c.

◆ OT_SETUP_hdl

#define OT_SETUP_hdl   SetupHdlFromMetaData_2(LC_CFG)

Definition at line 47 of file LcConfigC_atl.c.

◆ OT_SETUP_hdl__null_allow

#define OT_SETUP_hdl__null_allow   SetupHdlFromMetaData__null_allow_2(LC_CFG)

Definition at line 48 of file LcConfigC_atl.c.

◆ OT_SETUP_hdl_constr

#define OT_SETUP_hdl_constr   SetupHdlConstr(LcConfigC)

Definition at line 50 of file LcConfigC_atl.c.

◆ OT_SETUP_hdl_destr

#define OT_SETUP_hdl_destr   SetupHdlFromMetaData__null_allow_2(LC_CFG)

Definition at line 49 of file LcConfigC_atl.c.

◆ OT_SETUP_hdl_static

#define OT_SETUP_hdl_static   SetupHdlStatic(LcConfigC)

Definition at line 52 of file LcConfigC_atl.c.

◆ OT_SETUP_hdl_static_constr

#define OT_SETUP_hdl_static_constr   OT_SETUP_hdl_static

Definition at line 51 of file LcConfigC_atl.c.

◆ Prev_doc

#define Prev_doc   "LcConfigC [LcConfigC::Prev $cfg]"

Definition at line 105 of file LcConfigC_atl.c.

◆ ReadFile_doc

#define ReadFile_doc   "LcConfigC::ReadFile $config filename:string"

Definition at line 119 of file LcConfigC_atl.c.

◆ ReadString_doc

#define ReadString_doc   "LcConfigC::ReadString $config str:string"

Definition at line 120 of file LcConfigC_atl.c.

◆ RootSetting_doc

#define RootSetting_doc   "LcSettingC [LcConfigC::RootSetting $config] (const)"

Definition at line 106 of file LcConfigC_atl.c.

◆ SELF2HDL

#define SELF2HDL ( O)
Value:
#define VAL2MNG(val)
static LC_CFG LcCfg(MK_MNG mng)
cast a unknown-object into an LcConfigS pointer or NULL if not possible

Definition at line 19 of file LcConfigC_atl.c.

◆ SetDefaultFormat_doc

#define SetDefaultFormat_doc   "LcConfigC::SetDefaultFormat $config format:LcConfigFormatE"

Definition at line 121 of file LcConfigC_atl.c.

◆ SetFloatPrecision_doc

#define SetFloatPrecision_doc   "LcConfigC::SetFloatPrecision $config digits:int16"

Definition at line 122 of file LcConfigC_atl.c.

◆ SetIncludeDir_doc

#define SetIncludeDir_doc   "LcConfigC::SetIncludeDir $config include_dir:string"

Definition at line 123 of file LcConfigC_atl.c.

◆ SetIncludeFunc_doc

#define SetIncludeFunc_doc   "LcConfigC::SetIncludeFunc $cfg ?fConfigIncludeData:LC_CBP=NULL?"

Definition at line 124 of file LcConfigC_atl.c.

◆ SetOption_doc

#define SetOption_doc   "LcConfigC::SetOption $config option:LcConfigOptionsEF flag:bool"

Definition at line 125 of file LcConfigC_atl.c.

◆ SetOptions_doc

#define SetOptions_doc   "LcConfigC::SetOptions $config options:LcConfigOptionsEF"

Definition at line 126 of file LcConfigC_atl.c.

◆ SetSettingDeleteFunc_doc

#define SetSettingDeleteFunc_doc   "LcConfigC::SetSettingDeleteFunc $cfg ?fSettingDeleteData:LC_CBP=NULL?"

Definition at line 127 of file LcConfigC_atl.c.

◆ SetTabWidth_doc

#define SetTabWidth_doc   "LcConfigC::SetTabWidth $config width:int16"

Definition at line 128 of file LcConfigC_atl.c.

◆ WriteFile_doc

#define WriteFile_doc   "LcConfigC::WriteFile $config filename:string"

Definition at line 129 of file LcConfigC_atl.c.

◆ WriteString_doc

#define WriteString_doc   "string [LcConfigC::WriteString $cfg] (const)"

Definition at line 137 of file LcConfigC_atl.c.

Function Documentation

◆ atllcconfig_LcConfigC_selfCreate()

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

Definition at line 28 of file LcConfigC_atl.c.

28 {
29 SETUP_alcrt(env);
30 return AtomMake(obj,OT_CLASS,NULL,NULL,env);
31}
#define OT_CLASS
#define SETUP_alcrt(r)
#define AtomMake(...)

◆ atllcconfig_LcConfigC_selfDelete()

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

Definition at line 34 of file LcConfigC_atl.c.

34 {
35 OT_SELF_T selfO = selfP;
36 SETUP_alcrt(env);
37 MK(AtomDeleteHard) (OT_MK_CALL selfO);
38}
#define MK(n)
MOX_OBJ_T OT_SELF_T
#define OT_MK_CALL

◆ atllcconfig_LcConfigC_selfUnlink()

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

Definition at line 41 of file LcConfigC_atl.c.

41 {
42 OT_SELF_T selfO = selfP;
43 SETUP_alcrt(env);
44 return MK(AtomUnlink) (OT_MK_CALL selfO);
45}

◆ atllcconfig_pLcConfigC_Init()

int atllcconfig_pLcConfigC_Init ( OT_LC_ARGS OT_NS_T ns)

Public API

Definition at line 964 of file LcConfigC_atl.c.

965{
967
968 return TCL_OK;
969error:
970 return TCL_ERROR;
971}
#define ClassInit

Variable Documentation

◆ atllcconfig_sInstanceDef

const OtObjProcDefS atllcconfig_sInstanceDef[]
static

Definition at line 910 of file LcConfigC_atl.c.

910 {
911// {VER, "test" , NS(LcConfigC_test) , NULL, NULL},
912 // BEGIN-OBJ - created by 'atl_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
913
914 // doc-key: LcConfigC,LcConfig,oC_
915 { "::LcConfigC::LcConfigC" , NS(LcConfigC_CTOR) },
916
917 // doc-key: LcConfigC,LcConfig,oc_
918 { "::LcConfigC::Lookup" , NS(LcConfigC_Lookup) },
919 { "::LcConfigC::Next" , NS(LcConfigC_Next) },
920 { "::LcConfigC::Prev" , NS(LcConfigC_Prev) },
921 { "::LcConfigC::RootSetting" , NS(LcConfigC_RootSetting) },
922
923 // doc-key: LcConfigC,LcConfig,om_
924 { "::LcConfigC::Clear" , NS(LcConfigC_Clear) },
925 { "::LcConfigC::ErrorType" , NS(LcConfigC_ErrorType) },
926 { "::LcConfigC::GetDefaultFormat" , NS(LcConfigC_GetDefaultFormat) },
927 { "::LcConfigC::GetFloatPrecision" , NS(LcConfigC_GetFloatPrecision) },
928 { "::LcConfigC::GetIncludeDir" , NS(LcConfigC_GetIncludeDir) },
929 { "::LcConfigC::GetOption" , NS(LcConfigC_GetOption) },
930 { "::LcConfigC::GetOptions" , NS(LcConfigC_GetOptions) },
931 { "::LcConfigC::GetTabWidth" , NS(LcConfigC_GetTabWidth) },
932 // skip class-overload: HandleGet → MkObjectHandleGet
933 { "::LcConfigC::Log" , NS(LcConfigC_Log) },
934 { "::LcConfigC::ReadFile" , NS(LcConfigC_ReadFile) },
935 { "::LcConfigC::ReadString" , NS(LcConfigC_ReadString) },
936 { "::LcConfigC::SetDefaultFormat" , NS(LcConfigC_SetDefaultFormat) },
937 { "::LcConfigC::SetFloatPrecision" , NS(LcConfigC_SetFloatPrecision) },
938 { "::LcConfigC::SetIncludeDir" , NS(LcConfigC_SetIncludeDir) },
939 { "::LcConfigC::SetIncludeFunc" , NS(LcConfigC_SetIncludeFunc) },
940 { "::LcConfigC::SetOption" , NS(LcConfigC_SetOption) },
941 { "::LcConfigC::SetOptions" , NS(LcConfigC_SetOptions) },
942 { "::LcConfigC::SetSettingDeleteFunc" , NS(LcConfigC_SetSettingDeleteFunc) },
943 { "::LcConfigC::SetTabWidth" , NS(LcConfigC_SetTabWidth) },
944 { "::LcConfigC::WriteFile" , NS(LcConfigC_WriteFile) },
945
946 // doc-key: LcConfigC,LcConfig,omo
947 { "::LcConfigC::LookupBool" , NS(LcConfigC_LookupBool) },
948 { "::LcConfigC::LookupFloat" , NS(LcConfigC_LookupFloat) },
949 { "::LcConfigC::LookupInt" , NS(LcConfigC_LookupInt) },
950 { "::LcConfigC::LookupInt64" , NS(LcConfigC_LookupInt64) },
951 { "::LcConfigC::LookupString" , NS(LcConfigC_LookupString) },
952 { "::LcConfigC::WriteString" , NS(LcConfigC_WriteString) },
953
954 // END-OBJ - created by 'atl_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
955 { NULL }
956};
#define NS(n)

◆ atllcconfig_sOtClassDef

const OtObjProcDefS atllcconfig_sOtClassDef[]
static
Initial value:
= {
{ "::LcConfigC::Create" , atllcconfig_LcConfigC_Create },
{ "::LcConfigC::GetNull" , atllcconfig_LcConfigC_GetNull },
{ "::LcConfigC::HandleResolve" , atllcconfig_LcConfigC_HandleResolve },
{ "::LcConfigC::Instances" , atllcconfig_LcConfigC_Instances },
{ NULL }
}
static OT_ProcRet atllcconfig_LcConfigC_HandleResolve(OtClass_ARGS)
Atl: (static) LcConfigC [LcConfigC::HandleResolve netHdl:MK_HDL] → C-API Handle-Resolve-Slot - r...
static OT_ProcRet atllcconfig_LcConfigC_Instances(OtClass_ARGS)
Atl: (static) LcConfigC [LcConfigC::Instances] → C-API get head-instance from linked-list of LcC...
static OT_ProcRet atllcconfig_LcConfigC_GetNull(OtClass_ARGS)
Atl: (static) LcConfigC [LcConfigC::GetNull] → C-API Null-Slot - return a LcConfigC typed NULL i...
static OT_ProcRet atllcconfig_LcConfigC_Create(OtClass_ARGS)
Atl: (constructor,static) LcConfigC [LcConfigC::Create] → C-API create a LcConfigC instance …

Definition at line 893 of file LcConfigC_atl.c.

893 {
894 // BEGIN-CLASS - created by 'atl_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
895
896 // doc-key: LcConfigC,LcConfig,sCc
897 { "::LcConfigC::Create" , NS(LcConfigC_Create) },
898
899 // doc-key: LcConfigC,LcConfig,sc_
900 { "::LcConfigC::GetNull" , NS(LcConfigC_GetNull) },
901 { "::LcConfigC::HandleResolve" , NS(LcConfigC_HandleResolve) },
902 { "::LcConfigC::Instances" , NS(LcConfigC_Instances) },
903
904 // END-CLASS - created by 'atl_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
905 { NULL }
906};