theConfig 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
LcSettingC_Set_TCL_API

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

+ Collaboration diagram for LcSettingC_Set_TCL_API:

Functions

static OT_ProcRet tcllcconfig_LcSettingC_SetBoolElem (LcSettingC_ARGS)
  Tcl: 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 tcllcconfig_LcSettingC_SetFloatElem (LcSettingC_ARGS)
  Tcl: 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 tcllcconfig_LcSettingC_SetInt64Elem (LcSettingC_ARGS)
  Tcl: 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 tcllcconfig_LcSettingC_SetIntElem (LcSettingC_ARGS)
  Tcl: 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 tcllcconfig_LcSettingC_SetStringElem (LcSettingC_ARGS)
  Tcl: 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 tcllcconfig_LcSettingC_SetBool (LcSettingC_ARGS)
  Tcl: $setting SetBool value:bool C-API
These functions set the value of the given setting to value
 
static OT_ProcRet tcllcconfig_LcSettingC_SetFloat (LcSettingC_ARGS)
  Tcl: $setting SetFloat value:double C-API
These functions set the value of the given setting to value
 
static OT_ProcRet tcllcconfig_LcSettingC_SetFormat (LcSettingC_ARGS)
  Tcl: $setting SetFormat format:LcConfigFormatE C-API
These functions get and set the external format for the setting setting
 
static OT_ProcRet tcllcconfig_LcSettingC_SetInt (LcSettingC_ARGS)
  Tcl: $setting SetInt value:int32 C-API
These functions set the value of the given setting to value
 
static OT_ProcRet tcllcconfig_LcSettingC_SetInt64 (LcSettingC_ARGS)
  Tcl: $setting SetInt64 value:int64 C-API
These functions set the value of the given setting to value
 
static OT_ProcRet tcllcconfig_LcSettingC_SetString (LcSettingC_ARGS)
  Tcl: $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

◆ tcllcconfig_LcSettingC_SetBool()

static OT_ProcRet tcllcconfig_LcSettingC_SetBool ( LcSettingC_ARGS )
static

Tcl: $setting SetBool value:bool C-API
These functions set the value of the given setting to value

Definition at line 1025 of file LcSettingC_tcl.c.

1025 {
1027 OT_SETUP_ONEARG(SetBool_doc)
1028 MK_BOOL value = 0;
1029 OT_CHECK_REQUIRED(OT_CHECK_bool (value))
1030 OT_CHECK_NOARGS
1031 MkErrorC_Check(hdl,LcSettingSetBool (hdl, value));
1032 OT_retObj_SET_None
1033 goto end;
1034 error:
1035 OT_retObj_SET_Error
1036 end:
1037 OT_retObj_RETURN
1038}
#define OT_SETUP_hdl
#define SetBool_doc
static enum MkErrorE LcSettingSetBool(LC_CFS setting, MK_BOOL value)
These functions set the value of the given setting to value …
bool MK_BOOL

◆ tcllcconfig_LcSettingC_SetBoolElem()

static OT_ProcRet tcllcconfig_LcSettingC_SetBoolElem ( LcSettingC_ARGS )
static

Tcl: 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 913 of file LcSettingC_tcl.c.

913 {
915 OT_SETUP_VARARGS(2,2,SetBoolElem_doc)
916 MK_I32 idx = 0;
917 OT_CHECK_REQUIRED(OT_CHECK_NI4 (idx))
918 MK_I32 value = 0;
919 OT_CHECK_REQUIRED(OT_CHECK_NI4 (value))
920 OT_CHECK_NOARGS
921 LC_CFS retVal = LcSettingSetBoolElem (hdl, idx, value);
922 if (retVal == NULL) {
923 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC)
924 goto error;
925 }
926 OT_retObj_SET_CFS(retVal)
927 goto end;
928 error:
929 OT_retObj_SET_Error
930 end:
931 OT_retObj_RETURN
932}
#define SetBoolElem_doc
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 …

◆ tcllcconfig_LcSettingC_SetFloat()

static OT_ProcRet tcllcconfig_LcSettingC_SetFloat ( LcSettingC_ARGS )
static

Tcl: $setting SetFloat value:double C-API
These functions set the value of the given setting to value

Definition at line 1041 of file LcSettingC_tcl.c.

1041 {
1043 OT_SETUP_ONEARG(SetFloat_doc)
1044 MK_DBL value = 0;
1045 OT_CHECK_REQUIRED(OT_CHECK_NF8 (value))
1046 OT_CHECK_NOARGS
1047 MkErrorC_Check(hdl,LcSettingSetFloat (hdl, value));
1048 OT_retObj_SET_None
1049 goto end;
1050 error:
1051 OT_retObj_SET_Error
1052 end:
1053 OT_retObj_RETURN
1054}
#define SetFloat_doc
static enum MkErrorE LcSettingSetFloat(LC_CFS setting, MK_DBL value)
These functions set the value of the given setting to value …
double MK_DBL

◆ tcllcconfig_LcSettingC_SetFloatElem()

static OT_ProcRet tcllcconfig_LcSettingC_SetFloatElem ( LcSettingC_ARGS )
static

Tcl: 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 935 of file LcSettingC_tcl.c.

935 {
937 OT_SETUP_VARARGS(2,2,SetFloatElem_doc)
938 MK_I32 idx = 0;
939 OT_CHECK_REQUIRED(OT_CHECK_NI4 (idx))
940 MK_DBL value = 0;
941 OT_CHECK_REQUIRED(OT_CHECK_NF8 (value))
942 OT_CHECK_NOARGS
943 LC_CFS retVal = LcSettingSetFloatElem (hdl, idx, value);
944 if (retVal == NULL) {
945 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC)
946 goto error;
947 }
948 OT_retObj_SET_CFS(retVal)
949 goto end;
950 error:
951 OT_retObj_SET_Error
952 end:
953 OT_retObj_RETURN
954}
#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 …

◆ tcllcconfig_LcSettingC_SetFormat()

static OT_ProcRet tcllcconfig_LcSettingC_SetFormat ( LcSettingC_ARGS )
static

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

Definition at line 1057 of file LcSettingC_tcl.c.

1057 {
1059 OT_SETUP_ONEARG(SetFormat_doc)
1060 enum LcConfigFormatE format = 0;
1061 OT_CHECK_REQUIRED(OT_CHECK_ENUM (LcConfigFormatE,format))
1062 OT_CHECK_NOARGS
1063 MkErrorC_Check(hdl,LcSettingSetFormat (hdl, format));
1064 OT_retObj_SET_None
1065 goto end;
1066 error:
1067 OT_retObj_SET_Error
1068 end:
1069 OT_retObj_RETURN
1070}
#define SetFormat_doc
LcConfigFormatE
set the format of a LcSettingC …
Definition LcEnum_lc.h:33
static enum MkErrorE LcSettingSetFormat(LC_CFS setting, enum LcConfigFormatE format)
These functions get and set the external format for the setting setting …

◆ tcllcconfig_LcSettingC_SetInt()

static OT_ProcRet tcllcconfig_LcSettingC_SetInt ( LcSettingC_ARGS )
static

Tcl: $setting SetInt value:int32 C-API
These functions set the value of the given setting to value

Definition at line 1073 of file LcSettingC_tcl.c.

1073 {
1075 OT_SETUP_ONEARG(SetInt_doc)
1076 MK_I32 value = 0;
1077 OT_CHECK_REQUIRED(OT_CHECK_NI4 (value))
1078 OT_CHECK_NOARGS
1079 MkErrorC_Check(hdl,LcSettingSetInt (hdl, value));
1080 OT_retObj_SET_None
1081 goto end;
1082 error:
1083 OT_retObj_SET_Error
1084 end:
1085 OT_retObj_RETURN
1086}
#define SetInt_doc
static enum MkErrorE LcSettingSetInt(LC_CFS setting, MK_I32 value)
These functions set the value of the given setting to value …

◆ tcllcconfig_LcSettingC_SetInt64()

static OT_ProcRet tcllcconfig_LcSettingC_SetInt64 ( LcSettingC_ARGS )
static

Tcl: $setting SetInt64 value:int64 C-API
These functions set the value of the given setting to value

Definition at line 1089 of file LcSettingC_tcl.c.

1089 {
1091 OT_SETUP_ONEARG(SetInt64_doc)
1092 MK_I64 value = 0;
1093 OT_CHECK_REQUIRED(OT_CHECK_NI8 (value))
1094 OT_CHECK_NOARGS
1095 MkErrorC_Check(hdl,LcSettingSetInt64 (hdl, value));
1096 OT_retObj_SET_None
1097 goto end;
1098 error:
1099 OT_retObj_SET_Error
1100 end:
1101 OT_retObj_RETURN
1102}
#define SetInt64_doc
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

◆ tcllcconfig_LcSettingC_SetInt64Elem()

static OT_ProcRet tcllcconfig_LcSettingC_SetInt64Elem ( LcSettingC_ARGS )
static

Tcl: 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 957 of file LcSettingC_tcl.c.

957 {
959 OT_SETUP_VARARGS(2,2,SetInt64Elem_doc)
960 MK_I32 idx = 0;
961 OT_CHECK_REQUIRED(OT_CHECK_NI4 (idx))
962 MK_I64 value = 0;
963 OT_CHECK_REQUIRED(OT_CHECK_NI8 (value))
964 OT_CHECK_NOARGS
965 LC_CFS retVal = LcSettingSetInt64Elem (hdl, idx, value);
966 if (retVal == NULL) {
967 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC)
968 goto error;
969 }
970 OT_retObj_SET_CFS(retVal)
971 goto end;
972 error:
973 OT_retObj_SET_Error
974 end:
975 OT_retObj_RETURN
976}
#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 …

◆ tcllcconfig_LcSettingC_SetIntElem()

static OT_ProcRet tcllcconfig_LcSettingC_SetIntElem ( LcSettingC_ARGS )
static

Tcl: 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 979 of file LcSettingC_tcl.c.

979 {
981 OT_SETUP_VARARGS(2,2,SetIntElem_doc)
982 MK_I32 idx = 0;
983 OT_CHECK_REQUIRED(OT_CHECK_NI4 (idx))
984 MK_I32 value = 0;
985 OT_CHECK_REQUIRED(OT_CHECK_NI4 (value))
986 OT_CHECK_NOARGS
987 LC_CFS retVal = LcSettingSetIntElem (hdl, idx, value);
988 if (retVal == NULL) {
989 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC)
990 goto error;
991 }
992 OT_retObj_SET_CFS(retVal)
993 goto end;
994 error:
995 OT_retObj_SET_Error
996 end:
997 OT_retObj_RETURN
998}
#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 …

◆ tcllcconfig_LcSettingC_SetString()

static OT_ProcRet tcllcconfig_LcSettingC_SetString ( LcSettingC_ARGS )
static

Tcl: $setting SetString value:string C-API
These functions set the value of the given setting to value

Definition at line 1105 of file LcSettingC_tcl.c.

1105 {
1107 OT_SETUP_ONEARG(SetString_doc)
1108 MK_STRN value = 0;
1109 OT_CHECK_REQUIRED(OT_CHECK_STRN (value))
1110 OT_CHECK_NOARGS
1111 MkErrorC_Check(hdl,LcSettingSetString (hdl, value));
1112 OT_retObj_SET_None
1113 goto end;
1114 error:
1115 OT_retObj_SET_Error
1116 end:
1117 OT_retObj_RETURN
1118}
#define SetString_doc
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

◆ tcllcconfig_LcSettingC_SetStringElem()

static OT_ProcRet tcllcconfig_LcSettingC_SetStringElem ( LcSettingC_ARGS )
static

Tcl: 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 1001 of file LcSettingC_tcl.c.

1001 {
1003 OT_SETUP_VARARGS(2,2,SetStringElem_doc)
1004 MK_I32 idx = 0;
1005 OT_CHECK_REQUIRED(OT_CHECK_NI4 (idx))
1006 MK_STRN value = 0;
1007 OT_CHECK_REQUIRED(OT_CHECK_STRN (value))
1008 OT_CHECK_NOARGS
1009 LC_CFS retVal = LcSettingSetStringElem (hdl, idx, value);
1010 if (retVal == NULL) {
1011 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC)
1012 goto error;
1013 }
1014 OT_retObj_SET_CFS(retVal)
1015 goto end;
1016 error:
1017 OT_retObj_SET_Error
1018 end:
1019 OT_retObj_RETURN
1020}
#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 …