theConfig 10.0
Loading...
Searching...
No Matches
cclcconfig::LcSettingC Class Reference

Struct to represent the data from the LcSettingC … → C-API: liblcconfig::LcSettingS More...

#include <LcSettingC_cc.hh>

+ Inheritance diagram for cclcconfig::LcSettingC:
+ Collaboration diagram for cclcconfig::LcSettingC:

Public Member Functions

 LcSettingC (LC_CFS hdl)
 
LC_CFS getCFS () const
 return the LibMsgqueObject from current LcSettingC instance
 
LC_CFS getCFS__null_allow () const
 return the LibMsgqueObject from current LcSettingC instance
 
LC_CFSN getCFSN () const
 (const) return the LibMsgqueObject from current LcSettingC instance
 
LC_CFSN getCFSN__null_allow () const
 (const) return the LibMsgqueObject from current LcSettingC instance
 
bool Check () const
 check if pointer is still valid
 
LcSettingCNext ()
  C++: LcSettingC* cfs.Next() C-API
get next instance from linked-list of LcSettingS type
 
LcSettingCPrev ()
  C++: LcSettingC* cfs.Prev() C-API
get previous instance from linked-list of LcSettingS type
 
LcSettingCGetElem (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 …
 
LcSettingCGetMember (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
 
LcSettingCGetMember (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 GetBool () const
  C++: MK_BOOL setting.GetBool() 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 specified index index in the setting setting
 
MK_DBL GetFloat () const
  C++: MK_DBL setting.GetFloat() C-API
These functions return the value of the given setting
 
MK_DBL 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 GetFormat () const
  C++: LcConfigFormatE setting.GetFormat() C-API
These functions get and set the external format for the setting setting
 
MK_I32 GetInt () const
  C++: MK_I32 setting.GetInt() C-API
These functions return the value of the given setting
 
MK_I64 GetInt64 () const
  C++: MK_I64 setting.GetInt64() C-API
These functions return the value of the given setting
 
MK_I64 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 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 GetString () const
  C++: MK_STRN setting.GetString() C-API
These functions return the value of the given setting
 
MK_STRN 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
 
MK_BOOL IsAggregate () const
  C++: MK_BOOL setting.IsAggregate() C-API
These convenience functions, some of which are implemented as macros, test if the setting setting is of an aggregate type (a group, array, or list), of a scalar type (integer, 64-bit integer, floating point, boolean, or string), and of a number (integer, 64-bit integer, or floating point), respectively …
 
MK_BOOL IsArray () const
  C++: MK_BOOL setting.IsArray() C-API
These convenience functions, which are implemented as macros, test if the setting setting is of a given type …
 
MK_BOOL IsGroup () const
  C++: MK_BOOL setting.IsGroup() C-API
These convenience functions, which are implemented as macros, test if the setting setting is of a given type …
 
MK_BOOL IsList () const
  C++: MK_BOOL setting.IsList() C-API
These convenience functions, which are implemented as macros, test if the setting setting is of a given type …
 
MK_BOOL IsNumber () const
  C++: MK_BOOL setting.IsNumber() C-API
These convenience functions, some of which are implemented as macros, test if the setting setting is of an aggregate type (a group, array, or list), of a scalar type (integer, 64-bit integer, floating point, boolean, or string), and of a number (integer, 64-bit integer, or floating point), respectively …
 
MK_BOOL IsRoot () const
  C++: MK_BOOL setting.IsRoot() C-API
This function returns CONFIG_TRUE if the given setting is the root setting, and CONFIG_FALSE otherwise …
 
MK_BOOL IsScalar () const
  C++: MK_BOOL setting.IsScalar() C-API
These convenience functions, some of which are implemented as macros, test if the setting setting is of an aggregate type (a group, array, or list), of a scalar type (integer, 64-bit integer, floating point, boolean, or string), and of a number (integer, 64-bit integer, or floating point), respectively …
 
LcSettingCLookup (MK_STRN path)
  C++: LcSettingC* setting.Lookup(MK_STRN path) C-API
This function locates a setting by a path path relative to the setting setting
 
LcSettingCLookup (const std::string &path)
  C++: LcSettingC* setting.Lookup(MK_STRN path) C-API
This function locates a setting by a path path relative to the setting setting
 
MkBufferListCLookupAll () const
  C++: MkBufferListC* setting.LookupAll() C-API
addon - read an entire configuration below setting into MkBufferListC
 
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 child setting named name of the setting setting
 
MK_BOOL LookupBool (const std::string &name) const
  C++: MK_BOOL setting.LookupBool(MK_STRN name) C-API
These functions look up the value of the child setting named name of the setting setting
 
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 child setting named name of the setting setting
 
MK_DBL LookupFloat (const std::string &name) const
  C++: MK_DBL setting.LookupFloat(MK_STRN name) C-API
These functions look up the value of the child setting named name of the setting setting
 
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 child setting named name of the setting setting
 
MK_I32 LookupInt (const std::string &name) const
  C++: MK_I32 setting.LookupInt(MK_STRN name) C-API
These functions look up the value of the child setting named name of the setting setting
 
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 child setting named name of the setting setting
 
MK_I64 LookupInt64 (const std::string &name) const
  C++: MK_I64 setting.LookupInt64(MK_STRN name) C-API
These functions look up the value of the child setting named name of the setting setting
 
MK_STRN LookupString (MK_STRN name) const
  C++: MK_STRN setting.LookupString(MK_STRN name) C-API
These functions look up the value of the child setting named name of the setting setting
 
MK_STRN LookupString (const std::string &name) const
  C++: MK_STRN setting.LookupString(MK_STRN name) C-API
These functions look up the value of the child setting named name of the setting setting
 
LcSettingCAddIfNotExists (MK_STRN name, LcConfigTypeE cfgtype)
  C++: LcSettingC* setting.AddIfNotExists(MK_STRN name, LcConfigTypeE cfgtype) C-API
addon - add name with type only if not exists in the setting
 
LcSettingCAddIfNotExists (const std::string &name, LcConfigTypeE cfgtype)
  C++: LcSettingC* setting.AddIfNotExists(MK_STRN name, LcConfigTypeE cfgtype) C-API
addon - add name with type only if not exists in the setting
 
LcSettingCParent () const
  C++: LcSettingC* setting.Parent() C-API
This function returns the parent setting of the given setting, or NULL if setting is the root setting …
 
MK_BOOL Exists (MK_STRN name)
  C++: MK_BOOL setting.Exists(MK_STRN name) C-API
addon - return true if name exists in the setting otherwise false
 
MK_BOOL Exists (const std::string &name)
  C++: MK_BOOL setting.Exists(MK_STRN name) C-API
addon - return true if name exists in the setting otherwise false
 
MK_I32 Index () const
  C++: MK_I32 setting.Index() C-API
This function returns the index of the given setting within its parent setting …
 
MK_I32 Length () const
  C++: MK_I32 setting.Length() C-API
This function returns the number of settings in a group, or the number of elements in a list or array …
 
MK_STRN Name () const
  C++: MK_STRN setting.Name() C-API
This function returns the name of the given setting, or NULL if the setting has no name …
 
void Remove (MK_STRN name)
  C++: parent.Remove(MK_STRN name) C-API
This function removes and destroys the setting named name from the parent setting parent, which must be a group …
 
void Remove (const std::string &name)
  C++: parent.Remove(MK_STRN name) C-API
This function removes and destroys the setting named name from the parent setting parent, which must be a group …
 
void RemoveElem (MK_I32 idx)
  C++: parent.RemoveElem(MK_I32 idx) C-API
This function removes the child setting at the given index index from the setting parent, which must be a group, list, or array …
 
MK_STRN SourceFile () const
  C++: MK_STRN setting.SourceFile() C-API
This function returns the name of the file from which the setting setting was read, or NULL if the setting was not read from a file …
 
MK_I32 SourceLine () const
  C++: MK_I32 setting.SourceLine() C-API
This function returns the line number of the configuration file or stream at which the setting setting was read, or 0 if no line number is available …
 
LcConfigTypeE Type () const
  C++: LcConfigTypeE setting.Type() C-API
This function returns the type of the given setting
 
LcSettingCSetBoolElem (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
 
LcSettingCSetFloatElem (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
 
LcSettingCSetInt64Elem (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
 
LcSettingCSetIntElem (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
 
LcSettingCSetStringElem (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
 
LcSettingCSetStringElem (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 SetBool (MK_BOOL value)
  C++: setting.SetBool(MK_BOOL value) C-API
These functions set the value of the given setting to value
 
void SetFloat (MK_DBL value)
  C++: setting.SetFloat(MK_DBL value) C-API
These functions set the value of the given setting to value
 
void SetFormat (LcConfigFormatE format)
  C++: setting.SetFormat(LcConfigFormatE format) C-API
These functions get and set the external format for the setting setting
 
void SetInt (MK_I32 value)
  C++: setting.SetInt(MK_I32 value) C-API
These functions set the value of the given setting to value
 
void SetInt64 (MK_I64 value)
  C++: setting.SetInt64(MK_I64 value) C-API
These functions set the value of the given setting to value
 
void SetString (MK_STRN value)
  C++: setting.SetString(MK_STRN value) C-API
These functions set the value of the given setting to value
 
void SetString (const std::string &value)
  C++: setting.SetString(MK_STRN value) C-API
These functions set the value of the given setting to value
 
LcSettingCAdd (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 …
 
LcSettingCAdd (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 …
 
LcConfigCGetConfig () const
  C++: LcConfigC* setting.GetConfig() C-API
addon - return the LcConfigC from the LcSettingC
 
- Public Member Functions inherited from ccmkkernel::MkObjectC
MK_OBJ getOBJ () const
 
MK_OBJ getOBJ__null_allow () const
 
MK_OBJN getOBJN () const
 
MK_OBJN getOBJN__null_allow () const
 
bool Check () const
 
virtual ~MkObjectC ()
 
MK_MNG getMNG () const
 
MK_STRN ToNativeNameOfClass () const
 
MK_STR SysStrDup (MK_STRN str)
 
void SysFree (MK_PTR tgt)
 
void Sleep (unsigned int const sec)
 
void USleep (unsigned int const usec)
 
void HandleDelete ()
 
MK_BOOL HandleExists ()
 
MK_HDL HandleGet ()
 
MK_HDL HandleGetOfType ()
 
MK_HDL HandleGetOr0 ()
 
MkObjectCNext ()
 
MkObjectCPrev ()
 
void DbgDump (MK_STRN message="var", MK_STRN callfunc=__builtin_FUNCTION()) const
 
void DbgL (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const
 
void DbgL (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const
 
void DbgLogC (MK_STRN callfunc=__builtin_FUNCTION()) const
 
void DbgO (MK_STRN callfunc=__builtin_FUNCTION()) const
 
void DbgSTACK (MK_I32 skip=0, MK_I32 num=-1, MK_STRN callfunc=__builtin_FUNCTION()) const
 
void LogC (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION()) const
 
void LogC (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION()) const
 
void LogHEX (MK_STRN callfunc, MK_BNP data) const
 
void LogHEX (const std::string &callfunc, MK_BNP data) const
 
void LogV (MK_STRN callfunc, MK_DBG debug, MK_FST printfmt,...) const
 
void LogV (const std::string &callfunc, MK_DBG debug, MK_FST printfmt,...) const
 
void LogVL (MK_STRN callfunc, MK_DBG debug, MK_FST printfmt, va_list var_list) const
 
void LogVL (const std::string &callfunc, MK_DBG debug, MK_FST printfmt, va_list var_list) const
 
void Log (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const
 
void Log (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const
 
void LogLong (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const
 
void LogLong (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const
 
void LogShort (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const
 
void LogShort (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const
 
void LogType (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const
 
void LogType (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const
 
MkErrorCErrorCatch (std::exception *exception=NULL, MK_STRN callfunc=__builtin_FUNCTION()) const
 
MkErrorCErrorCatch (const std::exception &exception, MK_STRN callfunc=__builtin_FUNCTION()) const
 
MkErrorCToError ()
 
MK_BOOL IsNull ()
 
MK_STRN ToName () const
 
MK_STRN ToNameOfClass ()
 
MK_STRN ToNameOfType () const
 
MK_STRN ToString () const
 
MK_I32 RefGet ()
 
void SysKill (MK_I32 pid, MK_I32 signal) const
 
MK_I32 SysGetPid () const
 
void Delete ()
 
void Dispose ()
 
void DeleteCallbackSetup (MK_STRN ident, MkObjectDeleteCCB callback=NULL, MK_STRN filter=NULL)
 
void DeleteCallbackSetup (const std::string &ident, MkObjectDeleteCCB callback=NULL, MK_STRN filter=NULL)
 
void DeleteCallbackSetup (MK_STRN ident, MkObjectDeleteICB callback=NULL, MK_STRN filter=NULL)
 
void DeleteCallbackSetup (const std::string &ident, MkObjectDeleteICB callback=NULL, MK_STRN filter=NULL)
 

Static Public Member Functions

static LcSettingCLcSettingC_ObjNew (MK_RT_ARGS LC_CFS hdl)
 return LcSettingC from LibMsgqueObject
 
static LC_CFS getCFS (LcSettingC *clsHdl)
 return LibMsgqueObject from current LcSettingC pointer
 
static LC_CFS getCFS__null_allow (LcSettingC *clsHdl)
 return LibMsgqueObject from current LcSettingC pointer
 
static LC_CFSN getCFSN (const LcSettingC *clsHdl)
 (const) return LibMsgqueObject from current LcSettingC pointer
 
static LC_CFSN getCFSN__null_allow (const LcSettingC *clsHdl)
 (const) return LibMsgqueObject from current LcSettingC pointer
 
static LC_CFS getCFS (const LcSettingC &clsHdl)
 return LibMsgqueObject from current LcSettingC reference
 
static LC_CFS getCFS__null_allow (const LcSettingC &clsHdl)
 return LibMsgqueObject from current LcSettingC reference
 
static LC_CFSN getCFSN (const LcSettingC &clsHdl)
 (const) return LibMsgqueObject from current LcSettingC reference
 
static LC_CFSN getCFSN__null_allow (const LcSettingC &clsHdl)
 (const) return LibMsgqueObject from current LcSettingC reference
 
static LcSettingCHandleResolve (MK_HDL netHdl)
  C++: [static] LcSettingC* LcSettingC::HandleResolve(MK_HDL netHdl) C-API
Handle-Resolve-Slot - return a LcSettingC from netHdl or MK_NULL if invalid…
 
static LcSettingCInstances ()
  C++: [static] LcSettingC* LcSettingC::Instances() C-API
get head-instance from linked-list of LcSettingS type …
 
static LcSettingCGetNull ()
  C++: [static] LcSettingC* LcSettingC::GetNull() C-API
Null-Slot - return a LcSettingC typed NULL instance …
 
- Static Public Member Functions inherited from ccmkkernel::MkObjectC
static MkObjectCMkObjectC_ObjNew (MK_RT_ARGS MK_OBJ hdl)
 
static MK_OBJ getOBJ (MkObjectC *clsHdl)
 
static MK_OBJ getOBJ__null_allow (MkObjectC *clsHdl)
 
static MK_OBJN getOBJN (const MkObjectC *clsHdl)
 
static MK_OBJN getOBJN__null_allow (const MkObjectC *clsHdl)
 
static MK_OBJ getOBJ (const MkObjectC &clsHdl)
 
static MK_OBJ getOBJ__null_allow (const MkObjectC &clsHdl)
 
static MK_OBJN getOBJN (const MkObjectC &clsHdl)
 
static MK_OBJN getOBJN__null_allow (const MkObjectC &clsHdl)
 
static MkObjectCHandleResolve (MK_HDL netHdl)
 
static void HandleDeleteByNetHdl (MK_HDL netHdl)
 
static MkObjectCInstances ()
 
static MkObjectCGetNull ()
 
static void DbgM (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0)
 
static void DbgM (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0)
 
static MK_I32 SysHashI32 (MK_STRN key, MK_NUM length=-1)
 
static MK_I32 SysHashI32 (const std::string &key, MK_NUM length=-1)
 
static MK_STRN SysHashSTR (MK_STRN key, MK_NUM length=-1)
 
static MK_STRN SysHashSTR (const std::string &key, MK_NUM length=-1)
 
static void DeleteCallbackCleanup (MK_STRN ident)
 
static void DeleteCallbackCleanup (const std::string &ident)
 
static void DeleteCallbackSetup (MK_STRN ident, MkObjectDeleteSCB callback=NULL, MK_STRN filter=NULL)
 
static void DeleteCallbackSetup (const std::string &ident, MkObjectDeleteSCB callback=NULL, MK_STRN filter=NULL)
 

Static Public Attributes

static thread_local LcSettingC MK_NULL_REF = {(MK_OBJ)0}
 
- Static Public Attributes inherited from ccmkkernel::MkObjectC
static thread_local MkObjectC MK_NULL_REF
 

Friends

class LcConfig
 

Additional Inherited Members

- Public Types inherited from ccmkkernel::MkObjectC
typedef void(MkObjectC::*) MkObjectDeleteICB(MK_STRN const, MK_HDL const, MK_HDL const)
 
typedef void(*) MkObjectDeleteCCB(MkObjectC *, MK_STRN const, MK_HDL const, MK_HDL const)
 
typedef void(MkObjectC::* MkObjectDeleteICB) (MK_STRN const, MK_HDL const, MK_HDL const)
 
typedef void(* MkObjectDeleteCCB) (MkObjectC *, MK_STRN const, MK_HDL const, MK_HDL const)
 
- Protected Member Functions inherited from ccmkkernel::MkObjectC
void atomInit (MK_OBJ obj)
 
void atomUnlink ()
 
 MkObjectC ()
 
 MkObjectC (MK_OBJ obj)
 
void ErrorCheck (enum MkErrorE err, MK_STRN const caller=__builtin_FUNCTION(), MK_I32 const line=__builtin_LINE()) const
 
void ErrorCheck (MK_STRN const caller=__builtin_FUNCTION(), MK_I32 const line=__builtin_LINE()) const
 
- Static Protected Member Functions inherited from ccmkkernel::MkObjectC
static void ErrorCheck (MK_MNGN mng, enum MkErrorE err, MK_STRN const caller=__builtin_FUNCTION(), MK_I32 const line=__builtin_LINE())
 
static MK_PTR atomObjNew (MK_RT_ARGS MK_OBJ obj)
 
static MK_PTR atomObjCreate (MK_RT_ARGS MK_OBJ obj)
 
- Protected Attributes inherited from ccmkkernel::MkObjectC
MK_OBJ hdl
 
MK_RT mkrt
 

Detailed Description

Struct to represent the data from the LcSettingC … → C-API: liblcconfig::LcSettingS

Definition at line 24 of file LcSettingC_cc.hh.

Friends And Related Symbol Documentation

◆ LcConfig

friend class LcConfig
friend

Definition at line 26 of file LcSettingC_cc.hh.


The documentation for this class was generated from the following files: