theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_Lookup_ATL_API

LcSettingC - various functions to lookup a settingMore...

+ Collaboration diagram for LcSettingC_Lookup_ATL_API:

Functions

static OT_ProcRet atllcconfig_LcSettingC_Lookup (LcSettingC_ARGS)
  Atl: LcSettingC [LcSettingC::Lookup $setting path:string] C-API
This function locates a setting by a path path relative to the setting setting
 
static OT_ProcRet atllcconfig_LcSettingC_LookupAll (LcSettingC_ARGS)
  Atl: MkBufferListC [LcSettingC::LookupAll $setting] C-API
addon - read an entire configuration below setting into MkBufferListC
 
static OT_ProcRet atllcconfig_LcSettingC_LookupBool (LcSettingC_ARGS)
  Atl: bool [LcSettingC::LookupBool $setting name:string] C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet atllcconfig_LcSettingC_LookupFloat (LcSettingC_ARGS)
  Atl: double [LcSettingC::LookupFloat $setting name:string] C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet atllcconfig_LcSettingC_LookupInt (LcSettingC_ARGS)
  Atl: int32 [LcSettingC::LookupInt $setting name:string] C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet atllcconfig_LcSettingC_LookupInt64 (LcSettingC_ARGS)
  Atl: int64 [LcSettingC::LookupInt64 $setting name:string] C-API
These functions look up the value of the child setting named name of the setting setting
 
static OT_ProcRet atllcconfig_LcSettingC_LookupString (LcSettingC_ARGS)
  Atl: string [LcSettingC::LookupString $setting 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

◆ atllcconfig_LcSettingC_Lookup()

static OT_ProcRet atllcconfig_LcSettingC_Lookup ( LcSettingC_ARGS )
static

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

Definition at line 595 of file LcSettingC_atl.c.

595 {
598 MK_STRN path = 0;
601 LC_CFS retVal = LcSettingLookup (hdl, path);
602 if (retVal == NULL) {
603 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC);
604 goto error;
605 }
606 OT_retObj_SET_CFS(retVal);
607 goto end;
608 error:
610 end:
612}
#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 …

◆ atllcconfig_LcSettingC_LookupAll()

static OT_ProcRet atllcconfig_LcSettingC_LookupAll ( LcSettingC_ARGS )
static

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

Definition at line 615 of file LcSettingC_atl.c.

615 {
619 MK_BFL retVal = LcSettingLookupAll (hdl);
620 OT_retObj_SET_BFL(retVal);
621 goto end;
622 error:
624 end:
626}
#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 …

◆ atllcconfig_LcSettingC_LookupBool()

static OT_ProcRet atllcconfig_LcSettingC_LookupBool ( LcSettingC_ARGS )
static

Atl: bool [LcSettingC::LookupBool $setting name:string] C-API
These functions look up the value of the child setting named name of the setting setting

Definition at line 631 of file LcSettingC_atl.c.

631 {
634 MK_STRN name = 0;
637 MK_BOOL value_out;
638 MkErrorC_Check(hdl,LcSettingLookupBool (hdl, name, &value_out));
639 OT_retObj_SET_BOL(value_out);
640 goto end;
641 error:
643 end:
645}
#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

◆ atllcconfig_LcSettingC_LookupFloat()

static OT_ProcRet atllcconfig_LcSettingC_LookupFloat ( LcSettingC_ARGS )
static

Atl: double [LcSettingC::LookupFloat $setting name:string] C-API
These functions look up the value of the child setting named name of the setting setting

Definition at line 648 of file LcSettingC_atl.c.

648 {
651 MK_STRN name = 0;
654 MK_DBL value_out;
655 MkErrorC_Check(hdl,LcSettingLookupFloat (hdl, name, &value_out));
656 OT_retObj_SET_DBL(value_out);
657 goto end;
658 error:
660 end:
662}
#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

◆ atllcconfig_LcSettingC_LookupInt()

static OT_ProcRet atllcconfig_LcSettingC_LookupInt ( LcSettingC_ARGS )
static

Atl: int32 [LcSettingC::LookupInt $setting name:string] C-API
These functions look up the value of the child setting named name of the setting setting

Definition at line 665 of file LcSettingC_atl.c.

665 {
668 MK_STRN name = 0;
671 MK_I32 value_out;
672 MkErrorC_Check(hdl,LcSettingLookupInt (hdl, name, &value_out));
673 OT_retObj_SET_I32(value_out);
674 goto end;
675 error:
677 end:
679}
#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

◆ atllcconfig_LcSettingC_LookupInt64()

static OT_ProcRet atllcconfig_LcSettingC_LookupInt64 ( LcSettingC_ARGS )
static

Atl: int64 [LcSettingC::LookupInt64 $setting name:string] C-API
These functions look up the value of the child setting named name of the setting setting

Definition at line 682 of file LcSettingC_atl.c.

682 {
685 MK_STRN name = 0;
688 MK_I64 value_out;
689 MkErrorC_Check(hdl,LcSettingLookupInt64 (hdl, name, &value_out));
690 OT_retObj_SET_I64(value_out);
691 goto end;
692 error:
694 end:
696}
#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

◆ atllcconfig_LcSettingC_LookupString()

static OT_ProcRet atllcconfig_LcSettingC_LookupString ( LcSettingC_ARGS )
static

Atl: string [LcSettingC::LookupString $setting name:string] C-API
These functions look up the value of the child setting named name of the setting setting

Definition at line 699 of file LcSettingC_atl.c.

699 {
702 MK_STRN name = 0;
705 MK_STRN value_out;
706 MkErrorC_Check(hdl,LcSettingLookupString (hdl, name, &value_out));
707 OT_retObj_SET_STR(value_out);
708 goto end;
709 error:
711 end:
713}
#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 …