theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_Lookup_RB_API

LcSettingC - various functions to lookup a settingMore...

+ Collaboration diagram for LcSettingC_Lookup_RB_API:

Functions

static OT_ProcRet rblcconfig_LcSettingC_Lookup (LcSettingC_ARGS)
  Ruby: LcSettingC setting.Lookup(path:string) C-API
This function locates a setting by a path path relative to the setting setting
 
static OT_ProcRet rblcconfig_LcSettingC_LookupAll (LcSettingC_ARGS)
  Ruby: MkBufferListC setting.LookupAll() C-API
addon - read an entire configuration below setting into MkBufferListC
 
static OT_ProcRet rblcconfig_LcSettingC_LookupBool (LcSettingC_ARGS)
  Ruby: 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 rblcconfig_LcSettingC_LookupFloat (LcSettingC_ARGS)
  Ruby: 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 rblcconfig_LcSettingC_LookupInt (LcSettingC_ARGS)
  Ruby: 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 rblcconfig_LcSettingC_LookupInt64 (LcSettingC_ARGS)
  Ruby: 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 rblcconfig_LcSettingC_LookupString (LcSettingC_ARGS)
  Ruby: 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

◆ rblcconfig_LcSettingC_Lookup()

static OT_ProcRet rblcconfig_LcSettingC_Lookup ( LcSettingC_ARGS )
static

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

Definition at line 525 of file LcSettingC_rb.c.

525 {
528 MK_STRN path = 0;
531 LC_CFS retVal = LcSettingLookup (hdl, path);
532 if (retVal == NULL) {
533 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC);
534 }
535 OT_retObj_SET_CFS(retVal);
536 end: MK_UNUSED /* LONG JUMP on error */
538}
#define Lookup_doc
#define OT_SETUP_hdl
#define OT_retObj_SET_CFS(nat)
#define OT_ERROR_SOFT_CONSTRUCTOR(clazz)
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#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 …
#define MK_UNUSED
const MK_STRB * MK_STRN
Struct to represent the data from the LcSettingC …

◆ rblcconfig_LcSettingC_LookupAll()

static OT_ProcRet rblcconfig_LcSettingC_LookupAll ( LcSettingC_ARGS )
static

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

Definition at line 541 of file LcSettingC_rb.c.

541 {
545 MK_BFL retVal = LcSettingLookupAll (hdl);
546 OT_retObj_SET_BFL(retVal);
547 end: MK_UNUSED /* LONG JUMP on error */
549}
#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 …

◆ rblcconfig_LcSettingC_LookupBool()

static OT_ProcRet rblcconfig_LcSettingC_LookupBool ( LcSettingC_ARGS )
static

Ruby: 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 554 of file LcSettingC_rb.c.

554 {
557 MK_STRN name = 0;
560 MK_BOOL value_out;
561 MkErrorC_Check(hdl,LcSettingLookupBool (hdl, name, &value_out));
562 OT_retObj_SET_BOL(value_out);
563 end: MK_UNUSED /* LONG JUMP on error */
565}
#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

◆ rblcconfig_LcSettingC_LookupFloat()

static OT_ProcRet rblcconfig_LcSettingC_LookupFloat ( LcSettingC_ARGS )
static

Ruby: 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 568 of file LcSettingC_rb.c.

568 {
571 MK_STRN name = 0;
574 MK_DBL value_out;
575 MkErrorC_Check(hdl,LcSettingLookupFloat (hdl, name, &value_out));
576 OT_retObj_SET_DBL(value_out);
577 end: MK_UNUSED /* LONG JUMP on error */
579}
#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

◆ rblcconfig_LcSettingC_LookupInt()

static OT_ProcRet rblcconfig_LcSettingC_LookupInt ( LcSettingC_ARGS )
static

Ruby: 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 582 of file LcSettingC_rb.c.

582 {
585 MK_STRN name = 0;
588 MK_I32 value_out;
589 MkErrorC_Check(hdl,LcSettingLookupInt (hdl, name, &value_out));
590 OT_retObj_SET_I32(value_out);
591 end: MK_UNUSED /* LONG JUMP on error */
593}
#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

◆ rblcconfig_LcSettingC_LookupInt64()

static OT_ProcRet rblcconfig_LcSettingC_LookupInt64 ( LcSettingC_ARGS )
static

Ruby: 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 596 of file LcSettingC_rb.c.

596 {
599 MK_STRN name = 0;
602 MK_I64 value_out;
603 MkErrorC_Check(hdl,LcSettingLookupInt64 (hdl, name, &value_out));
604 OT_retObj_SET_I64(value_out);
605 end: MK_UNUSED /* LONG JUMP on error */
607}
#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

◆ rblcconfig_LcSettingC_LookupString()

static OT_ProcRet rblcconfig_LcSettingC_LookupString ( LcSettingC_ARGS )
static

Ruby: 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 610 of file LcSettingC_rb.c.

610 {
613 MK_STRN name = 0;
616 MK_STRN value_out;
617 MkErrorC_Check(hdl,LcSettingLookupString (hdl, name, &value_out));
618 OT_retObj_SET_STR(value_out);
619 end: MK_UNUSED /* LONG JUMP on error */
621}
#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 …