theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_Set_RB_API

LcSettingC - various functions to set date into a settingMore...

+ Collaboration diagram for LcSettingC_Set_RB_API:

Functions

static OT_ProcRet rblcconfig_LcSettingC_SetBoolElem (LcSettingC_ARGS)
  Ruby: LcSettingC setting.SetBoolElem(idx:int32, value:int32) C-API
These functions set the value at the specified index index in the setting setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_SetFloatElem (LcSettingC_ARGS)
  Ruby: LcSettingC setting.SetFloatElem(idx:int32, value:double) C-API
These functions set the value at the specified index index in the setting setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_SetInt64Elem (LcSettingC_ARGS)
  Ruby: LcSettingC setting.SetInt64Elem(idx:int32, value:int64) C-API
These functions set the value at the specified index index in the setting setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_SetIntElem (LcSettingC_ARGS)
  Ruby: LcSettingC setting.SetIntElem(idx:int32, value:int32) C-API
These functions set the value at the specified index index in the setting setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_SetStringElem (LcSettingC_ARGS)
  Ruby: LcSettingC setting.SetStringElem(idx:int32, value:string) C-API
These functions set the value at the specified index index in the setting setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_SetBool (LcSettingC_ARGS)
  Ruby: setting.SetBool(value:bool) C-API
These functions set the value of the given setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_SetFloat (LcSettingC_ARGS)
  Ruby: setting.SetFloat(value:double) C-API
These functions set the value of the given setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_SetFormat (LcSettingC_ARGS)
  Ruby: setting.SetFormat(format:LcConfigFormatE) C-API
These functions get and set the external format for the setting setting
 
static OT_ProcRet rblcconfig_LcSettingC_SetInt (LcSettingC_ARGS)
  Ruby: setting.SetInt(value:int32) C-API
These functions set the value of the given setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_SetInt64 (LcSettingC_ARGS)
  Ruby: setting.SetInt64(value:int64) C-API
These functions set the value of the given setting to value
 
static OT_ProcRet rblcconfig_LcSettingC_SetString (LcSettingC_ARGS)
  Ruby: setting.SetString(value:string) C-API
These functions set the value of the given setting to value
 

Detailed Description

LcSettingC - various functions to set date into a setting

Function Documentation

◆ rblcconfig_LcSettingC_SetBool()

static OT_ProcRet rblcconfig_LcSettingC_SetBool ( LcSettingC_ARGS )
static

Ruby: setting.SetBool(value:bool) C-API
These functions set the value of the given setting to value

Definition at line 867 of file LcSettingC_rb.c.

867 {
870 MK_BOOL value = 0;
873 MkErrorC_Check(hdl,LcSettingSetBool (hdl, value));
875 end: MK_UNUSED /* LONG JUMP on error */
877}
#define OT_SETUP_hdl
#define SetBool_doc
#define OT_CHECK_bool(val)
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define MkErrorC_Check(mng, PROC)
static enum MkErrorE LcSettingSetBool(LC_CFS setting, MK_BOOL value)
These functions set the value of the given setting to value …
#define MK_UNUSED
bool MK_BOOL

◆ rblcconfig_LcSettingC_SetBoolElem()

static OT_ProcRet rblcconfig_LcSettingC_SetBoolElem ( LcSettingC_ARGS )
static

Ruby: LcSettingC setting.SetBoolElem(idx:int32, value:int32) C-API
These functions set the value at the specified index index in the setting setting to value

Definition at line 775 of file LcSettingC_rb.c.

775 {
778 MK_I32 idx = 0;
780 MK_I32 value = 0;
783 LC_CFS retVal = LcSettingSetBoolElem (hdl, idx, value);
784 if (retVal == NULL) {
785 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC);
786 }
787 OT_retObj_SET_CFS(retVal);
788 end: MK_UNUSED /* LONG JUMP on error */
790}
#define SetBoolElem_doc
#define OT_retObj_SET_CFS(nat)
#define OT_SETUP_VARARGS(min, max, d)
#define OT_ERROR_SOFT_CONSTRUCTOR(clazz)
#define OT_CHECK_NI4(val)
static LC_CFS LcSettingSetBoolElem(LC_CFS setting, MK_I32 idx, MK_I32 value)
These functions set the value at the specified index index in the setting setting to value …
signed int MK_I32
Struct to represent the data from the LcSettingC …

