theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_Lookup_PY_API

LcSettingC - various functions to lookup a settingMore...

+ Collaboration diagram for LcSettingC_Lookup_PY_API:

Functions

static OT_ProcRet pylcconfig_LcSettingC_Lookup (LcSettingC_ARGS)
  Python: LcSettingC setting.Lookup(path:string) C-API
This function locates a setting by a path path relative to the setting setting
 
static OT_ProcRet pylcconfig_LcSettingC_LookupAll (LcSettingC_ARGS)
  Python: MkBufferListC setting.LookupAll() C-API
addon - read an entire configuration below setting into MkBufferListC
 
static OT_ProcRet pylcconfig_LcSettingC_LookupBool (LcSettingC_ARGS)
  Python: bool setting.LookupBool(name:string) C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet pylcconfig_LcSettingC_LookupFloat (LcSettingC_ARGS)
  Python: double setting.LookupFloat(name:string) C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet pylcconfig_LcSettingC_LookupInt (LcSettingC_ARGS)
  Python: int32 setting.LookupInt(name:string) C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet pylcconfig_LcSettingC_LookupInt64 (LcSettingC_ARGS)
  Python: int64 setting.LookupInt64(name:string) C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet pylcconfig_LcSettingC_LookupString (LcSettingC_ARGS)
  Python: string setting.LookupString(name:string) C-API
These functions look up the value of the child setting named name of the setting setting
 

Detailed Description

LcSettingC - various functions to lookup a setting

Function Documentation

◆ pylcconfig_LcSettingC_Lookup()

static OT_ProcRet pylcconfig_LcSettingC_Lookup ( LcSettingC_ARGS )
static

Python: LcSettingC setting.Lookup(path:string) C-API
This function locates a setting by a path path relative to the setting setting

Definition at line 596 of file LcSettingC_py.c.

596 {
599 MK_STRN path = 0;
602 LC_CFS retVal = LcSettingLookup (hdl, path);
603 if (retVal == NULL) {
604 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC);
605 goto error;
606 }
607 OT_retObj_SET_CFS(retVal);
608 goto end;
609 error:
611 end:
613}
#define Lookup_doc
#define OT_SETUP_hdl
#define OT_retObj_SET_CFS(nat)
#define OT_SETUP_ONEARG(d)
#define OT_retObj_SET_Error
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define OT_ERROR_SOFT_CONSTRUCTOR(class)
#define OT_CHECK_STRN(val)
static LC_CFS LcSettingLookup(LC_CFS setting, MK_STRN path)
This function locates a setting by a path path relative to the setting setting …
const MK_STRB * MK_STRN
Struct to represent the data from the LcSettingC …

◆ pylcconfig_LcSettingC_LookupAll()

static OT_ProcRet pylcconfig_LcSettingC_LookupAll ( LcSettingC_ARGS )
static

Python: MkBufferListC setting.LookupAll() C-API
addon - read an entire configuration below setting into MkBufferListC

Definition at line 616 of file LcSettingC_py.c.

616 {
620 MK_BFL retVal = LcSettingLookupAll (hdl);
621 OT_retObj_SET_BFL(retVal);
622 goto end;
623 error:
625 end:
627}
#define LookupAll_doc
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_BFL(nat)
MK_BFL LcSettingLookupAll(LC_CFSN setting)
addon - read an entire configuration below setting into MkBufferListC …

◆ pylcconfig_LcSettingC_LookupBool()

static OT_ProcRet pylcconfig_LcSettingC_LookupBool ( LcSettingC_ARGS )
static

Python: bool setting.LookupBool(name:string) C-API
These functions look up the value of the child setting named name of the setting setting

Definition at line 632 of file LcSettingC_py.c.

