theConfig 10.0
Loading...
Searching...
No Matches
LcConfigC_Lookup_CC_API

LcConfigC - various functions to lookup config-dataMore...

+ Collaboration diagram for LcConfigC_Lookup_CC_API:

Functions

LcSettingCcclcconfig::LcConfigC::Lookup (MK_STRN path) const
  C++: LcSettingC* config.Lookup(MK_STRN path) C-API
This function locates the setting in the configuration config specified by the path path
 
LcSettingCcclcconfig::LcConfigC::Lookup (const std::string &path) const
  C++: LcSettingC* config.Lookup(MK_STRN path) C-API
This function locates the setting in the configuration config specified by the path path
 
MK_BOOL cclcconfig::LcConfigC::LookupBool (MK_STRN path) const
  C++: MK_BOOL config.LookupBool(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
MK_BOOL cclcconfig::LcConfigC::LookupBool (const std::string &path) const
  C++: MK_BOOL config.LookupBool(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
MK_DBL cclcconfig::LcConfigC::LookupFloat (MK_STRN path) const
  C++: MK_DBL config.LookupFloat(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
MK_DBL cclcconfig::LcConfigC::LookupFloat (const std::string &path) const
  C++: MK_DBL config.LookupFloat(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
MK_I32 cclcconfig::LcConfigC::LookupInt (MK_STRN path) const
  C++: MK_I32 config.LookupInt(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
MK_I32 cclcconfig::LcConfigC::LookupInt (const std::string &path) const
  C++: MK_I32 config.LookupInt(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
MK_I64 cclcconfig::LcConfigC::LookupInt64 (MK_STRN path) const
  C++: MK_I64 config.LookupInt64(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
MK_I64 cclcconfig::LcConfigC::LookupInt64 (const std::string &path) const
  C++: MK_I64 config.LookupInt64(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
MK_STRN cclcconfig::LcConfigC::LookupString (MK_STRN path) const
  C++: MK_STRN config.LookupString(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
MK_STRN cclcconfig::LcConfigC::LookupString (const std::string &path) const
  C++: MK_STRN config.LookupString(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 

Detailed Description

LcConfigC - various functions to lookup config-data

Function Documentation

◆ Lookup() [1/2]

LcSettingC * cclcconfig::LcConfigC::Lookup ( const std::string & path) const
inline

C++: LcSettingC* config.Lookup(MK_STRN path) C-API
This function locates the setting in the configuration config specified by the path path

Definition at line 183 of file LcConfigC_inline_cc.hh.

183 {
184 MK_UNUSED auto config = getCFGN();
185 const MK_STRN path_hdl = path.c_str();
186 LC_CFS __retVal__L = LcConfigLookup(config, path_hdl);
187 return LcSettingC::LcSettingC_ObjNew(MK_RT_CALL __retVal__L);
188 }
LC_CFGN getCFGN() const
(const) return the LibMsgqueObject from current LcConfigC instance
static LC_CFS LcConfigLookup(LC_CFGN config, MK_STRN path)
This function locates the setting in the configuration config specified by the path path …
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) …
#define MK_UNUSED
const MK_STRB * MK_STRN
#define MK_RT_CALL

◆ Lookup() [2/2]

LcSettingC * cclcconfig::LcConfigC::Lookup ( MK_STRN path) const
inline

C++: LcSettingC* config.Lookup(MK_STRN path) C-API
This function locates the setting in the configuration config specified by the path path

Definition at line 176 of file LcConfigC_inline_cc.hh.

176 {
177 MK_UNUSED auto config = getCFGN();
178 LC_CFS __retVal__L = LcConfigLookup(config, path);
179 return LcSettingC::LcSettingC_ObjNew(MK_RT_CALL __retVal__L);
180 }

◆ LookupBool() [1/2]

MK_BOOL cclcconfig::LcConfigC::LookupBool ( const std::string & path) const
inline

C++: MK_BOOL config.LookupBool(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path

Definition at line 202 of file LcConfigC_inline_cc.hh.

202 {
203 MK_UNUSED auto config = getCFGN();
204 MK_BOOL value_out;
205 const MK_STRN path_hdl = path.c_str();
206 enum MkErrorE errVal = LcConfigLookupBool(config, path_hdl, &value_out);
207 MkErrorC_Check(config, errVal);
208 return value_out;
209 }
static enum MkErrorE LcConfigLookupBool(LC_CFGN config, MK_STRN path, MK_BOOL *value_out)
These functions look up the value of the setting in the configuration config specified by the path pa...

◆ LookupBool() [2/2]

MK_BOOL cclcconfig::LcConfigC::LookupBool ( MK_STRN path) const
inline

C++: MK_BOOL config.LookupBool(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path

Definition at line 193 of file LcConfigC_inline_cc.hh.

193 {
194 MK_UNUSED auto config = getCFGN();
195 MK_BOOL value_out;
196 enum MkErrorE errVal = LcConfigLookupBool(config, path, &value_out);
197 MkErrorC_Check(config, errVal);
198 return value_out;
199 }

◆ LookupFloat() [1/2]

MK_DBL cclcconfig::LcConfigC::LookupFloat ( const std::string & path) const
inline

C++: MK_DBL config.LookupFloat(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path

Definition at line 221 of file LcConfigC_inline_cc.hh.

221 {
222 MK_UNUSED auto config = getCFGN();
223 MK_DBL value_out;
224 const MK_STRN path_hdl = path.c_str();
225 enum MkErrorE errVal = LcConfigLookupFloat(config, path_hdl, &value_out);
226 MkErrorC_Check(config, errVal);
227 return value_out;
228 }
static enum MkErrorE LcConfigLookupFloat(LC_CFGN config, MK_STRN path, MK_DBL *value_out)
These functions look up the value of the setting in the configuration config specified by the path pa...
double MK_DBL

◆ LookupFloat() [2/2]

MK_DBL cclcconfig::LcConfigC::LookupFloat ( MK_STRN path) const
inline

C++: MK_DBL config.LookupFloat(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path

Definition at line 212 of file LcConfigC_inline_cc.hh.

212 {
213 MK_UNUSED auto config = getCFGN();
214 MK_DBL value_out;
215 enum MkErrorE errVal = LcConfigLookupFloat(config, path, &value_out);
216 MkErrorC_Check(config, errVal);
217 return value_out;
218 }

◆ LookupInt() [1/2]

MK_I32 cclcconfig::LcConfigC::LookupInt ( const std::string & path) const
inline

C++: MK_I32 config.LookupInt(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path

Definition at line 240 of file LcConfigC_inline_cc.hh.

240 {
241 MK_UNUSED auto config = getCFGN();
242 MK_I32 value_out;
243 const MK_STRN path_hdl = path.c_str();
244 enum MkErrorE errVal = LcConfigLookupInt(config, path_hdl, &value_out);
245 MkErrorC_Check(config, errVal);
246 return value_out;
247 }
static enum MkErrorE LcConfigLookupInt(LC_CFGN config, MK_STRN path, MK_I32 *value_out)
These functions look up the value of the setting in the configuration config specified by the path pa...
signed int MK_I32

◆ LookupInt() [2/2]

MK_I32 cclcconfig::LcConfigC::LookupInt ( MK_STRN path) const
inline

C++: MK_I32 config.LookupInt(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path

Definition at line 231 of file LcConfigC_inline_cc.hh.

231 {
232 MK_UNUSED auto config = getCFGN();
233 MK_I32 value_out;
234 enum MkErrorE errVal = LcConfigLookupInt(config, path, &value_out);
235 MkErrorC_Check(config, errVal);
236 return value_out;
237 }

◆ LookupInt64() [1/2]

MK_I64 cclcconfig::LcConfigC::LookupInt64 ( const std::string & path) const
inline

C++: MK_I64 config.LookupInt64(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path

Definition at line 259 of file LcConfigC_inline_cc.hh.

259 {
260 MK_UNUSED auto config = getCFGN();
261 MK_I64 value_out;
262 const MK_STRN path_hdl = path.c_str();
263 enum MkErrorE errVal = LcConfigLookupInt64(config, path_hdl, &value_out);
264 MkErrorC_Check(config, errVal);
265 return value_out;
266 }
static enum MkErrorE LcConfigLookupInt64(LC_CFGN config, MK_STRN path, MK_I64 *value_out)
These functions look up the value of the setting in the configuration config specified by the path pa...
signed long long MK_I64

◆ LookupInt64() [2/2]

MK_I64 cclcconfig::LcConfigC::LookupInt64 ( MK_STRN path) const
inline

C++: MK_I64 config.LookupInt64(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path

Definition at line 250 of file LcConfigC_inline_cc.hh.

250 {
251 MK_UNUSED auto config = getCFGN();
252 MK_I64 value_out;
253 enum MkErrorE errVal = LcConfigLookupInt64(config, path, &value_out);
254 MkErrorC_Check(config, errVal);
255 return value_out;
256 }

◆ LookupString() [1/2]

MK_STRN cclcconfig::LcConfigC::LookupString ( const std::string & path) const
inline

C++: MK_STRN config.LookupString(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path

Definition at line 278 of file LcConfigC_inline_cc.hh.

278 {
279 MK_UNUSED auto config = getCFGN();
280 MK_STRN value_out;
281 const MK_STRN path_hdl = path.c_str();
282 enum MkErrorE errVal = LcConfigLookupString(config, path_hdl, &value_out);
283 MkErrorC_Check(config, errVal);
284 return value_out;
285 }
static enum MkErrorE LcConfigLookupString(LC_CFGN config, MK_STRN path, MK_STRN *value_out)
These functions look up the value of the setting in the configuration config specified by the path pa...

◆ LookupString() [2/2]

MK_STRN cclcconfig::LcConfigC::LookupString ( MK_STRN path) const
inline

C++: MK_STRN config.LookupString(MK_STRN path) C-API
These functions look up the value of the setting in the configuration config specified by the path path

Definition at line 269 of file LcConfigC_inline_cc.hh.

269 {
270 MK_UNUSED auto config = getCFGN();
271 MK_STRN value_out;
272 enum MkErrorE errVal = LcConfigLookupString(config, path, &value_out);
273 MkErrorC_Check(config, errVal);
274 return value_out;
275 }