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

Struct to represent the data from the LcConfigC … → C-API: liblcconfig::LcConfigS More...

#include <LcConfigC_cc.hh>

+ Inheritance diagram for cclcconfig::LcConfigC:
+ Collaboration diagram for cclcconfig::LcConfigC:

Public Member Functions

 LcConfigC (LC_CFG hdl)
 
LC_CFG getCFG () const
 return the LibMsgqueObject from current LcConfigC instance
 
LC_CFG getCFG__null_allow () const
 return the LibMsgqueObject from current LcConfigC instance
 
LC_CFGN getCFGN () const
 (const) return the LibMsgqueObject from current LcConfigC instance
 
LC_CFGN getCFGN__null_allow () const
 (const) return the LibMsgqueObject from current LcConfigC instance
 
bool Check () const
 check if pointer is still valid
 
LcConfigCNext ()
  C++: LcConfigC* cfg.Next() C-API
get next instance from linked-list of LcConfigS type
 
LcConfigCPrev ()
  C++: LcConfigC* cfg.Prev() C-API
get previous instance from linked-list of LcConfigS type
 
LcErrorTypeE ErrorType () const
  C++: LcErrorTypeE config.ErrorType() C-API
This function, which is implemented as a macro, returns the type of error that occurred during the last call to one of the read or write functions …
 
LcConfigFormatE GetDefaultFormat () const
  C++: LcConfigFormatE config.GetDefaultFormat() C-API
These functions, which are implemented as macros, get and set the default external format for settings in the configuration config
 
MK_I16 GetFloatPrecision () const
  C++: MK_I16 config.GetFloatPrecision() C-API
Since v1.6 These functions get and set the number of decimal digits to output after the radix character when writing the configuration to a file or stream …
 
MK_STRN GetIncludeDir () const
  C++: MK_STRN config.GetIncludeDir() C-API
ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config
 
MK_BOOL GetOption (LcConfigOptionsEF option) const
  C++: MK_BOOL config.GetOption(LcConfigOptionsEF option) C-API
Since v1.7 These functions get and set the given option of the configuration config
 
LcConfigOptionsEF GetOptions () const
  C++: LcConfigOptionsEF config.GetOptions() C-API
These functions get and set the options for the configuration config
 
MK_I16 GetTabWidth () const
  C++: MK_I16 config.GetTabWidth() C-API
These functions, which are implemented as macros, get and set the tab width for the configuration config
 
