theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_Set_CC_API

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

+ Collaboration diagram for LcSettingC_Set_CC_API:

Functions

LcSettingCcclcconfig::LcSettingC::SetBoolElem (MK_I32 idx, MK_I32 value)
  C++: LcSettingC* setting.SetBoolElem(MK_I32 idx, MK_I32 value) C-API
These functions set the value at the specified index index in the setting setting to value
 
LcSettingCcclcconfig::LcSettingC::SetFloatElem (MK_I32 idx, MK_DBL value)
  C++: LcSettingC* setting.SetFloatElem(MK_I32 idx, MK_DBL value) C-API
These functions set the value at the specified index index in the setting setting to value
 
LcSettingCcclcconfig::LcSettingC::SetInt64Elem (MK_I32 idx, MK_I64 value)
  C++: LcSettingC* setting.SetInt64Elem(MK_I32 idx, MK_I64 value) C-API
These functions set the value at the specified index index in the setting setting to value
 
LcSettingCcclcconfig::LcSettingC::SetIntElem (MK_I32 idx, MK_I32 value)
  C++: LcSettingC* setting.SetIntElem(MK_I32 idx, MK_I32 value) C-API
These functions set the value at the specified index index in the setting setting to value
 
LcSettingCcclcconfig::LcSettingC::SetStringElem (MK_I32 idx, MK_STRN value)
  C++: LcSettingC* setting.SetStringElem(MK_I32 idx, MK_STRN value) C-API
These functions set the value at the specified index index in the setting setting to value
 
LcSettingCcclcconfig::LcSettingC::SetStringElem (MK_I32 idx, const std::string &value)
  C++: LcSettingC* setting.SetStringElem(MK_I32 idx, MK_STRN value) C-API
These functions set the value at the specified index index in the setting setting to value
 
void cclcconfig::LcSettingC::SetBool (MK_BOOL value)
  C++: setting.SetBool(MK_BOOL value) C-API
These functions set the value of the given setting to value
 
void cclcconfig::LcSettingC::SetFloat (MK_DBL value)
  C++: setting.SetFloat(MK_DBL value) C-API
These functions set the value of the given setting to value
 
void cclcconfig::LcSettingC::SetFormat (LcConfigFormatE format)
  C++: setting.SetFormat(LcConfigFormatE format) C-API
These functions get and set the external format for the setting setting
 
void cclcconfig::LcSettingC::SetInt (MK_I32 value)
  C++: setting.SetInt(MK_I32 value) C-API
These functions set the value of the given setting to value
 
void cclcconfig::LcSettingC::SetInt64 (MK_I64 value)
  C++: setting.SetInt64(MK_I64 value) C-API
These functions set the value of the given setting to value
 
void cclcconfig::LcSettingC::SetString (MK_STRN value)
  C++: setting.SetString(MK_STRN value) C-API
These functions set the value of the given setting to value
 
void cclcconfig::LcSettingC::SetString (const std::string &value)
  C++: setting.SetString(MK_STRN 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 cclcconfig::LcSettingC::SetBool ( MK_BOOL value)
inline

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

Definition at line 600 of file LcSettingC_inline_cc.hh.

600 {
601 MK_UNUSED auto setting = getCFS();
602 enum MkErrorE errVal = LcSettingSetBool(setting, value);
603 MkErrorC_Check(setting, errVal);
604 }
LC_CFS getCFS() const
return the LibMsgqueObject from current LcSettingC instance
static enum MkErrorE LcSettingSetBool(LC_CFS setting, MK_BOOL value)
These functions set the value of the given setting to value …
#define MK_UNUSED

◆ SetBoolElem()

LcSettingC * cclcconfig::LcSettingC::SetBoolElem ( MK_I32 idx,
MK_I32 value )
inline

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

Definition at line 537 of file LcSettingC_inline_cc.hh.

537 {
538 MK_UNUSED auto setting = getCFS();
539 LC_CFS __retVal__L = LcSettingSetBoolElem(setting, idx, value);
540 if (__retVal__L == NULL) {
541 throw MkInitSoftError("LcSettingC::SetBoolElem");
542 }
543 return LcSettingC::LcSettingC_ObjNew(MK_RT_CALL __retVal__L);
544 }
static LcSettingC * LcSettingC_ObjNew(MK_RT_ARGS LC_CFS hdl)
return LcSettingC from LibMsgqueObject
struct LcSettingS * LC_CFS
class-shortcut for struct LcSettingS *, all shortcut using the XX_YYY syntax (only for public API) …
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 …
#define MK_RT_CALL

◆ SetFloat()

void cclcconfig::LcSettingC::SetFloat ( MK_DBL value)
inline

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

Definition at line 607 of file LcSettingC_inline_cc.hh.

607 {
608 MK_UNUSED auto setting = getCFS();
609 enum MkErrorE errVal = LcSettingSetFloat(setting, value);
610 MkErrorC_Check(setting, errVal);
611 }
static enum MkErrorE LcSettingSetFloat(LC_CFS setting, MK_DBL value)
These functions set the value of the given setting to value …

◆ SetFloatElem()

LcSettingC * cclcconfig::LcSettingC::SetFloatElem ( MK_I32 idx,
MK_DBL value )
inline

C++: LcSettingC* setting.SetFloatElem(MK_I32 idx, MK_DBL value) C-API
These functions set the value at the specified index index in the setting setting to value

Definition at line 547 of file LcSettingC_inline_cc.hh.

547 {
548 MK_UNUSED auto setting = getCFS();
549 LC_CFS __retVal__L = LcSettingSetFloatElem(setting, idx, value);
550 if (__retVal__L == NULL) {
551 throw MkInitSoftError("LcSettingC::SetFloatElem");
552 }
553 return LcSettingC::LcSettingC_ObjNew(MK_RT_CALL __retVal__L);
554 }
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 …

◆ SetFormat()

void cclcconfig::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 614 of file LcSettingC_inline_cc.hh.

614 {
615 MK_UNUSED auto setting = getCFS();
616 enum MkErrorE errVal = LcSettingSetFormat(setting, format);
617 MkErrorC_Check(setting, errVal);
618 }
static enum MkErrorE LcSettingSetFormat(LC_CFS setting, enum LcConfigFormatE format)
These functions get and set the external format for the setting setting …

◆ SetInt()

void cclcconfig::LcSettingC::SetInt ( MK_I32 value)
inline

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

Definition at line 621 of file LcSettingC_inline_cc.hh.

621 {
622 MK_UNUSED auto setting = getCFS();
623 enum MkErrorE errVal = LcSettingSetInt(setting, value);
624 MkErrorC_Check(setting, errVal);
625 }
static enum MkErrorE LcSettingSetInt(LC_CFS setting, MK_I32 value)
These functions set the value of the given setting to value …

◆ SetInt64()

void cclcconfig::LcSettingC::SetInt64 ( MK_I64 value)
inline

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

Definition at line 628 of file LcSettingC_inline_cc.hh.

628 {
629 MK_UNUSED auto setting = getCFS();
630 enum MkErrorE errVal = LcSettingSetInt64(setting, value);
631 MkErrorC_Check(setting, errVal);
632 }
static enum MkErrorE LcSettingSetInt64(LC_CFS setting, MK_I64 value)
These functions set the value of the given setting to value …

◆ SetInt64Elem()

LcSettingC * cclcconfig::LcSettingC::SetInt64Elem ( MK_I32 idx,
MK_I64 value )
inline

C++: LcSettingC* setting.SetInt64Elem(MK_I32 idx, MK_I64 value) C-API
These functions set the value at the specified index index in the setting setting to value

Definition at line 557 of file LcSettingC_inline_cc.hh.

557 {
558 MK_UNUSED auto setting = getCFS();
559 LC_CFS __retVal__L = LcSettingSetInt64Elem(setting, idx, value);
560 if (__retVal__L == NULL) {
561 throw MkInitSoftError("LcSettingC::SetInt64Elem");
562 }
563 return LcSettingC::LcSettingC_ObjNew(MK_RT_CALL __retVal__L);
564 }
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 …

◆ SetIntElem()

LcSettingC * cclcconfig::LcSettingC::SetIntElem ( MK_I32 idx,
MK_I32 value )
inline

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

Definition at line 567 of file LcSettingC_inline_cc.hh.

567 {
568 MK_UNUSED auto setting = getCFS();
569 LC_CFS __retVal__L = LcSettingSetIntElem(setting, idx, value);
570 if (__retVal__L == NULL) {
571 throw MkInitSoftError("LcSettingC::SetIntElem");
572 }
573 return LcSettingC::LcSettingC_ObjNew(MK_RT_CALL __retVal__L);
574 }
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 …

◆ SetString() [1/2]

void cclcconfig::LcSettingC::SetString ( const std::string & value)
inline

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

Definition at line 642 of file LcSettingC_inline_cc.hh.

642 {
643 MK_UNUSED auto setting = getCFS();
644 const MK_STRN value_hdl = value.c_str();
645 enum MkErrorE errVal = LcSettingSetString(setting, value_hdl);
646 MkErrorC_Check(setting, errVal);
647 }
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

◆ SetString() [2/2]

void cclcconfig::LcSettingC::SetString ( MK_STRN value)
inline

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

Definition at line 635 of file LcSettingC_inline_cc.hh.

635 {
636 MK_UNUSED auto setting = getCFS();
637 enum MkErrorE errVal = LcSettingSetString(setting, value);
638 MkErrorC_Check(setting, errVal);
639 }

◆ SetStringElem() [1/2]

LcSettingC * cclcconfig::LcSettingC::SetStringElem ( MK_I32 idx,
const std::string & value )
inline

C++: LcSettingC* setting.SetStringElem(MK_I32 idx, MK_STRN value) C-API
These functions set the value at the specified index index in the setting setting to value

Definition at line 587 of file LcSettingC_inline_cc.hh.

587 {
588 MK_UNUSED auto setting = getCFS();
589 const MK_STRN value_hdl = value.c_str();
590 LC_CFS __retVal__L = LcSettingSetStringElem(setting, idx, value_hdl);
591 if (__retVal__L == NULL) {
592 throw MkInitSoftError("LcSettingC::SetStringElem");
593 }
594 return LcSettingC::LcSettingC_ObjNew(MK_RT_CALL __retVal__L);
595 }
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 …

◆ SetStringElem() [2/2]

LcSettingC * cclcconfig::LcSettingC::SetStringElem ( MK_I32 idx,
MK_STRN value )
inline

C++: LcSettingC* setting.SetStringElem(MK_I32 idx, MK_STRN value) C-API
These functions set the value at the specified index index in the setting setting to value

Definition at line 577 of file LcSettingC_inline_cc.hh.

577 {
578 MK_UNUSED auto setting = getCFS();
579 LC_CFS __retVal__L = LcSettingSetStringElem(setting, idx, value);
580 if (__retVal__L == NULL) {
581 throw MkInitSoftError("LcSettingC::SetStringElem");
582 }
583 return LcSettingC::LcSettingC_ObjNew(MK_RT_CALL __retVal__L);
584 }