theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_Set_PY_API

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

+ Collaboration diagram for LcSettingC_Set_PY_API:

Functions

static OT_ProcRet pylcconfig_LcSettingC_SetBoolElem (LcSettingC_ARGS)
  Python: 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 pylcconfig_LcSettingC_SetFloatElem (LcSettingC_ARGS)
  Python: 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 pylcconfig_LcSettingC_SetInt64Elem (LcSettingC_ARGS)
  Python: 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 pylcconfig_LcSettingC_SetIntElem (LcSettingC_ARGS)
  Python: 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 pylcconfig_LcSettingC_SetStringElem (LcSettingC_ARGS)
  Python: 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 pylcconfig_LcSettingC_SetBool (LcSettingC_ARGS)
  Python: setting.SetBool(value:bool) C-API
These functions set the value of the given setting to value
 
static OT_ProcRet pylcconfig_LcSettingC_SetFloat (LcSettingC_ARGS)
  Python: setting.SetFloat(value:double) C-API
These functions set the value of the given setting to value
 
static OT_ProcRet pylcconfig_LcSettingC_SetFormat (LcSettingC_ARGS)
  Python: setting.SetFormat(format:LcConfigFormatE) C-API
These functions get and set the external format for the setting setting
 
static OT_ProcRet pylcconfig_LcSettingC_SetInt (LcSettingC_ARGS)
  Python: setting.SetInt(value:int32) C-API
These functions set the value of the given setting to value
 
static OT_ProcRet pylcconfig_LcSettingC_SetInt64 (LcSettingC_ARGS)
  Python: setting.SetInt64(value:int64) C-API
These functions set the value of the given setting to value
 
static OT_ProcRet pylcconfig_LcSettingC_SetString (LcSettingC_ARGS)
  Python: 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

◆ pylcconfig_LcSettingC_SetBool()

static OT_ProcRet pylcconfig_LcSettingC_SetBool ( LcSettingC_ARGS )
static

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

Definition at line 1014 of file LcSettingC_py.c.

1014 {
1017 MK_BOOL value = 0;
1020 MkErrorC_Check(hdl,LcSettingSetBool (hdl, value));
1022 goto end;
1023 error:
1025 end:
1027}
#define OT_SETUP_hdl
#define SetBool_doc
#define OT_CHECK_bool(val)
#define OT_SETUP_ONEARG(d)
#define OT_retObj_SET_Error
#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 …
bool MK_BOOL

◆ pylcconfig_LcSettingC_SetBoolElem()

static OT_ProcRet pylcconfig_LcSettingC_SetBoolElem ( LcSettingC_ARGS )
static

Python: 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 902 of file LcSettingC_py.c.

902 {
905 MK_I32 idx = 0;
907 MK_I32 value = 0;
910 LC_CFS retVal = LcSettingSetBoolElem (hdl, idx, value);
911 if (retVal == NULL) {
912 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC);
913 goto error;
914 }
915 OT_retObj_SET_CFS(retVal);
916 goto end;
917 error:
919 end:
921}
#define SetBoolElem_doc
#define OT_retObj_SET_CFS(nat)
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_NI4(val)
#define OT_ERROR_SOFT_CONSTRUCTOR(class)
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 …

◆ pylcconfig_LcSettingC_SetFloat()

static OT_ProcRet pylcconfig_LcSettingC_SetFloat ( LcSettingC_ARGS )
static

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

Definition at line 1030 of file LcSettingC_py.c.

1030 {
1033 MK_DBL value = 0;
1036 MkErrorC_Check(hdl,LcSettingSetFloat (hdl, value));
1038 goto end;
1039 error:
1041 end:
1043}
#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

◆ pylcconfig_LcSettingC_SetFloatElem()

static OT_ProcRet pylcconfig_LcSettingC_SetFloatElem ( LcSettingC_ARGS )
static

Python: 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 924 of file LcSettingC_py.c.