LcSettingCLookup (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
 
LcSettingCLookup (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 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 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 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 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 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 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 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 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 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 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
 
LcSettingCRootSetting () const
  C++: LcSettingC* config.RootSetting() C-API
This function, which is implemented as a macro, returns the root setting for the configuration config
 
void Clear ()
  C++: config.Clear() C-API
Since v1.7 This function clears the configuration config
 
void Log (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const
  C++: cfg.Log(const MkObjectC* fmtobj = NULL, MK_DBG debug = 0, MK_STRN callfunc = __builtin_FUNCTION(), MK_I32 lvl = 0) C-API
log the config
 
void Log (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const
  C++: cfg.Log(const MkObjectC* fmtobj = NULL, MK_DBG debug = 0, MK_STRN callfunc = __builtin_FUNCTION(), MK_I32 lvl = 0) C-API
log the config
 
void ReadFile (MK_STRN filename)
  C++: config.ReadFile(MK_STRN filename) C-API
This function reads and parses a configuration from the file named filename into the configuration object config
 
void ReadFile (const std::string &filename)
  C++: config.ReadFile(MK_STRN filename) C-API
This function reads and parses a configuration from the file named filename into the configuration object config
 
void ReadString (MK_STRN str)
  C++: config.ReadString(MK_STRN str) C-API
This function reads and parses a configuration from the string str into the configuration object config
 
void ReadString (const std::string &str)
  C++: config.ReadString(MK_STRN str) C-API
This function reads and parses a configuration from the string str into the configuration object config
 
void WriteFile (MK_STRN filename)
  C++: config.WriteFile(MK_STRN filename) C-API
This function writes the configuration config to the file named filename
 
void WriteFile (const std::string &filename)
  C++: config.WriteFile(MK_STRN filename) C-API
This function writes the configuration config to the file named filename
 
MK_STRN WriteString () const
  C++: MK_STRN cfg.WriteString() C-API
read the entire configuration cfg into the string val_out
 
void SetDefaultFormat (LcConfigFormatE format)
  C++: config.SetDefaultFormat(LcConfigFormatE format) C-API
These functions, which are implemented as macros, get and set the default external format for settings in the configuration config
 
void SetFloatPrecision (MK_I16 digits)
  C++: config.SetFloatPrecision(MK_I16 digits) C-API
Since v1.6 These functions get and set the number of decimal digits to output after the radix character when writing the configuration to a file or stream …
 
void SetIncludeDir (MK_STRN include_dir)
  C++: config.SetIncludeDir(MK_STRN include_dir) C-API
ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config
 
void SetIncludeDir (const std::string &include_dir)
  C++: config.SetIncludeDir(MK_STRN include_dir) C-API
ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config
 
void SetIncludeFunc (LcConfigIncludeIF *fConfigIncludeData=NULL)
  C++: cfg.SetIncludeFunc(LcConfigIncludeSCB LcConfigIncludeIF* fConfigIncludeData = NULL) C-API
set the __parser__(callback-name) for the include-config-file
 
void SetIncludeFunc (LcConfigIncludeSCB fConfigIncludeData=NULL)
  C++: cfg.SetIncludeFunc(LcConfigIncludeSCB LcConfigIncludeIF* fConfigIncludeData = NULL) C-API
set the __parser__(callback-name) for the include-config-file
 
void SetOption (LcConfigOptionsEF option, MK_BOOL flag)
  C++: config.SetOption(LcConfigOptionsEF option, MK_BOOL flag) C-API
Since v1.7 These functions get and set the given option of the configuration config
 
void SetOptions (LcConfigOptionsEF options)
  C++: config.SetOptions(LcConfigOptionsEF options) C-API
These functions get and set the options for the configuration config
 
void SetSettingDeleteFunc (LcSettingDeleteIF *fSettingDeleteData=NULL)
  C++: cfg.SetSettingDeleteFunc(LcSettingDeleteSCB LcSettingDeleteIF* fSettingDeleteData = NULL) C-API
set the callback-name for the setting-delete
 
void SetSettingDeleteFunc (LcSettingDeleteSCB fSettingDeleteData=NULL)
  C++: cfg.SetSettingDeleteFunc(LcSettingDeleteSCB LcSettingDeleteIF* fSettingDeleteData = NULL) C-API
set the callback-name for the setting-delete
 
void SetTabWidth (MK_I16 width)
  C++: config.SetTabWidth(MK_I16 width) C-API
These functions, which are implemented as macros, get and set the tab width for the configuration config
 
 LcConfigC ()
  C++: [constructor,static] LcConfigC* LcConfigC::Create() C-API
create a LcConfigC instance …
 
- 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 LcConfigCLcConfigC_ObjNew (MK_RT_ARGS LC_CFG hdl)
 return LcConfigC from LibMsgqueObject
 
static LC_CFG getCFG (LcConfigC *clsHdl)
 return LibMsgqueObject from current LcConfigC pointer
 
static LC_CFG getCFG__null_allow (LcConfigC *clsHdl)
 return LibMsgqueObject from current LcConfigC pointer
 
static LC_CFGN getCFGN (const LcConfigC *clsHdl)
 (const) return LibMsgqueObject from current LcConfigC pointer
 
static LC_CFGN getCFGN__null_allow (const LcConfigC *clsHdl)
 (const) return LibMsgqueObject from current LcConfigC pointer
 
static LC_CFG getCFG (const LcConfigC &clsHdl)
 return LibMsgqueObject from current LcConfigC reference
 
static LC_CFG getCFG__null_allow (const LcConfigC &clsHdl)
 return LibMsgqueObject from current LcConfigC reference
 
static LC_CFGN getCFGN (const LcConfigC &clsHdl)
 (const) return LibMsgqueObject from current LcConfigC reference
 
static LC_CFGN getCFGN__null_allow (const LcConfigC &clsHdl)
 (const) return LibMsgqueObject from current LcConfigC reference
 
static LcConfigCHandleResolve (MK_HDL netHdl)
  C++: [static] LcConfigC* LcConfigC::HandleResolve(MK_HDL netHdl) C-API
Handle-Resolve-Slot - return a LcConfigC from netHdl or MK_NULL if invalid…
 
static LcConfigCInstances ()
  C++: [static] LcConfigC* LcConfigC::Instances() C-API
get head-instance from linked-list of LcConfigS type …
 
static LcConfigCGetNull ()
  C++: [static] LcConfigC* LcConfigC::GetNull() C-API
Null-Slot - return a LcConfigC typed NULL instance …
 
static LcConfigCCreate ()
  C++: [constructor,static] LcConfigC* LcConfigC::Create() C-API
create a LcConfigC 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 LcConfigC MK_NULL_REF = {(MK_OBJ)0}
 
- Static Public Attributes inherited from ccmkkernel::MkObjectC
static thread_local MkObjectC MK_NULL_REF
 

Friends

class LcConfig
 
class LcConfigIncludeCallbackC
 
class LcSettingDeleteCallbackC
 

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 LcConfigC … → C-API: liblcconfig::LcConfigS

Definition at line 60 of file LcConfigC_cc.hh.

Friends And Related Symbol Documentation

◆ LcConfig

friend class LcConfig
friend

Definition at line 62 of file LcConfigC_cc.hh.

◆ LcConfigIncludeCallbackC

friend class LcConfigIncludeCallbackC
friend

Definition at line 63 of file LcConfigC_cc.hh.

◆ LcSettingDeleteCallbackC

friend class LcSettingDeleteCallbackC
friend

Definition at line 64 of file LcConfigC_cc.hh.


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