theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_Get_TCL_API

LcSettingC - various functions to get data from a settingMore...

+ Collaboration diagram for LcSettingC_Get_TCL_API:

Functions

static OT_ProcRet tcllcconfig_LcSettingC_GetElem (LcSettingC_ARGS)
  Tcl: LcSettingC [$setting GetElem idx:int32] C-API
This function fetches the element at the given index index in the setting setting, which must be an array, list, or group …
 
static OT_ProcRet tcllcconfig_LcSettingC_GetMember (LcSettingC_ARGS)
  Tcl: LcSettingC [$setting GetMember name:string] C-API
This function fetches the child setting named name from the group setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetBool (LcSettingC_ARGS)
  Tcl: bool [$setting GetBool] C-API
These functions return the value of the given setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetBoolElem (LcSettingC_ARGS)
  Tcl: bool [$setting GetBoolElem idx:int32] C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetFloat (LcSettingC_ARGS)
  Tcl: double [$setting GetFloat] C-API
These functions return the value of the given setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetFloatElem (LcSettingC_ARGS)
  Tcl: double [$setting GetFloatElem idx:int32] C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetFormat (LcSettingC_ARGS)
  Tcl: LcConfigFormatE [$setting GetFormat] C-API
These functions get and set the external format for the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetInt (LcSettingC_ARGS)
  Tcl: int32 [$setting GetInt] C-API
These functions return the value of the given setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetInt64 (LcSettingC_ARGS)
  Tcl: int64 [$setting GetInt64] C-API
These functions return the value of the given setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetInt64Elem (LcSettingC_ARGS)
  Tcl: int64 [$setting GetInt64Elem idx:int32] C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetIntElem (LcSettingC_ARGS)
  Tcl: int32 [$setting GetIntElem idx:int32] C-API
These functions return the value at the specified index index in the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetString (LcSettingC_ARGS)
  Tcl: string [$setting GetString] C-API
These functions return the value of the given setting
 
static OT_ProcRet tcllcconfig_LcSettingC_GetStringElem (LcSettingC_ARGS)
  Tcl: string [$setting GetStringElem idx:int32] C-API
These functions return the value at the specified index index in the setting setting
 

Detailed Description

LcSettingC - various functions to get data from a setting

Function Documentation

◆ tcllcconfig_LcSettingC_GetBool()

static OT_ProcRet tcllcconfig_LcSettingC_GetBool ( LcSettingC_ARGS )
static

Tcl: bool [$setting GetBool] C-API
These functions return the value of the given setting

Definition at line 354 of file LcSettingC_tcl.c.

354 {
359 goto end;
360 error:
362 end:
364}
#define OT_SETUP_hdl
#define GetBool_doc
#define OT_retObj_SET_BOL(nat)
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
static MK_BOOL LcSettingGetBool(LC_CFSN setting)
These functions return the value of the given setting …

◆ tcllcconfig_LcSettingC_GetBoolElem()

static OT_ProcRet tcllcconfig_LcSettingC_GetBoolElem ( LcSettingC_ARGS )
static

Tcl: bool [$setting GetBoolElem idx:int32] C-API
These functions return the value at the specified index index in the setting setting

Definition at line 367 of file LcSettingC_tcl.c.

367 {
370 MK_I32 idx = 0;
374 goto end;
375 error:
377 end:
379}
#define GetBoolElem_doc
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_NI4(val)
#define OT_CHECK_REQUIRED(val)
static MK_BOOL LcSettingGetBoolElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …
signed int MK_I32

◆ tcllcconfig_LcSettingC_GetElem()

static OT_ProcRet tcllcconfig_LcSettingC_GetElem ( LcSettingC_ARGS )
static

Tcl: LcSettingC [$setting GetElem idx:int32] C-API
This function fetches the element at the given index index in the setting setting, which must be an array, list, or group …

Definition at line 312 of file LcSettingC_tcl.c.

312 {
315 MK_I32 idx = 0;
318 LC_CFS retVal = LcSettingGetElem (hdl, idx);
319 if (retVal == NULL) {
320 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC);
321 goto error;
322 }
323 OT_retObj_SET_CFS(retVal);
324 goto end;
325 error:
327 end:
329}
#define GetElem_doc
#define OT_retObj_SET_CFS(nat)
#define OT_ERROR_SOFT_CONSTRUCTOR(class)
static LC_CFS LcSettingGetElem(LC_CFSN setting, MK_I32 idx)
This function fetches the element at the given index index in the setting setting,...
Struct to represent the data from the LcSettingC …

◆ tcllcconfig_LcSettingC_GetFloat()

static OT_ProcRet tcllcconfig_LcSettingC_GetFloat ( LcSettingC_ARGS )
static

Tcl: double [$setting GetFloat] C-API
These functions return the value of the given setting

Definition at line 382 of file LcSettingC_tcl.c.

382 {
387 goto end;
388 error:
390 end:
392}
#define GetFloat_doc
#define OT_retObj_SET_DBL(nat)
static MK_DBL LcSettingGetFloat(LC_CFSN setting)
These functions return the value of the given setting …

◆ tcllcconfig_LcSettingC_GetFloatElem()

static OT_ProcRet tcllcconfig_LcSettingC_GetFloatElem ( LcSettingC_ARGS )
static

