theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_TOR_PY_API

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

+ Collaboration diagram for LcSettingC_TOR_PY_API:

Functions

static OT_ProcRet pylcconfig_LcSettingC_Add (LcSettingC_ARGS)
  Python: [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 pylcconfig_LcSettingC_GetConfig (LcSettingC_ARGS)
  Python: LcConfigC setting.GetConfig() C-API
addon - return the LcConfigC from the LcSettingC
 

Detailed Description

LcSettingC - various functions to create, initialize and destroy …

Function Documentation

◆ pylcconfig_LcSettingC_Add()

static OT_ProcRet pylcconfig_LcSettingC_Add ( LcSettingC_ARGS )
static

Python: [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 1119 of file LcSettingC_py.c.

1119 {
1122 MK_STRN name = 0;
1124 enum LcConfigTypeE __type = 0;
1127 LC_CFS retVal = LcSettingAdd (hdl, name, __type);
1128 if (retVal == NULL) {
1129 OT_ERROR_CONSTRUCTOR(LcSettingC);
1130 goto error;
1131 }
1132 OT_retObj_SET_CFS(retVal);
1133 goto end;
1134 error:
1136 end:
1138}
#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_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
#define OT_CHECK_ENUM(ename, val)
Struct to represent the data from the LcSettingC …

◆ pylcconfig_LcSettingC_GetConfig()

static OT_ProcRet pylcconfig_LcSettingC_GetConfig ( LcSettingC_ARGS )
static

Python: LcConfigC setting.GetConfig() C-API
addon - return the LcConfigC from the LcSettingC

Definition at line 1143 of file LcSettingC_py.c.

1143 {
1147 LC_CFG retVal = LcSettingGetConfig (hdl);
1148 OT_retObj_SET_CFG(retVal);
1149 goto end;
1150 error:
1152 end:
1154}
#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 …