theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_TOR_CC_API

LcSettingC - various functions to create, initialize and destroy … More...

+ Collaboration diagram for LcSettingC_TOR_CC_API:

Functions

LcSettingCcclcconfig::LcSettingC::Add (MK_STRN name, LcConfigTypeE __type)
  C++: [constructor] LcSettingC* parent.Add(MK_STRN name, LcConfigTypeE __type) C-API
This function adds a new child setting or element to the setting parent, which must be a group, array, or list …
 
LcSettingCcclcconfig::LcSettingC::Add (const std::string &name, LcConfigTypeE __type)
  C++: [constructor] LcSettingC* parent.Add(MK_STRN name, LcConfigTypeE __type) C-API
This function adds a new child setting or element to the setting parent, which must be a group, array, or list …
 
LcConfigCcclcconfig::LcSettingC::GetConfig () const
  C++: LcConfigC* setting.GetConfig() C-API
addon - return the LcConfigC from the LcSettingC
 

Detailed Description

LcSettingC - various functions to create, initialize and destroy …

Function Documentation

◆ Add() [1/2]

LcSettingC * cclcconfig::LcSettingC::Add ( const std::string & name,
LcConfigTypeE __type )
inline

C++: [constructor] LcSettingC* parent.Add(MK_STRN name, LcConfigTypeE __type) C-API
This function adds a new child setting or element to the setting parent, which must be a group, array, or list …

Definition at line 669 of file LcSettingC_inline_cc.hh.

669 {
670 MK_UNUSED auto parent = getCFS();
671 const MK_STRN name_hdl = name.c_str();
672 LC_CFS __retVal__L = LcSettingAdd(parent, name_hdl, __type);
673 if (__retVal__L == NULL) {
674 throw MkInitError("LcSettingC::Add");
675 }
676 return LcSettingC::LcSettingC_ObjCreate(MK_RT_CALL __retVal__L);
677 }
LC_CFS getCFS() const
return the LibMsgqueObject from current LcSettingC instance
struct LcSettingS * LC_CFS
class-shortcut for struct LcSettingS *, all shortcut using the XX_YYY syntax (only for public API) …
static LC_CFS LcSettingAdd(LC_CFS parent, MK_STRN name, enum LcConfigTypeE __type)
This function adds a new child setting or element to the setting parent, which must be a group,...
#define MK_UNUSED
const MK_STRB * MK_STRN
#define MK_RT_CALL

◆ Add() [2/2]

LcSettingC * cclcconfig::LcSettingC::Add ( MK_STRN name,
LcConfigTypeE __type )
inline

C++: [constructor] LcSettingC* parent.Add(MK_STRN name, LcConfigTypeE __type) C-API
This function adds a new child setting or element to the setting parent, which must be a group, array, or list …

Definition at line 659 of file LcSettingC_inline_cc.hh.

659 {
660 MK_UNUSED auto parent = getCFS();
661 LC_CFS __retVal__L = LcSettingAdd(parent, name, __type);
662 if (__retVal__L == NULL) {
663 throw MkInitError("LcSettingC::Add");
664 }
665 return LcSettingC::LcSettingC_ObjCreate(MK_RT_CALL __retVal__L);
666 }

◆ GetConfig()

LcConfigC * cclcconfig::LcSettingC::GetConfig ( ) const
inline

C++: LcConfigC* setting.GetConfig() C-API
addon - return the LcConfigC from the LcSettingC

Definition at line 682 of file LcSettingC_inline_cc.hh.

682 {
683 MK_UNUSED auto setting = getCFSN();
684 LC_CFG __retVal__L = LcSettingGetConfig(setting);
685 return LcConfigC::LcConfigC_ObjNew(MK_RT_CALL __retVal__L);
686 }
static LcConfigC * LcConfigC_ObjNew(MK_RT_ARGS LC_CFG hdl)
return LcConfigC from LibMsgqueObject
struct LcConfigS * LC_CFG
class-shortcut for struct LcConfigS *, all shortcut using the XX_YYY syntax (only for public API) …
LC_CFSN getCFSN() const
(const) return the LibMsgqueObject from current LcSettingC instance
static LC_CFG LcSettingGetConfig(LC_CFSN setting)
addon - return the LcConfigC from the LcSettingC …