◆ rblcconfig_LcSettingC_SetFloat()

static OT_ProcRet rblcconfig_LcSettingC_SetFloat ( LcSettingC_ARGS )
static

Ruby: setting.SetFloat(value:double) C-API
These functions set the value of the given setting to value

Definition at line 880 of file LcSettingC_rb.c.

880 {
883 MK_DBL value = 0;
886 MkErrorC_Check(hdl,LcSettingSetFloat (hdl, value));
888 end: MK_UNUSED /* LONG JUMP on error */
890}
#define SetFloat_doc
#define OT_CHECK_NF8(val)
static enum MkErrorE LcSettingSetFloat(LC_CFS setting, MK_DBL value)
These functions set the value of the given setting to value …
double MK_DBL

◆ rblcconfig_LcSettingC_SetFloatElem()

static OT_ProcRet rblcconfig_LcSettingC_SetFloatElem ( LcSettingC_ARGS )
static

Ruby: LcSettingC setting.SetFloatElem(idx:int32, value:double) C-API
These functions set the value at the specified index index in the setting setting to value

Definition at line 793 of file LcSettingC_rb.c.

793 {
796 MK_I32 idx = 0;
798 MK_DBL value = 0;
801 LC_CFS retVal = LcSettingSetFloatElem (hdl, idx, value);
802 if (retVal == NULL) {
803 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC);
804 }
805 OT_retObj_SET_CFS(retVal);
806 end: MK_UNUSED /* LONG JUMP on error */
808}
#define SetFloatElem_doc
static LC_CFS LcSettingSetFloatElem(LC_CFS setting, MK_I32 idx, MK_DBL value)
These functions set the value at the specified index index in the setting setting to value …

◆ rblcconfig_LcSettingC_SetFormat()

static OT_ProcRet rblcconfig_LcSettingC_SetFormat ( LcSettingC_ARGS )
static

Ruby: setting.SetFormat(format:LcConfigFormatE) C-API
These functions get and set the external format for the setting setting

Definition at line 893 of file LcSettingC_rb.c.

893 {
896 enum LcConfigFormatE format = 0;
899 MkErrorC_Check(hdl,LcSettingSetFormat (hdl, format));
901 end: MK_UNUSED /* LONG JUMP on error */
903}
#define SetFormat_doc
LcConfigFormatE
set the format of a LcSettingC …
Definition LcEnum_lc.h:30
static enum MkErrorE LcSettingSetFormat(LC_CFS setting, enum LcConfigFormatE format)
These functions get and set the external format for the setting setting …
#define OT_CHECK_ENUM(ename, val)

◆ rblcconfig_LcSettingC_SetInt()

static OT_ProcRet rblcconfig_LcSettingC_SetInt ( LcSettingC_ARGS )
static

Ruby: setting.SetInt(value:int32) C-API
These functions set the value of the given setting to value

Definition at line 906 of file LcSettingC_rb.c.

906 {
909 MK_I32 value = 0;
912 MkErrorC_Check(hdl,LcSettingSetInt (hdl, value));
914 end: MK_UNUSED /* LONG JUMP on error */
916}
#define SetInt_doc
static enum MkErrorE LcSettingSetInt(LC_CFS setting, MK_I32 value)
These functions set the value of the given setting to value …

◆ rblcconfig_LcSettingC_SetInt64()

static OT_ProcRet rblcconfig_LcSettingC_SetInt64 ( LcSettingC_ARGS )
static

Ruby: setting.SetInt64(value:int64) C-API
These functions set the value of the given setting to value

Definition at line 919 of file LcSettingC_rb.c.

