theConfig 10.0
Loading...
Searching...
No Matches
LcConfigC_Lookup_TCL_API

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

+ Collaboration diagram for LcConfigC_Lookup_TCL_API:

Functions

static OT_ProcRet tcllcconfig_LcConfigC_Lookup (LcConfigC_ARGS)
  Tcl: LcSettingC [$config Lookup path:string] C-API
This function locates the setting in the configuration config specified by the path path
 
static OT_ProcRet tcllcconfig_LcConfigC_LookupBool (LcConfigC_ARGS)
  Tcl: 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 tcllcconfig_LcConfigC_LookupFloat (LcConfigC_ARGS)
  Tcl: 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 tcllcconfig_LcConfigC_LookupInt (LcConfigC_ARGS)
  Tcl: 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 tcllcconfig_LcConfigC_LookupInt64 (LcConfigC_ARGS)
  Tcl: 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 tcllcconfig_LcConfigC_LookupString (LcConfigC_ARGS)
  Tcl: 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

◆ tcllcconfig_LcConfigC_Lookup()

static OT_ProcRet tcllcconfig_LcConfigC_Lookup ( LcConfigC_ARGS )
static

Tcl: LcSettingC [$config Lookup path:string] C-API
This function locates the setting in the configuration config specified by the path path

Definition at line 405 of file LcConfigC_tcl.c.

405 {
408 MK_STRN path = 0;
411 LC_CFS retVal = LcConfigLookup (hdl, path);
412 OT_retObj_SET_CFS(retVal);
413 goto end;
414 error:
416 end:
418}
#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 …

◆ tcllcconfig_LcConfigC_LookupBool()

static OT_ProcRet tcllcconfig_LcConfigC_LookupBool ( LcConfigC_ARGS )
static

Tcl: 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 423 of file LcConfigC_tcl.c.

423 {
426 MK_STRN path = 0;
429 MK_BOOL value_out;
430 MkErrorC_Check(hdl,LcConfigLookupBool (hdl, path, &value_out));
431 OT_retObj_SET_BOL(value_out);
432 goto end;
433 error:
435 end:
437}
#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

◆ tcllcconfig_LcConfigC_LookupFloat()

static OT_ProcRet tcllcconfig_LcConfigC_LookupFloat ( LcConfigC_ARGS )
static

Tcl: 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 440 of file LcConfigC_tcl.c.

440 {
443 MK_STRN path = 0;
446 MK_DBL value_out;
447 MkErrorC_Check(hdl,LcConfigLookupFloat (hdl, path, &value_out));
448 OT_retObj_SET_DBL(value_out);
449 goto end;
450 error:
452 end:
454}
#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

◆ tcllcconfig_LcConfigC_LookupInt()

static OT_ProcRet tcllcconfig_LcConfigC_LookupInt ( LcConfigC_ARGS )
static

Tcl: 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 457 of file LcConfigC_tcl.c.

457 {
460 MK_STRN path = 0;
463 MK_I32 value_out;
464 MkErrorC_Check(hdl,LcConfigLookupInt (hdl, path, &value_out));
465 OT_retObj_SET_I32(value_out);
466 goto end;
467 error:
469 end:
471}
#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

◆ tcllcconfig_LcConfigC_LookupInt64()

static OT_ProcRet tcllcconfig_LcConfigC_LookupInt64 ( LcConfigC_ARGS )
static

Tcl: 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 474 of file LcConfigC_tcl.c.

474 {
477 MK_STRN path = 0;
480 MK_I64 value_out;
481 MkErrorC_Check(hdl,LcConfigLookupInt64 (hdl, path, &value_out));
482 OT_retObj_SET_I64(value_out);
483 goto end;
484 error:
486 end:
488}
#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

◆ tcllcconfig_LcConfigC_LookupString()

static OT_ProcRet tcllcconfig_LcConfigC_LookupString ( LcConfigC_ARGS )
static

Tcl: 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 491 of file LcConfigC_tcl.c.

491 {
494 MK_STRN path = 0;
497 MK_STRN value_out;
498 MkErrorC_Check(hdl,LcConfigLookupString (hdl, path, &value_out));
499 OT_retObj_SET_STR(value_out);
500 goto end;
501 error:
503 end:
505}
#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...