Tcl: double [$setting GetFloatElem idx:int32] C-API
These functions return the value at the specified index index in the setting setting

Definition at line 395 of file LcSettingC_tcl.c.

395 {
398 MK_I32 idx = 0;
402 goto end;
403 error:
405 end:
407}
#define GetFloatElem_doc
static MK_DBL LcSettingGetFloatElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …

◆ tcllcconfig_LcSettingC_GetFormat()

static OT_ProcRet tcllcconfig_LcSettingC_GetFormat ( LcSettingC_ARGS )
static

Tcl: LcConfigFormatE [$setting GetFormat] C-API
These functions get and set the external format for the setting setting

Definition at line 410 of file LcSettingC_tcl.c.

410 {
415 goto end;
416 error:
418 end:
420}
#define GetFormat_doc
#define OT_NEW_Lc_enum_OBJ(typ, val)
#define OT_retObj_SET(val)
static enum LcConfigFormatE LcSettingGetFormat(LC_CFSN setting)
These functions get and set the external format for the setting setting …

◆ tcllcconfig_LcSettingC_GetInt()

static OT_ProcRet tcllcconfig_LcSettingC_GetInt ( LcSettingC_ARGS )
static

Tcl: int32 [$setting GetInt] C-API
These functions return the value of the given setting

Definition at line 423 of file LcSettingC_tcl.c.

423 {
428 goto end;
429 error:
431 end:
433}
#define GetInt_doc
#define OT_retObj_SET_I32(nat)
static MK_I32 LcSettingGetInt(LC_CFSN setting)
These functions return the value of the given setting …

◆ tcllcconfig_LcSettingC_GetInt64()

static OT_ProcRet tcllcconfig_LcSettingC_GetInt64 ( LcSettingC_ARGS )
static

Tcl: int64 [$setting GetInt64] C-API
These functions return the value of the given setting

Definition at line 436 of file LcSettingC_tcl.c.

436 {
441 goto end;
442 error:
444 end:
446}
#define GetInt64_doc
#define OT_retObj_SET_I64(nat)
static MK_I64 LcSettingGetInt64(LC_CFSN setting)
These functions return the value of the given setting …

◆ tcllcconfig_LcSettingC_GetInt64Elem()

static OT_ProcRet tcllcconfig_LcSettingC_GetInt64Elem ( LcSettingC_ARGS )
static

Tcl: int64 [$setting GetInt64Elem idx:int32] C-API
These functions return the value at the specified index index in the setting setting

Definition at line 449 of file LcSettingC_tcl.c.

449 {
452 MK_I32 idx = 0;
456 goto end;
457 error:
459 end:
461}
#define GetInt64Elem_doc
static MK_I64 LcSettingGetInt64Elem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …

◆ tcllcconfig_LcSettingC_GetIntElem()

static OT_ProcRet tcllcconfig_LcSettingC_GetIntElem ( LcSettingC_ARGS )
static

Tcl: int32 [$setting GetIntElem idx:int32] C-API
These functions return the value at the specified index index in the setting setting

Definition at line 464 of file LcSettingC_tcl.c.

464 {
467 MK_I32 idx = 0;
471 goto end;
472 error:
474 end:
476}
#define GetIntElem_doc
static MK_I32 LcSettingGetIntElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …

◆ tcllcconfig_LcSettingC_GetMember()

static OT_ProcRet tcllcconfig_LcSettingC_GetMember ( LcSettingC_ARGS )
static

Tcl: LcSettingC [$setting GetMember name:string] C-API
This function fetches the child setting named name from the group setting

Definition at line 332 of file LcSettingC_tcl.c.

332 {
335 MK_STRN name = 0;
338 LC_CFS retVal = LcSettingGetMember (hdl, name);
339 if (retVal == NULL) {
340 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC);
341 goto error;
342 }
343 OT_retObj_SET_CFS(retVal);
344 goto end;
345 error:
347 end:
349}
#define GetMember_doc
#define OT_CHECK_STRN(val)
static LC_CFS LcSettingGetMember(LC_CFSN setting, MK_STRN name)
This function fetches the child setting named name from the group setting …
const MK_STRB * MK_STRN

◆ tcllcconfig_LcSettingC_GetString()

static OT_ProcRet tcllcconfig_LcSettingC_GetString ( LcSettingC_ARGS )
static

Tcl: string [$setting GetString] C-API
These functions return the value of the given setting

Definition at line 479 of file LcSettingC_tcl.c.

479 {
484 goto end;
485 error:
487 end:
489}
#define GetString_doc
#define OT_retObj_SET_STR(nat)
static MK_STRN LcSettingGetString(LC_CFSN setting)
These functions return the value of the given setting …

◆ tcllcconfig_LcSettingC_GetStringElem()

static OT_ProcRet tcllcconfig_LcSettingC_GetStringElem ( LcSettingC_ARGS )
static

Tcl: string [$setting GetStringElem idx:int32] C-API
These functions return the value at the specified index index in the setting setting

Definition at line 492 of file LcSettingC_tcl.c.

492 {
495 MK_I32 idx = 0;
499 goto end;
500 error:
502 end:
504}
#define GetStringElem_doc
static MK_STRN LcSettingGetStringElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …