theConfig 10.0
Loading...
Searching...
No Matches
LcConfigC_Lookup_PY_API

LcConfigC - various functions to lookup config-dataMore...

+ Collaboration diagram for LcConfigC_Lookup_PY_API:

Functions

static OT_ProcRet pylcconfig_LcConfigC_Lookup (LcConfigC_ARGS)
  Python: LcSettingC config.Lookup(path:string) C-API
This function locates the setting in the configuration config specified by the path path
 
static OT_ProcRet pylcconfig_LcConfigC_LookupBool (LcConfigC_ARGS)
  Python: bool config.LookupBool(path:string) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
static OT_ProcRet pylcconfig_LcConfigC_LookupFloat (LcConfigC_ARGS)
  Python: double config.LookupFloat(path:string) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
static OT_ProcRet pylcconfig_LcConfigC_LookupInt (LcConfigC_ARGS)
  Python: int32 config.LookupInt(path:string) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
static OT_ProcRet pylcconfig_LcConfigC_LookupInt64 (LcConfigC_ARGS)
  Python: int64 config.LookupInt64(path:string) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
static OT_ProcRet pylcconfig_LcConfigC_LookupString (LcConfigC_ARGS)
  Python: string config.LookupString(path:string) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 

Detailed Description

LcConfigC - various functions to lookup config-data

Function Documentation

◆ pylcconfig_LcConfigC_Lookup()

static OT_ProcRet pylcconfig_LcConfigC_Lookup ( LcConfigC_ARGS )
static

Python: LcSettingC config.Lookup(path:string) C-API
This function locates the setting in the configuration config specified by the path path

Definition at line 383 of file LcConfigC_py.c.

383 {
386 MK_STRN path = 0;
389 LC_CFS retVal = LcConfigLookup (hdl, path);
390 OT_retObj_SET_CFS(retVal);
391 goto end;
392 error:
394 end:
396}
#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_CHECK_STRN(val)
static LC_CFS LcConfigLookup(LC_CFGN config, MK_STRN path)
This function locates the setting in the configuration config specified by the path path …
const MK_STRB * MK_STRN
Struct to represent the data from the LcSettingC …

◆ pylcconfig_LcConfigC_LookupBool()

static OT_ProcRet pylcconfig_LcConfigC_LookupBool ( LcConfigC_ARGS )
static

Python: bool config.LookupBool(path:string) C-API
These functions look up the value of the setting in the configuration config specified by the path path

Definition at line 401 of file LcConfigC_py.c.

401 {
404 MK_STRN path = 0;
407 MK_BOOL value_out;
408 MkErrorC_Check(hdl,LcConfigLookupBool (hdl, path, &value_out));
409 OT_retObj_SET_BOL(value_out);
410 goto end;
411 error:
413 end:
415}
#define LookupBool_doc
#define OT_retObj_SET_BOL(nat)
#define MkErrorC_Check(mng, PROC)
static enum MkErrorE LcConfigLookupBool(LC_CFGN config, MK_STRN path, MK_BOOL *value_out)
These functions look up the value of the setting in the configuration config specified by the path pa...
bool MK_BOOL

◆ pylcconfig_LcConfigC_LookupFloat()

static OT_ProcRet pylcconfig_LcConfigC_LookupFloat ( LcConfigC_ARGS )
static

Python: double config.LookupFloat(path:string) C-API
These functions look up the value of the setting in the configuration config specified by the path path

Definition at line 418 of file LcConfigC_py.c.

418 {
421 MK_STRN path = 0;
424 MK_DBL value_out;
425 MkErrorC_Check(hdl,LcConfigLookupFloat (hdl, path, &value_out));
426 OT_retObj_SET_DBL(value_out);
427 goto end;
428 error:
430 end:
432}
#define LookupFloat_doc
#define OT_retObj_SET_DBL(nat)
static enum MkErrorE LcConfigLookupFloat(LC_CFGN config, MK_STRN path, MK_DBL *value_out)
These functions look up the value of the setting in the configuration config specified by the path pa...
double MK_DBL

◆ pylcconfig_LcConfigC_LookupInt()

static OT_ProcRet pylcconfig_LcConfigC_LookupInt ( LcConfigC_ARGS )
static

Python: int32 config.LookupInt(path:string) C-API
These functions look up the value of the setting in the configuration config specified by the path path

Definition at line 435 of file LcConfigC_py.c.

435 {
438 MK_STRN path = 0;
441 MK_I32 value_out;
442 MkErrorC_Check(hdl,LcConfigLookupInt (hdl, path, &value_out));
443 OT_retObj_SET_I32(value_out);
444 goto end;
445 error:
447 end:
449}
#define LookupInt_doc
#define OT_retObj_SET_I32(nat)
static enum MkErrorE LcConfigLookupInt(LC_CFGN config, MK_STRN path, MK_I32 *value_out)
These functions look up the value of the setting in the configuration config specified by the path pa...
signed int MK_I32

◆ pylcconfig_LcConfigC_LookupInt64()

static OT_ProcRet pylcconfig_LcConfigC_LookupInt64 ( LcConfigC_ARGS )
static

Python: int64 config.LookupInt64(path:string) C-API
These functions look up the value of the setting in the configuration config specified by the path path

Definition at line 452 of file LcConfigC_py.c.

452 {
455 MK_STRN path = 0;
458 MK_I64 value_out;
459 MkErrorC_Check(hdl,LcConfigLookupInt64 (hdl, path, &value_out));
460 OT_retObj_SET_I64(value_out);
461 goto end;
462 error:
464 end:
466}
#define LookupInt64_doc
#define OT_retObj_SET_I64(nat)
static enum MkErrorE LcConfigLookupInt64(LC_CFGN config, MK_STRN path, MK_I64 *value_out)
These functions look up the value of the setting in the configuration config specified by the path pa...
signed long long MK_I64

◆ pylcconfig_LcConfigC_LookupString()

static OT_ProcRet pylcconfig_LcConfigC_LookupString ( LcConfigC_ARGS )
static

Python: string config.LookupString(path:string) C-API
These functions look up the value of the setting in the configuration config specified by the path path

Definition at line 469 of file LcConfigC_py.c.

469 {
472 MK_STRN path = 0;
475 MK_STRN value_out;
476 MkErrorC_Check(hdl,LcConfigLookupString (hdl, path, &value_out));
477 OT_retObj_SET_STR(value_out);
478 goto end;
479 error:
481 end:
483}
#define LookupString_doc
#define OT_retObj_SET_STR(nat)
static enum MkErrorE LcConfigLookupString(LC_CFGN config, MK_STRN path, MK_STRN *value_out)
These functions look up the value of the setting in the configuration config specified by the path pa...