theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_TOR_RB_API

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

+ Collaboration diagram for LcSettingC_TOR_RB_API:

Functions

static OT_ProcRet rblcconfig_LcSettingC_Add (LcSettingC_ARGS)
  Ruby: (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 rblcconfig_LcSettingC_GetConfig (LcSettingC_ARGS)
  Ruby: LcConfigC setting.GetConfig() C-API
addon - return the LcConfigC from the LcSettingC
 

Detailed Description

LcSettingC - various functions to create, initialize and destroy …

Function Documentation

◆ rblcconfig_LcSettingC_Add()

static OT_ProcRet rblcconfig_LcSettingC_Add ( LcSettingC_ARGS )
static

Ruby: (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 954 of file LcSettingC_rb.c.

954 {
957 MK_STRN name = 0;
959 enum LcConfigTypeE __type = 0;
962 LC_CFS retVal = LcSettingAdd (hdl, name, __type);
963 if (retVal == NULL) {
964 OT_ERROR_CONSTRUCTOR(LcSettingC);
965 }
966 OT_retObj_SET_CFS(retVal);
967 end: MK_UNUSED /* LONG JUMP on error */
969}
#define OT_SETUP_hdl
#define Add_doc
#define OT_retObj_SET_CFS(nat)
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_RETURN
#define OT_ERROR_CONSTRUCTOR(clazz)
#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,...
#define MK_UNUSED
const MK_STRB * MK_STRN
#define OT_CHECK_ENUM(ename, val)
Struct to represent the data from the LcSettingC …

◆ rblcconfig_LcSettingC_GetConfig()

static OT_ProcRet rblcconfig_LcSettingC_GetConfig ( LcSettingC_ARGS )
static

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

Definition at line 974 of file LcSettingC_rb.c.

974 {
978 LC_CFG retVal = LcSettingGetConfig (hdl);
979 OT_retObj_SET_CFG(retVal);
980 end: MK_UNUSED /* LONG JUMP on error */
982}
#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 …