theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_Set_CS_API

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

+ Collaboration diagram for LcSettingC_Set_CS_API:

Functions

LcSettingC cslcconfig.LcSettingC.SetBoolElem (int idx, int value)
  C#: LcSettingC setting.SetBoolElem(int idx, int value) C-API
These functions set the value at the specified index index in the setting setting to value
 
LcSettingC cslcconfig.LcSettingC.SetFloatElem (int idx, double value)
  C#: LcSettingC setting.SetFloatElem(int idx, double value) C-API
These functions set the value at the specified index index in the setting setting to value
 
LcSettingC cslcconfig.LcSettingC.SetInt64Elem (int idx, long value)
  C#: LcSettingC setting.SetInt64Elem(int idx, long value) C-API
These functions set the value at the specified index index in the setting setting to value
 
LcSettingC cslcconfig.LcSettingC.SetIntElem (int idx, int value)
  C#: LcSettingC setting.SetIntElem(int idx, int value) C-API
These functions set the value at the specified index index in the setting setting to value
 
LcSettingC cslcconfig.LcSettingC.SetStringElem (int idx, string value)
  C#: LcSettingC setting.SetStringElem(int idx, string value) C-API
These functions set the value at the specified index index in the setting setting to value
 
void cslcconfig.LcSettingC.SetBool (bool value)
  C#: setting.SetBool(bool value) C-API
These functions set the value of the given setting to value
 
void cslcconfig.LcSettingC.SetFloat (double value)
  C#: setting.SetFloat(double value) C-API
These functions set the value of the given setting to value
 
void cslcconfig.LcSettingC.SetFormat (LcConfigFormatE format)
  C#: setting.SetFormat(LcConfigFormatE format) C-API
These functions get and set the external format for the setting setting
 
void cslcconfig.LcSettingC.SetInt (int value)
  C#: setting.SetInt(int value) C-API
These functions set the value of the given setting to value
 
void cslcconfig.LcSettingC.SetInt64 (long value)
  C#: setting.SetInt64(long value) C-API
These functions set the value of the given setting to value
 
void cslcconfig.LcSettingC.SetString (string value)
  C#: setting.SetString(string value) 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

◆ SetBool()

void cslcconfig.LcSettingC.SetBool ( bool value)
inline

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

Definition at line 532 of file LcSettingC.cs.

532 {
533 MkErrorE errVal = Lc.LcSettingSetBool(hdl, value);
534 MkErrorC.Check(hdl, errVal);
535 }
static void Check(IntPtr ctx, MkErrorE err)
MkErrorE

◆ SetBoolElem()

LcSettingC cslcconfig.LcSettingC.SetBoolElem ( int idx,
int value )
inline

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

Definition at line 483 of file LcSettingC.cs.

483 {
484 IntPtr __retVal__L = Lc.LcSettingSetBoolElem(hdl, idx, value);
485 if (__retVal__L == IntPtr.Zero) {
486 throw new MkInitSoftError("LcSettingC.SetBoolElem");
487 }
488 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
489 }

◆ SetFloat()

void cslcconfig.LcSettingC.SetFloat ( double value)
inline

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

Definition at line 538 of file LcSettingC.cs.

538 {
539 MkErrorE errVal = Lc.LcSettingSetFloat(hdl, value);
540 MkErrorC.Check(hdl, errVal);
541 }

◆ SetFloatElem()

LcSettingC cslcconfig.LcSettingC.SetFloatElem ( int idx,
double value )
inline

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

Definition at line 492 of file LcSettingC.cs.

492 {
493 IntPtr __retVal__L = Lc.LcSettingSetFloatElem(hdl, idx, value);
494 if (__retVal__L == IntPtr.Zero) {
495 throw new MkInitSoftError("LcSettingC.SetFloatElem");
496 }
497 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
498 }

◆ SetFormat()

void cslcconfig.LcSettingC.SetFormat ( LcConfigFormatE format)
inline

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

Definition at line 544 of file LcSettingC.cs.

544 {
545 MkErrorE errVal = Lc.LcSettingSetFormat(hdl, format);
546 MkErrorC.Check(hdl, errVal);
547 }

◆ SetInt()

void cslcconfig.LcSettingC.SetInt ( int value)
inline

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

Definition at line 550 of file LcSettingC.cs.

550 {
551 MkErrorE errVal = Lc.LcSettingSetInt(hdl, value);
552 MkErrorC.Check(hdl, errVal);
553 }

◆ SetInt64()

void cslcconfig.LcSettingC.SetInt64 ( long value)
inline

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

Definition at line 556 of file LcSettingC.cs.

556 {
557 MkErrorE errVal = Lc.LcSettingSetInt64(hdl, value);
558 MkErrorC.Check(hdl, errVal);
559 }

◆ SetInt64Elem()

LcSettingC cslcconfig.LcSettingC.SetInt64Elem ( int idx,
long value )
inline

C#: LcSettingC setting.SetInt64Elem(int idx, long value) C-API
These functions set the value at the specified index index in the setting setting to value

Definition at line 501 of file LcSettingC.cs.

501 {
502 IntPtr __retVal__L = Lc.LcSettingSetInt64Elem(hdl, idx, value);
503 if (__retVal__L == IntPtr.Zero) {
504 throw new MkInitSoftError("LcSettingC.SetInt64Elem");
505 }
506 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
507 }

◆ SetIntElem()

LcSettingC cslcconfig.LcSettingC.SetIntElem ( int idx,
int value )
inline

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

Definition at line 510 of file LcSettingC.cs.

510 {
511 IntPtr __retVal__L = Lc.LcSettingSetIntElem(hdl, idx, value);
512 if (__retVal__L == IntPtr.Zero) {
513 throw new MkInitSoftError("LcSettingC.SetIntElem");
514 }
515 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
516 }

◆ SetString()

void cslcconfig.LcSettingC.SetString ( string value)
inline

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

Definition at line 562 of file LcSettingC.cs.

562 {
563 IntPtr value_cstr = Marshal.StringToHGlobalAnsi(value);
564 MkErrorE errVal = Lc.LcSettingSetString(hdl, value_cstr);
565 Marshal.FreeHGlobal(value_cstr);
566 MkErrorC.Check(hdl, errVal);
567 }

◆ SetStringElem()

LcSettingC cslcconfig.LcSettingC.SetStringElem ( int idx,
string value )
inline

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

Definition at line 519 of file LcSettingC.cs.

519 {
520 IntPtr value_cstr = Marshal.StringToHGlobalAnsi(value);
521 IntPtr __retVal__L = Lc.LcSettingSetStringElem(hdl, idx, value_cstr);
522 Marshal.FreeHGlobal(value_cstr);
523 if (__retVal__L == IntPtr.Zero) {
524 throw new MkInitSoftError("LcSettingC.SetStringElem");
525 }
526 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
527 }