924 {
927 MK_I32 idx = 0;
929 MK_DBL value = 0;
932 LC_CFS retVal = LcSettingSetFloatElem (hdl, idx, value);
933 if (retVal == NULL) {
934 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC);
935 goto error;
936 }
937 OT_retObj_SET_CFS(retVal);
938 goto end;
939 error:
941 end:
943}
#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 …

◆ pylcconfig_LcSettingC_SetFormat()

static OT_ProcRet pylcconfig_LcSettingC_SetFormat ( LcSettingC_ARGS )
static

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

Definition at line 1046 of file LcSettingC_py.c.

1046 {
1049 enum LcConfigFormatE format = 0;
1052 MkErrorC_Check(hdl,LcSettingSetFormat (hdl, format));
1054 goto end;
1055 error:
1057 end:
1059}
#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)

◆ pylcconfig_LcSettingC_SetInt()

static OT_ProcRet pylcconfig_LcSettingC_SetInt ( LcSettingC_ARGS )
static

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

Definition at line 1062 of file LcSettingC_py.c.

1062 {
1065 MK_I32 value = 0;
1068 MkErrorC_Check(hdl,LcSettingSetInt (hdl, value));
1070 goto end;
1071 error:
1073 end:
1075}
#define SetInt_doc
static enum MkErrorE LcSettingSetInt(LC_CFS setting, MK_I32 value)
These functions set the value of the given setting to value …

◆ pylcconfig_LcSettingC_SetInt64()

static OT_ProcRet pylcconfig_LcSettingC_SetInt64 ( LcSettingC_ARGS )
static

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

Definition at line 1078 of file LcSettingC_py.c.

1078 {
1081 MK_I64 value = 0;
1084 MkErrorC_Check(hdl,LcSettingSetInt64 (hdl, value));
1086 goto end;
1087 error:
1089 end:
1091}
#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

◆ pylcconfig_LcSettingC_SetInt64Elem()

static OT_ProcRet pylcconfig_LcSettingC_SetInt64Elem ( LcSettingC_ARGS )
static

Python: 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 946 of file LcSettingC_py.c.

946 {
949 MK_I32 idx = 0;
951 MK_I64 value = 0;
954 LC_CFS retVal = LcSettingSetInt64Elem (hdl, idx, value);
955 if (retVal == NULL) {
956 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC);
957 goto error;
958 }
959 OT_retObj_SET_CFS(retVal);
960 goto end;
961 error:
963 end:
965}
#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 …

◆ pylcconfig_LcSettingC_SetIntElem()

static OT_ProcRet pylcconfig_LcSettingC_SetIntElem ( LcSettingC_ARGS )
static

Python: 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 968 of file LcSettingC_py.c.

968 {
971 MK_I32 idx = 0;
973 MK_I32 value = 0;
976 LC_CFS retVal = LcSettingSetIntElem (hdl, idx, value);
977 if (retVal == NULL) {
978 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC);
979 goto error;
980 }
981 OT_retObj_SET_CFS(retVal);
982 goto end;
983 error:
985 end:
987}
#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 …

◆ pylcconfig_LcSettingC_SetString()

static OT_ProcRet pylcconfig_LcSettingC_SetString ( LcSettingC_ARGS )
static

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

Definition at line 1094 of file LcSettingC_py.c.

1094 {
1097 MK_STRN value = 0;
1100 MkErrorC_Check(hdl,LcSettingSetString (hdl, value));
1102 goto end;
1103 error:
1105 end:
1107}
#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

◆ pylcconfig_LcSettingC_SetStringElem()

static OT_ProcRet pylcconfig_LcSettingC_SetStringElem ( LcSettingC_ARGS )
static

Python: 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 990 of file LcSettingC_py.c.

990 {
993 MK_I32 idx = 0;
995 MK_STRN value = 0;
998 LC_CFS retVal = LcSettingSetStringElem (hdl, idx, value);
999 if (retVal == NULL) {
1000 OT_ERROR_SOFT_CONSTRUCTOR(LcSettingC);
1001 goto error;
1002 }
1003 OT_retObj_SET_CFS(retVal);
1004 goto end;
1005 error:
1007 end:
1009}
#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 …