theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_Lookup_TCL_API

LcSettingC - various functions to lookup a settingMore...

+ Collaboration diagram for LcSettingC_Lookup_TCL_API:

Functions

static OT_ProcRet tcllcconfig_LcSettingC_Lookup (LcSettingC_ARGS)
  Tcl: LcSettingC [$setting Lookup path:string] C-API
This function locates a setting by a path path relative to the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_LookupAll (LcSettingC_ARGS)
  Tcl: MkBufferListC [$setting LookupAll] C-API
addon - read an entire configuration below setting into MkBufferListC
 
static OT_ProcRet tcllcconfig_LcSettingC_LookupBool (LcSettingC_ARGS)
  Tcl: 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 tcllcconfig_LcSettingC_LookupFloat (LcSettingC_ARGS)
  Tcl: 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 tcllcconfig_LcSettingC_LookupInt (LcSettingC_ARGS)
  Tcl: 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 tcllcconfig_LcSettingC_LookupInt64 (LcSettingC_ARGS)
  Tcl: 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 tcllcconfig_LcSettingC_LookupString (LcSettingC_ARGS)
  Tcl: 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

◆ tcllcconfig_LcSettingC_Lookup()

static OT_ProcRet tcllcconfig_LcSettingC_Lookup ( LcSettingC_ARGS )
static

Tcl: LcSettingC [$setting Lookup path:string] C-API
This function locates a setting by a path path relative to the setting setting

Definition at line 616 of file LcSettingC_tcl.c.

616 {
619 MK_STRN path = 0;
622 LC_CFS retVal = LcSettingLookup (hdl, path);
623 if (retVal == NULL) {
624 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC);
625 goto error;
626 }
627 OT_retObj_SET_CFS(retVal);
628 goto end;
629 error:
631 end:
633}
#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 …

◆ tcllcconfig_LcSettingC_LookupAll()

static OT_ProcRet tcllcconfig_LcSettingC_LookupAll ( LcSettingC_ARGS )
static

Tcl: MkBufferListC [$setting LookupAll] C-API
addon - read an entire configuration below setting into MkBufferListC

Definition at line 636 of file LcSettingC_tcl.c.

636 {
640 MK_BFL retVal = LcSettingLookupAll (hdl);
641 OT_retObj_SET_BFL(retVal);
642 goto end;
643 error:
645 end:
647}
#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 …

◆ tcllcconfig_LcSettingC_LookupBool()

static OT_ProcRet tcllcconfig_LcSettingC_LookupBool ( LcSettingC_ARGS )
static

Tcl: 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 652 of file LcSettingC_tcl.c.

652 {
655 MK_STRN name = 0;
658 MK_BOOL value_out;
659 MkErrorC_Check(hdl,LcSettingLookupBool (hdl, name, &value_out));
660 OT_retObj_SET_BOL(value_out);
661 goto end;
662 error:
664 end:
666}
#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

◆ tcllcconfig_LcSettingC_LookupFloat()

static OT_ProcRet tcllcconfig_LcSettingC_LookupFloat ( LcSettingC_ARGS )
static

Tcl: 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 669 of file LcSettingC_tcl.c.

669 {
672 MK_STRN name = 0;
675 MK_DBL value_out;
676 MkErrorC_Check(hdl,LcSettingLookupFloat (hdl, name, &value_out));
677 OT_retObj_SET_DBL(value_out);
678 goto end;
679 error:
681 end:
683}
#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

◆ tcllcconfig_LcSettingC_LookupInt()

static OT_ProcRet tcllcconfig_LcSettingC_LookupInt ( LcSettingC_ARGS )
static

Tcl: 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 686 of file LcSettingC_tcl.c.

686 {
689 MK_STRN name = 0;
692 MK_I32 value_out;
693 MkErrorC_Check(hdl,LcSettingLookupInt (hdl, name, &value_out));
694 OT_retObj_SET_I32(value_out);
695 goto end;
696 error:
698 end:
700}
#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

◆ tcllcconfig_LcSettingC_LookupInt64()

static OT_ProcRet tcllcconfig_LcSettingC_LookupInt64 ( LcSettingC_ARGS )
static

Tcl: 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 703 of file LcSettingC_tcl.c.

703 {
706 MK_STRN name = 0;
709 MK_I64 value_out;
710 MkErrorC_Check(hdl,LcSettingLookupInt64 (hdl, name, &value_out));
711 OT_retObj_SET_I64(value_out);
712 goto end;
713 error:
715 end:
717}
#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

◆ tcllcconfig_LcSettingC_LookupString()

static OT_ProcRet tcllcconfig_LcSettingC_LookupString ( LcSettingC_ARGS )
static

Tcl: 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 720 of file LcSettingC_tcl.c.

720 {
723 MK_STRN name = 0;
726 MK_STRN value_out;
727 MkErrorC_Check(hdl,LcSettingLookupString (hdl, name, &value_out));
728 OT_retObj_SET_STR(value_out);
729 goto end;
730 error:
732 end:
734}
#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 …