632 {
635 MK_STRN name = 0;
638 MK_BOOL value_out;
639 MkErrorC_Check(hdl,LcSettingLookupBool (hdl, name, &value_out));
640 OT_retObj_SET_BOL(value_out);
641 goto end;
642 error:
644 end:
646}
#define LookupBool_doc
#define OT_retObj_SET_BOL(nat)
#define MkErrorC_Check(mng, PROC)
static enum MkErrorE LcSettingLookupBool(LC_CFSN setting, MK_STRN name, MK_BOOL *value_out)
These functions look up the value of the child setting named name of the setting setting …
bool MK_BOOL

◆ pylcconfig_LcSettingC_LookupFloat()

static OT_ProcRet pylcconfig_LcSettingC_LookupFloat ( LcSettingC_ARGS )
static

Python: double setting.LookupFloat(name:string) C-API
These functions look up the value of the child setting named name of the setting setting

Definition at line 649 of file LcSettingC_py.c.

649 {
652 MK_STRN name = 0;
655 MK_DBL value_out;
656 MkErrorC_Check(hdl,LcSettingLookupFloat (hdl, name, &value_out));
657 OT_retObj_SET_DBL(value_out);
658 goto end;
659 error:
661 end:
663}
#define LookupFloat_doc
#define OT_retObj_SET_DBL(nat)
static enum MkErrorE LcSettingLookupFloat(LC_CFSN setting, MK_STRN name, MK_DBL *value_out)
These functions look up the value of the child setting named name of the setting setting …
double MK_DBL

◆ pylcconfig_LcSettingC_LookupInt()

static OT_ProcRet pylcconfig_LcSettingC_LookupInt ( LcSettingC_ARGS )
static

Python: int32 setting.LookupInt(name:string) C-API
These functions look up the value of the child setting named name of the setting setting

Definition at line 666 of file LcSettingC_py.c.

666 {
669 MK_STRN name = 0;
672 MK_I32 value_out;
673 MkErrorC_Check(hdl,LcSettingLookupInt (hdl, name, &value_out));
674 OT_retObj_SET_I32(value_out);
675 goto end;
676 error:
678 end:
680}
#define LookupInt_doc
#define OT_retObj_SET_I32(nat)
static enum MkErrorE LcSettingLookupInt(LC_CFSN setting, MK_STRN name, MK_I32 *value_out)
These functions look up the value of the child setting named name of the setting setting …
signed int MK_I32

◆ pylcconfig_LcSettingC_LookupInt64()

static OT_ProcRet pylcconfig_LcSettingC_LookupInt64 ( LcSettingC_ARGS )
static

Python: int64 setting.LookupInt64(name:string) C-API
These functions look up the value of the child setting named name of the setting setting

Definition at line 683 of file LcSettingC_py.c.

683 {
686 MK_STRN name = 0;
689 MK_I64 value_out;
690 MkErrorC_Check(hdl,LcSettingLookupInt64 (hdl, name, &value_out));
691 OT_retObj_SET_I64(value_out);
692 goto end;
693 error:
695 end:
697}
#define LookupInt64_doc
#define OT_retObj_SET_I64(nat)
static enum MkErrorE LcSettingLookupInt64(LC_CFSN setting, MK_STRN name, MK_I64 *value_out)
These functions look up the value of the child setting named name of the setting setting …
signed long long MK_I64

◆ pylcconfig_LcSettingC_LookupString()

static OT_ProcRet pylcconfig_LcSettingC_LookupString ( LcSettingC_ARGS )
static

Python: string setting.LookupString(name:string) C-API
These functions look up the value of the child setting named name of the setting setting

Definition at line 700 of file LcSettingC_py.c.

700 {
703 MK_STRN name = 0;
706 MK_STRN value_out;
707 MkErrorC_Check(hdl,LcSettingLookupString (hdl, name, &value_out));
708 OT_retObj_SET_STR(value_out);
709 goto end;
710 error:
712 end:
714}
#define LookupString_doc
#define OT_retObj_SET_STR(nat)
static enum MkErrorE LcSettingLookupString(LC_CFSN setting, MK_STRN name, MK_STRN *value_out)
These functions look up the value of the child setting named name of the setting setting …