theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_Get_PY_API

LcSettingC - various functions to get data from a settingMore...

+ Collaboration diagram for LcSettingC_Get_PY_API:

Functions

static OT_ProcRet pylcconfig_LcSettingC_GetElem (LcSettingC_ARGS)
  Python: 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 pylcconfig_LcSettingC_GetMember (LcSettingC_ARGS)
  Python: LcSettingC setting.GetMember(name:string) C-API
This function fetches the child setting named name from the group setting
 
static OT_ProcRet pylcconfig_LcSettingC_GetBool (LcSettingC_ARGS)
  Python: bool setting.GetBool() C-API
These functions return the value of the given setting
 
static OT_ProcRet pylcconfig_LcSettingC_GetBoolElem (LcSettingC_ARGS)
  Python: bool setting.GetBoolElem(idx:int32) C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet pylcconfig_LcSettingC_GetFloat (LcSettingC_ARGS)
  Python: double setting.GetFloat() C-API
These functions return the value of the given setting
 
static OT_ProcRet pylcconfig_LcSettingC_GetFloatElem (LcSettingC_ARGS)
  Python: double setting.GetFloatElem(idx:int32) C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet pylcconfig_LcSettingC_GetFormat (LcSettingC_ARGS)
  Python: LcConfigFormatE setting.GetFormat() C-API
These functions get and set the external format for the setting setting
 
static OT_ProcRet pylcconfig_LcSettingC_GetInt (LcSettingC_ARGS)
  Python: int32 setting.GetInt() C-API
These functions return the value of the given setting
 
static OT_ProcRet pylcconfig_LcSettingC_GetInt64 (LcSettingC_ARGS)
  Python: int64 setting.GetInt64() C-API
These functions return the value of the given setting
 
static OT_ProcRet pylcconfig_LcSettingC_GetInt64Elem (LcSettingC_ARGS)
  Python: int64 setting.GetInt64Elem(idx:int32) C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet pylcconfig_LcSettingC_GetIntElem (LcSettingC_ARGS)
  Python: int32 setting.GetIntElem(idx:int32) C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet pylcconfig_LcSettingC_GetString (LcSettingC_ARGS)
  Python: string setting.GetString() C-API
These functions return the value of the given setting
 
static OT_ProcRet pylcconfig_LcSettingC_GetStringElem (LcSettingC_ARGS)
  Python: string setting.GetStringElem(idx:int32) C-API
These functions return the value at the specified index index in the setting setting
 

Detailed Description

LcSettingC - various functions to get data from a setting

Function Documentation

◆ pylcconfig_LcSettingC_GetBool()

static OT_ProcRet pylcconfig_LcSettingC_GetBool ( LcSettingC_ARGS )
static

Python: bool setting.GetBool() C-API
These functions return the value of the given setting

Definition at line 334 of file LcSettingC_py.c.

334 {
339 goto end;
340 error:
342 end:
344}
#define OT_SETUP_hdl
#define GetBool_doc
#define OT_retObj_SET_BOL(nat)
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
static MK_BOOL LcSettingGetBool(LC_CFSN setting)
These functions return the value of the given setting …

◆ pylcconfig_LcSettingC_GetBoolElem()

static OT_ProcRet pylcconfig_LcSettingC_GetBoolElem ( LcSettingC_ARGS )
static

Python: bool setting.GetBoolElem(idx:int32) C-API
These functions return the value at the specified index index in the setting setting

Definition at line 347 of file LcSettingC_py.c.

347 {
350 MK_I32 idx = 0;
354 goto end;
355 error:
357 end:
359}
#define GetBoolElem_doc
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_NI4(val)
#define OT_CHECK_REQUIRED(val)
static MK_BOOL LcSettingGetBoolElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …
signed int MK_I32

◆ pylcconfig_LcSettingC_GetElem()

static OT_ProcRet pylcconfig_LcSettingC_GetElem ( LcSettingC_ARGS )
static

Python: 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 …

Definition at line 292 of file LcSettingC_py.c.

292 {
295 MK_I32 idx = 0;
298 LC_CFS retVal = LcSettingGetElem (hdl, idx);
299 if (retVal == NULL) {
300 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC);
301 goto error;
302 }
303 OT_retObj_SET_CFS(retVal);
304 goto end;
305 error:
307 end:
309}
#define GetElem_doc
#define OT_retObj_SET_CFS(nat)
#define OT_ERROR_SOFT_CONSTRUCTOR(class)
static LC_CFS LcSettingGetElem(LC_CFSN setting, MK_I32 idx)
This function fetches the element at the given index index in the setting setting,...
Struct to represent the data from the LcSettingC …

◆ pylcconfig_LcSettingC_GetFloat()

static OT_ProcRet pylcconfig_LcSettingC_GetFloat ( LcSettingC_ARGS )
static

Python: double setting.GetFloat() C-API
These functions return the value of the given setting

Definition at line 362 of file LcSettingC_py.c.

362 {
367 goto end;
368 error:
370 end:
372}
#define GetFloat_doc
#define OT_retObj_SET_DBL(nat)
static MK_DBL LcSettingGetFloat(LC_CFSN setting)
These functions return the value of the given setting …

◆ pylcconfig_LcSettingC_GetFloatElem()

