theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_TOR_TCL_API

LcSettingC - various functions to create, initialize and destroy … More...

+ Collaboration diagram for LcSettingC_TOR_TCL_API:

Functions

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
 

Detailed Description

LcSettingC - various functions to create, initialize and destroy …

Function Documentation

◆ tcllcconfig_LcSettingC_Add()

static OT_ProcRet tcllcconfig_LcSettingC_Add ( LcSettingC_ARGS )
static

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 …

Definition at line 1139 of file LcSettingC_tcl.c.

1139 {
1142 MK_STRN name = 0;
1144 enum LcConfigTypeE __type = 0;
1147 LC_CFS retVal = LcSettingAdd (hdl, name, __type);
1148 if (retVal == NULL) {
1149 OT_ERROR_CONSTRUCTOR(LcSettingC);
1150 goto error;
1151 }
1152 OT_retObj_SET_CFS(retVal);
1153 goto end;
1154 error:
1156 end:
1158}
#define OT_SETUP_hdl
#define Add_doc
#define OT_retObj_SET_CFS(nat)
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_Error
#define OT_ERROR_CONSTRUCTOR(class)
#define OT_CHECK_REQUIRED(val)
#define OT_CHECK_ENUM(ename, val)
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define OT_CHECK_STRN(val)
LcConfigTypeE
define the data-type of a LcSettingC …
Definition LcEnum_lc.h:78
static LC_CFS LcSettingAdd(LC_CFS parent, MK_STRN name, enum LcConfigTypeE __type)
This function adds a new child setting or element to the setting parent, which must be a group,...
const MK_STRB * MK_STRN
Struct to represent the data from the LcSettingC …

◆ tcllcconfig_LcSettingC_GetConfig()

static OT_ProcRet tcllcconfig_LcSettingC_GetConfig ( LcSettingC_ARGS )
static

Tcl: LcConfigC [$setting GetConfig] C-API
addon - return the LcConfigC from the LcSettingC

Definition at line 1163 of file LcSettingC_tcl.c.

1163 {
1167 LC_CFG retVal = LcSettingGetConfig (hdl);
1168 OT_retObj_SET_CFG(retVal);
1169 goto end;
1170 error:
1172 end:
1174}
#define GetConfig_doc
#define OT_retObj_SET_CFG(nat)
#define OT_SETUP_NOARG(d)
static LC_CFG LcSettingGetConfig(LC_CFSN setting)
addon - return the LcConfigC from the LcSettingC …
Struct to represent the data from the LcConfigC …