theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC_Get_CC_API

LcSettingC - various functions to get data from a settingMore...

+ Collaboration diagram for LcSettingC_Get_CC_API:

Functions

LcSettingCcclcconfig::LcSettingC::GetElem (MK_I32 idx) const
  C++: LcSettingC* setting.GetElem(MK_I32 idx) C-API
This function fetches the element at the given index index in the setting setting, which must be an array, list, or group …
 
LcSettingCcclcconfig::LcSettingC::GetMember (MK_STRN name) const
  C++: LcSettingC* setting.GetMember(MK_STRN name) C-API
This function fetches the child setting named name from the group setting
 
LcSettingCcclcconfig::LcSettingC::GetMember (const std::string &name) const
  C++: LcSettingC* setting.GetMember(MK_STRN name) C-API
This function fetches the child setting named name from the group setting
 
MK_BOOL cclcconfig::LcSettingC::GetBool () const
  C++: MK_BOOL setting.GetBool() C-API
These functions return the value of the given setting
 
MK_BOOL cclcconfig::LcSettingC::GetBoolElem (MK_I32 idx) const
  C++: MK_BOOL setting.GetBoolElem(MK_I32 idx) C-API
These functions return the value at the specified index index in the setting setting
 
MK_DBL cclcconfig::LcSettingC::GetFloat () const
  C++: MK_DBL setting.GetFloat() C-API
These functions return the value of the given setting
 
MK_DBL cclcconfig::LcSettingC::GetFloatElem (MK_I32 idx) const
  C++: MK_DBL setting.GetFloatElem(MK_I32 idx) C-API
These functions return the value at the specified index index in the setting setting
 
LcConfigFormatE cclcconfig::LcSettingC::GetFormat () const
  C++: LcConfigFormatE setting.GetFormat() C-API
These functions get and set the external format for the setting setting
 
MK_I32 cclcconfig::LcSettingC::GetInt () const
  C++: MK_I32 setting.GetInt() C-API
These functions return the value of the given setting
 
MK_I64 cclcconfig::LcSettingC::GetInt64 () const
  C++: MK_I64 setting.GetInt64() C-API
These functions return the value of the given setting
 
MK_I64 cclcconfig::LcSettingC::GetInt64Elem (MK_I32 idx) const
  C++: MK_I64 setting.GetInt64Elem(MK_I32 idx) C-API
These functions return the value at the specified index index in the setting setting
 
MK_I32 cclcconfig::LcSettingC::GetIntElem (MK_I32 idx) const
  C++: MK_I32 setting.GetIntElem(MK_I32 idx) C-API
These functions return the value at the specified index index in the setting setting
 
MK_STRN cclcconfig::LcSettingC::GetString () const
  C++: MK_STRN setting.GetString() C-API
These functions return the value of the given setting
 
MK_STRN cclcconfig::LcSettingC::GetStringElem (MK_I32 idx) const
  C++: MK_STRN setting.GetStringElem(MK_I32 idx) C-API
These functions return the value at the specified index index in the setting setting
 

Detailed Description

LcSettingC - various functions to get data from a setting

Function Documentation

◆ GetBool()

MK_BOOL cclcconfig::LcSettingC::GetBool ( ) const
inline

C++: MK_BOOL setting.GetBool() C-API
These functions return the value of the given setting

Definition at line 140 of file LcSettingC_inline_cc.hh.

140 {
141 MK_UNUSED auto setting = getCFSN();
142 MK_BOOL __retVal__L = LcSettingGetBool(setting);
143 return __retVal__L;
144 }
LC_CFSN getCFSN() const
(const) return the LibMsgqueObject from current LcSettingC instance
static MK_BOOL LcSettingGetBool(LC_CFSN setting)
These functions return the value of the given setting …
#define MK_UNUSED

◆ GetBoolElem()

MK_BOOL cclcconfig::LcSettingC::GetBoolElem ( MK_I32 idx) const
inline

C++: MK_BOOL setting.GetBoolElem(MK_I32 idx) C-API
These functions return the value at the specified index index in the setting setting