static OT_ProcRet pylcconfig_LcSettingC_GetFloatElem ( LcSettingC_ARGS )
static

Python: double setting.GetFloatElem(idx:int32) C-API
These functions return the value at the specified index index in the setting setting

Definition at line 375 of file LcSettingC_py.c.

375 {
378 MK_I32 idx = 0;
382 goto end;
383 error:
385 end:
387}
#define GetFloatElem_doc
static MK_DBL LcSettingGetFloatElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …

◆ pylcconfig_LcSettingC_GetFormat()

static OT_ProcRet pylcconfig_LcSettingC_GetFormat ( LcSettingC_ARGS )
static

Python: LcConfigFormatE setting.GetFormat() C-API
These functions get and set the external format for the setting setting

Definition at line 390 of file LcSettingC_py.c.

390 {
395 goto end;
396 error:
398 end:
400}
#define GetFormat_doc
#define OT_NEW_Lc_enum_OBJ(typ, val)
#define OT_retObj_SET(val)
static enum LcConfigFormatE LcSettingGetFormat(LC_CFSN setting)
These functions get and set the external format for the setting setting …

◆ pylcconfig_LcSettingC_GetInt()

static OT_ProcRet pylcconfig_LcSettingC_GetInt ( LcSettingC_ARGS )
static

Python: int32 setting.GetInt() C-API
These functions return the value of the given setting

Definition at line 403 of file LcSettingC_py.c.

403 {
408 goto end;
409 error:
411 end:
413}
#define GetInt_doc
#define OT_retObj_SET_I32(nat)
static MK_I32 LcSettingGetInt(LC_CFSN setting)
These functions return the value of the given setting …

◆ pylcconfig_LcSettingC_GetInt64()

static OT_ProcRet pylcconfig_LcSettingC_GetInt64 ( LcSettingC_ARGS )
static

Python: int64 setting.GetInt64() C-API
These functions return the value of the given setting

Definition at line 416 of file LcSettingC_py.c.

416 {
421 goto end;
422 error:
424 end:
426}
#define GetInt64_doc
#define OT_retObj_SET_I64(nat)
static MK_I64 LcSettingGetInt64(LC_CFSN setting)
These functions return the value of the given setting …

◆ pylcconfig_LcSettingC_GetInt64Elem()

static OT_ProcRet pylcconfig_LcSettingC_GetInt64Elem ( LcSettingC_ARGS )
static

Python: int64 setting.GetInt64Elem(idx:int32) C-API
These functions return the value at the specified index index in the setting setting

Definition at line 429 of file LcSettingC_py.c.

429 {
432 MK_I32 idx = 0;
436 goto end;
437 error:
439 end:
441}
#define GetInt64Elem_doc
static MK_I64 LcSettingGetInt64Elem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …

◆ pylcconfig_LcSettingC_GetIntElem()

static OT_ProcRet pylcconfig_LcSettingC_GetIntElem ( LcSettingC_ARGS )
static

Python: int32 setting.GetIntElem(idx:int32) C-API
These functions return the value at the specified index index in the setting setting

Definition at line 444 of file LcSettingC_py.c.

444 {
447 MK_I32 idx = 0;
451 goto end;
452 error:
454 end:
456}
#define GetIntElem_doc
static MK_I32 LcSettingGetIntElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …

◆ pylcconfig_LcSettingC_GetMember()

static OT_ProcRet pylcconfig_LcSettingC_GetMember ( LcSettingC_ARGS )
static

Python: LcSettingC setting.GetMember(name:string) C-API
This function fetches the child setting named name from the group setting

Definition at line 312 of file LcSettingC_py.c.

312 {
315 MK_STRN name = 0;
318 LC_CFS retVal = LcSettingGetMember (hdl, name);
319 if (retVal == NULL) {
320 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC);
321 goto error;
322 }
323 OT_retObj_SET_CFS(retVal);
324 goto end;
325 error:
327 end:
329}
#define GetMember_doc
#define OT_CHECK_STRN(val)
static LC_CFS LcSettingGetMember(LC_CFSN setting, MK_STRN name)
This function fetches the child setting named name from the group setting …
const MK_STRB * MK_STRN

◆ pylcconfig_LcSettingC_GetString()

static OT_ProcRet pylcconfig_LcSettingC_GetString ( LcSettingC_ARGS )
static

Python: string setting.GetString() C-API
These functions return the value of the given setting

Definition at line 459 of file LcSettingC_py.c.

459 {
464 goto end;
465 error:
467 end:
469}
#define GetString_doc
#define OT_retObj_SET_STR(nat)
static MK_STRN LcSettingGetString(LC_CFSN setting)
These functions return the value of the given setting …

◆ pylcconfig_LcSettingC_GetStringElem()

static OT_ProcRet pylcconfig_LcSettingC_GetStringElem ( LcSettingC_ARGS )
static

Python: string setting.GetStringElem(idx:int32) C-API
These functions return the value at the specified index index in the setting setting

Definition at line 472 of file LcSettingC_py.c.

472 {
475 MK_I32 idx = 0;
479 goto end;
480 error:
482 end:
484}
#define GetStringElem_doc
static MK_STRN LcSettingGetStringElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …