110 if (__retVal__L == NULL) {
120 if (__retVal__L == NULL) {
129 const MK_STRN name_hdl = name.c_str();
131 if (__retVal__L == NULL) {
287 if (__retVal__L == NULL) {
296 const MK_STRN path_hdl = path.c_str();
298 if (__retVal__L == NULL) {
318 MkErrorC_Check(setting, errVal);
326 const MK_STRN name_hdl = name.c_str();
328 MkErrorC_Check(setting, errVal);
337 MkErrorC_Check(setting, errVal);
345 const MK_STRN name_hdl = name.c_str();
347 MkErrorC_Check(setting, errVal);
356 MkErrorC_Check(setting, errVal);
364 const MK_STRN name_hdl = name.c_str();
366 MkErrorC_Check(setting, errVal);
375 MkErrorC_Check(setting, errVal);
383 const MK_STRN name_hdl = name.c_str();
385 MkErrorC_Check(setting, errVal);
394 MkErrorC_Check(setting, errVal);
402 const MK_STRN name_hdl = name.c_str();
404 MkErrorC_Check(setting, errVal);
427 const MK_STRN name_hdl = name.c_str();
436 if (__retVal__L == NULL) {
454 const MK_STRN name_hdl = name.c_str();
488 MkErrorC_Check(parent, errVal);
494 const MK_STRN name_hdl = name.c_str();
496 MkErrorC_Check(parent, errVal);
503 MkErrorC_Check(parent, errVal);
540 if (__retVal__L == NULL) {
550 if (__retVal__L == NULL) {
560 if (__retVal__L == NULL) {
570 if (__retVal__L == NULL) {
580 if (__retVal__L == NULL) {
589 const MK_STRN value_hdl = value.c_str();
591 if (__retVal__L == NULL) {
603 MkErrorC_Check(setting, errVal);
610 MkErrorC_Check(setting, errVal);
617 MkErrorC_Check(setting, errVal);
624 MkErrorC_Check(setting, errVal);
631 MkErrorC_Check(setting, errVal);
638 MkErrorC_Check(setting, errVal);
644 const MK_STRN value_hdl = value.c_str();
646 MkErrorC_Check(setting, errVal);
662 if (__retVal__L == NULL) {
665 return LcSettingC::LcSettingC_ObjCreate(
MK_RT_CALL __retVal__L);
671 const MK_STRN name_hdl = name.c_str();
673 if (__retVal__L == NULL) {
676 return LcSettingC::LcSettingC_ObjCreate(
MK_RT_CALL __retVal__L);
Struct to represent the data from the LcConfigC … → C-API: liblcconfig::LcConfigS
Struct to represent the data from the LcSettingC … → C-API: liblcconfig::LcSettingS
static LcConfigC * LcConfigC_ObjNew(MK_RT_ARGS LC_CFG hdl)
return LcConfigC from LibMsgqueObject
LcConfigFormatE
set the format of a LcSettingC …
LcConfigTypeE
define the data-type of a LcSettingC …
LC_CFS getCFS() const
return the LibMsgqueObject from current LcSettingC instance
LC_CFSN getCFSN() const
(const) return the LibMsgqueObject from current LcSettingC instance
static LcSettingC * LcSettingC_ObjNew(MK_RT_ARGS LC_CFS hdl)
return LcSettingC from LibMsgqueObject
static LcSettingC * GetNull()
C++: [static] LcSettingC* LcSettingC::GetNull() → C-API Null-Slot - return a LcSettingC typed NU...
LcSettingC * Prev()
C++: LcSettingC* cfs.Prev() → C-API get previous instance from linked-list of LcSettingS type
LcSettingC * Next()
C++: LcSettingC* cfs.Next() → C-API get next instance from linked-list of LcSettingS type
static LcSettingC * HandleResolve(MK_HDL netHdl)
C++: [static] LcSettingC* LcSettingC::HandleResolve(MK_HDL netHdl) → C-API Handle-Resolve-Slot -...
static LcSettingC * Instances()
C++: [static] LcSettingC* LcSettingC::Instances() → C-API get head-instance from linked-list of ...
#define LcSettingHandleResolve(...)
static LC_CFS LcSettingPrev(LC_CFS const cfs)
get previous instance from linked-list of LcSettingS type
static LC_CFS LcSettingNext(LC_CFS const cfs)
get next instance from linked-list of LcSettingS type
#define LcSettingInstances()
static LC_CFS LcSettingGetNull(void)
Null-Slot - return a LcSettingC typed NULL instance …
MK_I64 GetInt64() const
C++: MK_I64 setting.GetInt64() → C-API These functions return the value of the given setting …
LcSettingC * GetElem(MK_I32 idx) const
C++: LcSettingC* setting.GetElem(MK_I32 idx) → C-API This function fetches the element at the g...
MK_STRN GetString() const
C++: MK_STRN setting.GetString() → C-API These functions return the value of the given setting ...
MK_I32 GetIntElem(MK_I32 idx) const
C++: MK_I32 setting.GetIntElem(MK_I32 idx) → C-API These functions return the value at the spec...
MK_STRN GetStringElem(MK_I32 idx) const
C++: MK_STRN setting.GetStringElem(MK_I32 idx) → C-API These functions return the value at the ...
LcSettingC * GetMember(MK_STRN name) const
C++: LcSettingC* setting.GetMember(MK_STRN name) → C-API This function fetches the child settin...
MK_I64 GetInt64Elem(MK_I32 idx) const
C++: MK_I64 setting.GetInt64Elem(MK_I32 idx) → C-API These functions return the value at the sp...
MK_DBL GetFloat() const
C++: MK_DBL setting.GetFloat() → C-API These functions return the value of the given setting …
MK_BOOL GetBoolElem(MK_I32 idx) const
C++: MK_BOOL setting.GetBoolElem(MK_I32 idx) → C-API These functions return the value at the sp...
MK_DBL GetFloatElem(MK_I32 idx) const
C++: MK_DBL setting.GetFloatElem(MK_I32 idx) → C-API These functions return the value at the sp...
MK_I32 GetInt() const
C++: MK_I32 setting.GetInt() → C-API These functions return the value of the given setting …
MK_BOOL GetBool() const
C++: MK_BOOL setting.GetBool() → C-API These functions return the value of the given setting …
LcConfigFormatE GetFormat() const
C++: LcConfigFormatE setting.GetFormat() → C-API These functions get and set the external forma...
static MK_STRN LcSettingGetString(LC_CFSN setting)
These functions return the value of the given setting …
static MK_I32 LcSettingGetIntElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …
static MK_DBL LcSettingGetFloat(LC_CFSN setting)
These functions return the value of the given setting …
static MK_I64 LcSettingGetInt64Elem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …
static MK_DBL LcSettingGetFloatElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …
static LC_CFG LcSettingGetConfig(LC_CFSN setting)
addon - return the LcConfigC from the LcSettingC …
static MK_I64 LcSettingGetInt64(LC_CFSN setting)
These functions return the value of the given setting …
static MK_BOOL LcSettingGetBoolElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …
static enum LcConfigFormatE LcSettingGetFormat(LC_CFSN setting)
These functions get and set the external format for the setting setting …
static MK_STRN LcSettingGetStringElem(LC_CFSN setting, MK_I32 idx)
These functions return the value at the specified index index in the setting setting …
static LC_CFS LcSettingGetMember(LC_CFSN setting, MK_STRN name)
This function fetches the child setting named name from the group setting …
static MK_I32 LcSettingGetInt(LC_CFSN setting)
These functions return the value of the given setting …
static LC_CFS LcSettingGetElem(LC_CFSN setting, MK_I32 idx)
This function fetches the element at the given index index in the setting setting,...
static MK_BOOL LcSettingGetBool(LC_CFSN setting)
These functions return the value of the given setting …
MK_BOOL IsNumber() const
C++: MK_BOOL setting.IsNumber() → C-API These convenience functions, some of which are implemen...
MK_BOOL IsArray() const
C++: MK_BOOL setting.IsArray() → C-API These convenience functions, which are implemented as ma...
MK_BOOL IsAggregate() const
C++: MK_BOOL setting.IsAggregate() → C-API These convenience functions, some of which are imple...
MK_BOOL IsList() const
C++: MK_BOOL setting.IsList() → C-API These convenience functions, which are implemented as mac...
MK_BOOL IsGroup() const
C++: MK_BOOL setting.IsGroup() → C-API These convenience functions, which are implemented as ma...
MK_BOOL IsRoot() const
C++: MK_BOOL setting.IsRoot() → C-API This function returns CONFIG_TRUE if the given setting is...
MK_BOOL IsScalar() const
C++: MK_BOOL setting.IsScalar() → C-API These convenience functions, some of which are implemen...
static MK_BOOL LcSettingIsNumber(LC_CFSN setting)
These convenience functions, some of which are implemented as macros, test if the setting setting is ...
static MK_BOOL LcSettingIsRoot(LC_CFSN setting)
This function returns CONFIG_TRUE if the given setting is the root setting, and CONFIG_FALSE otherwis...
static MK_BOOL LcSettingIsScalar(LC_CFSN setting)
These convenience functions, some of which are implemented as macros, test if the setting setting is ...
static MK_BOOL LcSettingIsGroup(LC_CFSN setting)
These convenience functions, which are implemented as macros, test if the setting setting is of a giv...
static MK_BOOL LcSettingIsList(LC_CFSN setting)
These convenience functions, which are implemented as macros, test if the setting setting is of a giv...
static MK_BOOL LcSettingIsAggregate(LC_CFSN setting)
These convenience functions, some of which are implemented as macros, test if the setting setting is ...
static MK_BOOL LcSettingIsArray(LC_CFSN setting)
These convenience functions, which are implemented as macros, test if the setting setting is of a giv...
MK_BOOL LookupBool(MK_STRN name) const
C++: MK_BOOL setting.LookupBool(MK_STRN name) → C-API These functions look up the value of the ...
LcSettingC * Lookup(MK_STRN path)
C++: LcSettingC* setting.Lookup(MK_STRN path) → C-API This function locates a setting by a path...
MK_DBL LookupFloat(MK_STRN name) const
C++: MK_DBL setting.LookupFloat(MK_STRN name) → C-API These functions look up the value of the ...
MK_I32 LookupInt(MK_STRN name) const
C++: MK_I32 setting.LookupInt(MK_STRN name) → C-API These functions look up the value of the ch...
MkBufferListC * LookupAll() const
C++: MkBufferListC* setting.LookupAll() → C-API addon - read an entire configuration below sett...
MK_STRN LookupString(MK_STRN name) const
C++: MK_STRN setting.LookupString(MK_STRN name) → C-API These functions look up the value of th...
MK_I64 LookupInt64(MK_STRN name) const
C++: MK_I64 setting.LookupInt64(MK_STRN name) → C-API These functions look up the value of the ...
MK_BFL LcSettingLookupAll(LC_CFSN setting)
addon - read an entire configuration below setting into MkBufferListC …
static enum MkErrorE LcSettingLookupInt64(LC_CFSN setting, MK_STRN name, MK_I64 *value_out)
These functions look up the value of the child setting named name of the setting setting …
static LC_CFS LcSettingLookup(LC_CFS setting, MK_STRN path)
This function locates a setting by a path path relative to the setting setting …
static enum MkErrorE LcSettingLookupFloat(LC_CFSN setting, MK_STRN name, MK_DBL *value_out)
These functions look up the value of the child setting named name of the setting setting …
static enum MkErrorE LcSettingLookupBool(LC_CFSN setting, MK_STRN name, MK_BOOL *value_out)
These functions look up the value of the child setting named name of the setting setting …
static enum MkErrorE LcSettingLookupInt(LC_CFSN setting, MK_STRN name, MK_I32 *value_out)
These functions look up the value of the child setting named name of the setting setting …
static enum MkErrorE LcSettingLookupString(LC_CFSN setting, MK_STRN name, MK_STRN *value_out)
These functions look up the value of the child setting named name of the setting setting …
MK_I32 Length() const
C++: MK_I32 setting.Length() → C-API This function returns the number of settings in a group,...
MK_STRN SourceFile() const
C++: MK_STRN setting.SourceFile() → C-API This function returns the name of the file from which...
void RemoveElem(MK_I32 idx)
C++: parent.RemoveElem(MK_I32 idx) → C-API This function removes the child setting at the given...
void Remove(MK_STRN name)
C++: parent.Remove(MK_STRN name) → C-API This function removes and destroys the setting named n...
LcConfigTypeE Type() const
C++: LcConfigTypeE setting.Type() → C-API This function returns the type of the given setting …
MK_I32 SourceLine() const
C++: MK_I32 setting.SourceLine() → C-API This function returns the line number of the configura...
MK_I32 Index() const
C++: MK_I32 setting.Index() → C-API This function returns the index of the given setting within...
MK_STRN Name() const
C++: MK_STRN setting.Name() → C-API This function returns the name of the given setting,...
LcSettingC * Parent() const
C++: LcSettingC* setting.Parent() → C-API This function returns the parent setting of the given...
LcSettingC * AddIfNotExists(MK_STRN name, LcConfigTypeE cfgtype)
C++: LcSettingC* setting.AddIfNotExists(MK_STRN name, LcConfigTypeE cfgtype) → C-API addon - ad...
MK_BOOL Exists(MK_STRN name)
C++: MK_BOOL setting.Exists(MK_STRN name) → C-API addon - return true if name exists in the set...
static MK_I32 LcSettingLength(LC_CFSN setting)
This function returns the number of settings in a group, or the number of elements in a list or array...
static enum MkErrorE LcSettingRemove(LC_CFS parent, MK_STRN name)
This function removes and destroys the setting named name from the parent setting parent,...
static LC_CFS LcSettingAddIfNotExists(LC_CFS setting, MK_STRN name, enum LcConfigTypeE cfgtype)
addon - add name with type only if not exists in the setting …
static bool LcSettingExists(const LC_CFS setting, MK_STRN name)
addon - return true if name exists in the setting otherwise false …
static LC_CFS LcSettingParent(LC_CFSN setting)
This function returns the parent setting of the given setting, or NULL if setting is the root setting...
static enum LcConfigTypeE LcSettingType(LC_CFSN setting)
This function returns the type of the given setting …
static MK_I32 LcSettingSourceLine(LC_CFSN setting)
This function returns the line number of the configuration file or stream at which the setting settin...
static enum MkErrorE LcSettingRemoveElem(LC_CFS parent, MK_I32 idx)
This function removes the child setting at the given index index from the setting parent,...
static MK_STRN LcSettingSourceFile(LC_CFSN setting)
This function returns the name of the file from which the setting setting was read,...
static MK_STRN LcSettingName(LC_CFSN setting)
This function returns the name of the given setting, or NULL if the setting has no name …
static MK_I32 LcSettingIndex(LC_CFSN setting)
This function returns the index of the given setting within its parent setting …
void SetFormat(LcConfigFormatE format)
C++: setting.SetFormat(LcConfigFormatE format) → C-API These functions get and set the external...
LcSettingC * SetStringElem(MK_I32 idx, MK_STRN value)
C++: LcSettingC* setting.SetStringElem(MK_I32 idx, MK_STRN value) → C-API These functions set t...
void SetFloat(MK_DBL value)
C++: setting.SetFloat(MK_DBL value) → C-API These functions set the value of the given setting ...
LcSettingC * SetFloatElem(MK_I32 idx, MK_DBL value)
C++: LcSettingC* setting.SetFloatElem(MK_I32 idx, MK_DBL value) → C-API These functions set the...
void SetBool(MK_BOOL value)
C++: setting.SetBool(MK_BOOL value) → C-API These functions set the value of the given setting ...
void SetString(MK_STRN value)
C++: setting.SetString(MK_STRN value) → C-API These functions set the value of the given settin...
void SetInt(MK_I32 value)
C++: setting.SetInt(MK_I32 value) → C-API These functions set the value of the given setting to...
LcSettingC * SetInt64Elem(MK_I32 idx, MK_I64 value)
C++: LcSettingC* setting.SetInt64Elem(MK_I32 idx, MK_I64 value) → C-API These functions set the...
LcSettingC * SetIntElem(MK_I32 idx, MK_I32 value)
C++: LcSettingC* setting.SetIntElem(MK_I32 idx, MK_I32 value) → C-API These functions set the v...
LcSettingC * SetBoolElem(MK_I32 idx, MK_I32 value)
C++: LcSettingC* setting.SetBoolElem(MK_I32 idx, MK_I32 value) → C-API These functions set the ...
void SetInt64(MK_I64 value)
C++: setting.SetInt64(MK_I64 value) → C-API These functions set the value of the given setting ...
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 …
static enum MkErrorE LcSettingSetInt64(LC_CFS setting, MK_I64 value)
These functions set the value of the given setting to value …
static enum MkErrorE LcSettingSetBool(LC_CFS setting, MK_BOOL value)
These functions set the value of the given setting to value …
static enum MkErrorE LcSettingSetFormat(LC_CFS setting, enum LcConfigFormatE format)
These functions get and set the external format for the setting setting …
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 …
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 …
static enum MkErrorE LcSettingSetString(LC_CFS setting, MK_STRN value)
These functions set the value of the given setting to value …
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 …
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 …
static enum MkErrorE LcSettingSetInt(LC_CFS setting, MK_I32 value)
These functions set the value of the given setting to value …
static enum MkErrorE LcSettingSetFloat(LC_CFS setting, MK_DBL value)
These functions set the value of the given setting to value …
LcConfigC * GetConfig() const
C++: LcConfigC* setting.GetConfig() → C-API addon - return the LcConfigC from the LcSettingC …
LcSettingC * Add(MK_STRN name, LcConfigTypeE __type)
C++: [constructor] LcSettingC* parent.Add(MK_STRN name, LcConfigTypeE __type) → C-API This funct...
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,...
static MkBufferListC * MkBufferListC_ObjNew(MK_RT_ARGS MK_BFL hdl)
namespace for the CcLcConfig "C++"-API
Struct to represent the data from the LcConfigC …
Struct to represent the data from the LcSettingC …