919 {
922 MK_I64 value = 0;
925 MkErrorC_Check(hdl,LcSettingSetInt64 (hdl, value));
927 end: MK_UNUSED /* LONG JUMP on error */
929}
#define SetInt64_doc
#define OT_CHECK_NI8(val)
static enum MkErrorE LcSettingSetInt64(LC_CFS setting, MK_I64 value)
These functions set the value of the given setting to value …
signed long long MK_I64

◆ rblcconfig_LcSettingC_SetInt64Elem()

static OT_ProcRet rblcconfig_LcSettingC_SetInt64Elem ( LcSettingC_ARGS )
static

Ruby: LcSettingC setting.SetInt64Elem(idx:int32, value:int64) C-API
These functions set the value at the specified index index in the setting setting to value

Definition at line 811 of file LcSettingC_rb.c.

811 {
814 MK_I32 idx = 0;
816 MK_I64 value = 0;
819 LC_CFS retVal = LcSettingSetInt64Elem (hdl, idx, value);
820 if (retVal == NULL) {
821 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC);
822 }
823 OT_retObj_SET_CFS(retVal);
824 end: MK_UNUSED /* LONG JUMP on error */
826}
#define SetInt64Elem_doc
static LC_CFS LcSettingSetInt64Elem(LC_CFS setting, MK_I32 idx, MK_I64 value)
These functions set the value at the specified index index in the setting setting to value …

◆ rblcconfig_LcSettingC_SetIntElem()

static OT_ProcRet rblcconfig_LcSettingC_SetIntElem ( LcSettingC_ARGS )
static

Ruby: LcSettingC setting.SetIntElem(idx:int32, value:int32) C-API
These functions set the value at the specified index index in the setting setting to value

Definition at line 829 of file LcSettingC_rb.c.

829 {
832 MK_I32 idx = 0;
834 MK_I32 value = 0;
837 LC_CFS retVal = LcSettingSetIntElem (hdl, idx, value);
838 if (retVal == NULL) {
839 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC);
840 }
841 OT_retObj_SET_CFS(retVal);
842 end: MK_UNUSED /* LONG JUMP on error */
844}
#define SetIntElem_doc
static LC_CFS LcSettingSetIntElem(LC_CFS setting, MK_I32 idx, MK_I32 value)
These functions set the value at the specified index index in the setting setting to value …

◆ rblcconfig_LcSettingC_SetString()

static OT_ProcRet rblcconfig_LcSettingC_SetString ( LcSettingC_ARGS )
static

Ruby: setting.SetString(value:string) C-API
These functions set the value of the given setting to value

Definition at line 932 of file LcSettingC_rb.c.

932 {
935 MK_STRN value = 0;
938 MkErrorC_Check(hdl,LcSettingSetString (hdl, value));
940 end: MK_UNUSED /* LONG JUMP on error */
942}
#define SetString_doc
#define OT_CHECK_STRN(val)
static enum MkErrorE LcSettingSetString(LC_CFS setting, MK_STRN value)
These functions set the value of the given setting to value …
const MK_STRB * MK_STRN

◆ rblcconfig_LcSettingC_SetStringElem()

static OT_ProcRet rblcconfig_LcSettingC_SetStringElem ( LcSettingC_ARGS )
static

Ruby: LcSettingC setting.SetStringElem(idx:int32, value:string) C-API
These functions set the value at the specified index index in the setting setting to value

Definition at line 847 of file LcSettingC_rb.c.

847 {
850 MK_I32 idx = 0;
852 MK_STRN value = 0;
855 LC_CFS retVal = LcSettingSetStringElem (hdl, idx, value);
856 if (retVal == NULL) {
857 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC);
858 }
859 OT_retObj_SET_CFS(retVal);
860 end: MK_UNUSED /* LONG JUMP on error */
862}
#define SetStringElem_doc
static LC_CFS LcSettingSetStringElem(LC_CFS setting, MK_I32 idx, MK_STRN value)
These functions set the value at the specified index index in the setting setting to value …