Definition at line 147 of file LcSettingC_inline_cc.hh.

147 {
148 MK_UNUSED auto setting = getCFSN();
149 MK_BOOL __retVal__L = LcSettingGetBoolElem(setting, idx);
150 return __retVal__L;
151 }
static MK_BOOL LcSettingGetBoolElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …

◆ GetElem()

LcSettingC * cclcconfig::LcSettingC::GetElem ( MK_I32 idx) const
inline

C++: LcSettingC* setting.GetElem(MK_I32 idx) C-API
This function fetches the element at the given index index in the setting setting, which must be an array, list, or group …

Definition at line 107 of file LcSettingC_inline_cc.hh.

107 {
108 MK_UNUSED auto setting = getCFSN();
109 LC_CFS __retVal__L = LcSettingGetElem(setting, idx);
110 if (__retVal__L == NULL) {
111 throw MkInitSoftError("LcSettingC::GetElem");
112 }
113 return LcSettingC::LcSettingC_ObjNew(MK_RT_CALL __retVal__L);
114 }
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 LcSettingGetElem(LC_CFSN setting, MK_I32 idx)
This function fetches the element at the given index index in the setting setting,...
#define MK_RT_CALL

◆ GetFloat()

MK_DBL cclcconfig::LcSettingC::GetFloat ( ) const
inline

C++: MK_DBL setting.GetFloat() C-API
These functions return the value of the given setting

Definition at line 154 of file LcSettingC_inline_cc.hh.

154 {
155 MK_UNUSED auto setting = getCFSN();
156 MK_DBL __retVal__L = LcSettingGetFloat(setting);
157 return __retVal__L;
158 }
static MK_DBL LcSettingGetFloat(LC_CFSN setting)
These functions return the value of the given setting …
double MK_DBL

◆ GetFloatElem()

MK_DBL cclcconfig::LcSettingC::GetFloatElem ( MK_I32 idx) const
inline

C++: MK_DBL setting.GetFloatElem(MK_I32 idx) C-API
These functions return the value at the specified index index in the setting setting

Definition at line 161 of file LcSettingC_inline_cc.hh.

161 {
162 MK_UNUSED auto setting = getCFSN();
163 MK_DBL __retVal__L = LcSettingGetFloatElem(setting, idx);
164 return __retVal__L;
165 }
static MK_DBL LcSettingGetFloatElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …

◆ GetFormat()

LcConfigFormatE cclcconfig::LcSettingC::GetFormat ( ) const
inline

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

Definition at line 168 of file LcSettingC_inline_cc.hh.

168 {
169 MK_UNUSED auto setting = getCFSN();
170 enum LcConfigFormatE __retVal__L = LcSettingGetFormat(setting);
171 return __retVal__L;
172 }
LcConfigFormatE
set the format of a LcSettingC …
Definition LcEnum_lc.h:30
static enum LcConfigFormatE LcSettingGetFormat(LC_CFSN setting)
These functions get and set the external format for the setting setting …

◆ GetInt()

MK_I32 cclcconfig::LcSettingC::GetInt ( ) const
inline

C++: MK_I32 setting.GetInt() C-API
These functions return the value of the given setting

Definition at line 175 of file LcSettingC_inline_cc.hh.

175 {
176 MK_UNUSED auto setting = getCFSN();
177 MK_I32 __retVal__L = LcSettingGetInt(setting);
178 return __retVal__L;
179 }
static MK_I32 LcSettingGetInt(LC_CFSN setting)
These functions return the value of the given setting …
signed int MK_I32

◆ GetInt64()

MK_I64 cclcconfig::LcSettingC::GetInt64 ( ) const
inline

C++: MK_I64 setting.GetInt64() C-API
These functions return the value of the given setting

Definition at line 182 of file LcSettingC_inline_cc.hh.

182 {
183 MK_UNUSED auto setting = getCFSN();
184 MK_I64 __retVal__L = LcSettingGetInt64(setting);
185 return __retVal__L;
186 }
static MK_I64 LcSettingGetInt64(LC_CFSN setting)
These functions return the value of the given setting …
signed long long MK_I64

