theConfig 10.0
Loading...
Searching...
No Matches
LcConfigC_Lookup_RB_API

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

+ Collaboration diagram for LcConfigC_Lookup_RB_API:

Functions

static OT_ProcRet rblcconfig_LcConfigC_Lookup (LcConfigC_ARGS)
  Ruby: LcSettingC config.Lookup(path:string) C-API
This function locates the setting in the configuration config specified by the path path
 
static OT_ProcRet rblcconfig_LcConfigC_LookupBool (LcConfigC_ARGS)
  Ruby: 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 rblcconfig_LcConfigC_LookupFloat (LcConfigC_ARGS)
  Ruby: 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 rblcconfig_LcConfigC_LookupInt (LcConfigC_ARGS)
  Ruby: 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 rblcconfig_LcConfigC_LookupInt64 (LcConfigC_ARGS)
  Ruby: 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 rblcconfig_LcConfigC_LookupString (LcConfigC_ARGS)
  Ruby: 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

◆ rblcconfig_LcConfigC_Lookup()

static OT_ProcRet rblcconfig_LcConfigC_Lookup ( LcConfigC_ARGS )
static

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

Definition at line 351 of file LcConfigC_rb.c.

351 {
354 MK_STRN path = 0;
357 LC_CFS retVal = LcConfigLookup (hdl, path);
358 OT_retObj_SET_CFS(retVal);
359 end: MK_UNUSED /* LONG JUMP on error */
361}
#define Lookup_doc
#define OT_SETUP_hdl
#define OT_retObj_SET_CFS(nat)
#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 LcConfigLookup(LC_CFGN config, MK_STRN path)
This function locates the setting in the configuration config specified by the path path …
#define MK_UNUSED
const MK_STRB * MK_STRN
Struct to represent the data from the LcSettingC …

◆ rblcconfig_LcConfigC_LookupBool()

static OT_ProcRet rblcconfig_LcConfigC_LookupBool ( LcConfigC_ARGS )
static

Ruby: 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 366 of file LcConfigC_rb.c.

366 {
369 MK_STRN path = 0;
372 MK_BOOL value_out;
373 MkErrorC_Check(hdl,LcConfigLookupBool (hdl, path, &value_out));
374 OT_retObj_SET_BOL(value_out);
375 end: MK_UNUSED /* LONG JUMP on error */
377}
#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

◆ rblcconfig_LcConfigC_LookupFloat()

static OT_ProcRet rblcconfig_LcConfigC_LookupFloat ( LcConfigC_ARGS )
static

Ruby: 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 380 of file LcConfigC_rb.c.

380 {
383 MK_STRN path = 0;
386 MK_DBL value_out;
387 MkErrorC_Check(hdl,LcConfigLookupFloat (hdl, path, &value_out));
388 OT_retObj_SET_DBL(value_out);
389 end: MK_UNUSED /* LONG JUMP on error */
391}
#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

◆ rblcconfig_LcConfigC_LookupInt()

static OT_ProcRet rblcconfig_LcConfigC_LookupInt ( LcConfigC_ARGS )
static

Ruby: 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 394 of file LcConfigC_rb.c.

394 {
397 MK_STRN path = 0;
400 MK_I32 value_out;
401 MkErrorC_Check(hdl,LcConfigLookupInt (hdl, path, &value_out));
402 OT_retObj_SET_I32(value_out);
403 end: MK_UNUSED /* LONG JUMP on error */
405}
#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

◆ rblcconfig_LcConfigC_LookupInt64()

static OT_ProcRet rblcconfig_LcConfigC_LookupInt64 ( LcConfigC_ARGS )
static

Ruby: 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 408 of file LcConfigC_rb.c.

408 {
411 MK_STRN path = 0;
414 MK_I64 value_out;
415 MkErrorC_Check(hdl,LcConfigLookupInt64 (hdl, path, &value_out));
416 OT_retObj_SET_I64(value_out);
417 end: MK_UNUSED /* LONG JUMP on error */
419}
#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

◆ rblcconfig_LcConfigC_LookupString()

static OT_ProcRet rblcconfig_LcConfigC_LookupString ( LcConfigC_ARGS )
static

Ruby: 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 422 of file LcConfigC_rb.c.

422 {
425 MK_STRN path = 0;
428 MK_STRN value_out;
429 MkErrorC_Check(hdl,LcConfigLookupString (hdl, path, &value_out));
430 OT_retObj_SET_STR(value_out);
431 end: MK_UNUSED /* LONG JUMP on error */
433}
#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...