◆ GetInt64Elem()

MK_I64 cclcconfig::LcSettingC::GetInt64Elem ( MK_I32 idx) const
inline

C++: MK_I64 setting.GetInt64Elem(MK_I32 idx) C-API
These functions return the value at the specified index index in the setting setting

Definition at line 189 of file LcSettingC_inline_cc.hh.

189 {
190 MK_UNUSED auto setting = getCFSN();
191 MK_I64 __retVal__L = LcSettingGetInt64Elem(setting, idx);
192 return __retVal__L;
193 }
static MK_I64 LcSettingGetInt64Elem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …

◆ GetIntElem()

MK_I32 cclcconfig::LcSettingC::GetIntElem ( MK_I32 idx) const
inline

C++: MK_I32 setting.GetIntElem(MK_I32 idx) C-API
These functions return the value at the specified index index in the setting setting

Definition at line 196 of file LcSettingC_inline_cc.hh.

196 {
197 MK_UNUSED auto setting = getCFSN();
198 MK_I32 __retVal__L = LcSettingGetIntElem(setting, idx);
199 return __retVal__L;
200 }
static MK_I32 LcSettingGetIntElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …

◆ GetMember() [1/2]

LcSettingC * cclcconfig::LcSettingC::GetMember ( const std::string & name) const
inline

C++: LcSettingC* setting.GetMember(MK_STRN name) C-API
This function fetches the child setting named name from the group setting

Definition at line 127 of file LcSettingC_inline_cc.hh.

127 {
128 MK_UNUSED auto setting = getCFSN();
129 const MK_STRN name_hdl = name.c_str();
130 LC_CFS __retVal__L = LcSettingGetMember(setting, name_hdl);
131 if (__retVal__L == NULL) {
132 throw MkInitSoftError("LcSettingC::GetMember");
133 }
134 return LcSettingC::LcSettingC_ObjNew(MK_RT_CALL __retVal__L);
135 }
static LC_CFS LcSettingGetMember(LC_CFSN setting, MK_STRN name)
This function fetches the child setting named name from the group setting …
const MK_STRB * MK_STRN

◆ GetMember() [2/2]

LcSettingC * cclcconfig::LcSettingC::GetMember ( MK_STRN name) const
inline

C++: LcSettingC* setting.GetMember(MK_STRN name) C-API
This function fetches the child setting named name from the group setting

Definition at line 117 of file LcSettingC_inline_cc.hh.

117 {
118 MK_UNUSED auto setting = getCFSN();
119 LC_CFS __retVal__L = LcSettingGetMember(setting, name);
120 if (__retVal__L == NULL) {
121 throw MkInitSoftError("LcSettingC::GetMember");
122 }
123 return LcSettingC::LcSettingC_ObjNew(MK_RT_CALL __retVal__L);
124 }

◆ GetString()

MK_STRN cclcconfig::LcSettingC::GetString ( ) const
inline

C++: MK_STRN setting.GetString() C-API
These functions return the value of the given setting

Definition at line 203 of file LcSettingC_inline_cc.hh.

203 {
204 MK_UNUSED auto setting = getCFSN();
205 MK_STRN __retVal__L = LcSettingGetString(setting);
206 return __retVal__L;
207 }
static MK_STRN LcSettingGetString(LC_CFSN setting)
These functions return the value of the given setting …

◆ GetStringElem()

MK_STRN cclcconfig::LcSettingC::GetStringElem ( MK_I32 idx) const
inline

C++: MK_STRN setting.GetStringElem(MK_I32 idx) C-API
These functions return the value at the specified index index in the setting setting

Definition at line 210 of file LcSettingC_inline_cc.hh.

210 {
211 MK_UNUSED auto setting = getCFSN();
212 MK_STRN __retVal__L = LcSettingGetStringElem(setting, idx);
213 return __retVal__L;
214 }
static MK_STRN LcSettingGetStringElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …