66 static inline MK_PTR LcConfigC_selfCreateTLS (
MK_OBJ obj);
82 #ifdef LcConfigC_selfCreate_overload
106#ifndef META_IS_MkObjectC
112#ifndef META_IS_MkObjectC
124 if (
unlikely(ret == NULL)) InstHdlIsNullError();
136 if (
unlikely(ret == NULL)) InstHdlIsNullError();
154 return clsHdl ?
reinterpret_cast<LC_CFG>(clsHdl->
hdl) : NULL;
166 return clsHdl ?
reinterpret_cast<LC_CFGN>(clsHdl->
hdl) : NULL;
379 void ReadFile (
const std::string& filename);
391 void WriteFile (
const std::string& filename);
Struct to represent the data from the LcConfigC … → C-API: liblcconfig::LcConfigS
LcConfig PACKAGE - the package is the toplevel structure of the cclcconfig …
Struct to represent the data from the LcSettingC … → C-API: liblcconfig::LcSettingS
static LC_CFGN getCFGN(const LcConfigC &clsHdl)
(const) return LibMsgqueObject from current LcConfigC reference
bool Check() const
check if pointer is still valid
static LC_CFGN getCFGN(const LcConfigC *clsHdl)
(const) return LibMsgqueObject from current LcConfigC pointer
LC_CFGN getCFGN() const
(const) return the LibMsgqueObject from current LcConfigC instance
static thread_local LcConfigC MK_NULL_REF
LC_CFG getCFG() const
return the LibMsgqueObject from current LcConfigC instance
static LC_CFGN getCFGN__null_allow(const LcConfigC &clsHdl)
(const) 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__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 LcConfigC * LcConfigC_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
LC_CFG getCFG__null_allow() const
return the LibMsgqueObject from current LcConfigC instance
LC_CFGN getCFGN__null_allow() const
(const) return the LibMsgqueObject from current LcConfigC instance
static LcConfigC * Instances()
C++: [static] LcConfigC* LcConfigC::Instances() → C-API get head-instance from linked-list of Lc...
LcConfigC * Prev()
C++: LcConfigC* cfg.Prev() → C-API get previous instance from linked-list of LcConfigS type
static LcConfigC * GetNull()
C++: [static] LcConfigC* LcConfigC::GetNull() → C-API Null-Slot - return a LcConfigC typed NULL ...
LcConfigC * Next()
C++: LcConfigC* cfg.Next() → C-API get next instance from linked-list of LcConfigS type
static LcConfigC * HandleResolve(MK_HDL netHdl)
C++: [static] LcConfigC* LcConfigC::HandleResolve(MK_HDL netHdl) → C-API Handle-Resolve-Slot - r...
struct LcConfigS * LC_CFG
class-shortcut for struct LcConfigS *, all shortcut using the XX_YYY syntax (only for public API) …
#define LcConfigC_X2obj(x)
static bool LcCfgCheck(MK_MNGN mng)
check LcConfigS -> libmkkernel::MkObjectS::signature …
LcErrorTypeE ErrorType() const
C++: LcErrorTypeE config.ErrorType() → C-API This function, which is implemented as a macro,...
LcConfigOptionsEF GetOptions() const
C++: LcConfigOptionsEF config.GetOptions() → C-API These functions get and set the options for ...
MK_I16 GetTabWidth() const
C++: MK_I16 config.GetTabWidth() → C-API These functions, which are implemented as macros,...
MK_STRN GetIncludeDir() const
C++: MK_STRN config.GetIncludeDir() → C-API ConfigSetIncludeDir specifies the include directory...
MK_I16 GetFloatPrecision() const
C++: MK_I16 config.GetFloatPrecision() → C-API Since v1.6 These functions get and set the numbe...
MK_BOOL GetOption(LcConfigOptionsEF option) const
C++: MK_BOOL config.GetOption(LcConfigOptionsEF option) → C-API Since v1.7 These functions get ...
LcConfigFormatE GetDefaultFormat() const
C++: LcConfigFormatE config.GetDefaultFormat() → C-API These functions, which are implemented a...
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...
LcSettingC * Lookup(MK_STRN path) const
C++: LcSettingC* config.Lookup(MK_STRN path) → C-API This function locates the setting in the c...
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 s...
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 set...
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 s...
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 s...
void ReadString(MK_STRN str)
C++: config.ReadString(MK_STRN str) → C-API This function reads and parses a configuration from...
MK_STRN WriteString() const
C++: MK_STRN cfg.WriteString() → C-API read the entire configuration cfg into the string val_ou...
void ReadFile(MK_STRN filename)
C++: config.ReadFile(MK_STRN filename) → C-API This function reads and parses a configuration f...
LcSettingC * RootSetting() const
C++: LcSettingC* config.RootSetting() → C-API This function, which is implemented as a macro,...
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...
void WriteFile(MK_STRN filename)
C++: config.WriteFile(MK_STRN filename) → C-API This function writes the configuration config t...
void Clear()
C++: config.Clear() → C-API Since v1.7 This function clears the configuration config …
void SetIncludeDir(MK_STRN include_dir)
C++: config.SetIncludeDir(MK_STRN include_dir) → C-API ConfigSetIncludeDir specifies the includ...
void SetIncludeFunc(LcConfigIncludeIF *fConfigIncludeData=NULL)
C++: cfg.SetIncludeFunc(LcConfigIncludeSCB LcConfigIncludeIF* fConfigIncludeData = NULL) → C-API ...
void SetSettingDeleteFunc(LcSettingDeleteIF *fSettingDeleteData=NULL)
C++: cfg.SetSettingDeleteFunc(LcSettingDeleteSCB LcSettingDeleteIF* fSettingDeleteData = NULL) → C-...
void SetDefaultFormat(LcConfigFormatE format)
C++: config.SetDefaultFormat(LcConfigFormatE format) → C-API These functions,...
void SetOptions(LcConfigOptionsEF options)
C++: config.SetOptions(LcConfigOptionsEF options) → C-API These functions get and set the optio...
void SetTabWidth(MK_I16 width)
C++: config.SetTabWidth(MK_I16 width) → C-API These functions, which are implemented as macros,...
void SetOption(LcConfigOptionsEF option, MK_BOOL flag)
C++: config.SetOption(LcConfigOptionsEF option, MK_BOOL flag) → C-API Since v1....
void SetFloatPrecision(MK_I16 digits)
C++: config.SetFloatPrecision(MK_I16 digits) → C-API Since v1.6 These functions get and set the...
LcConfigC()
C++: [constructor,static] LcConfigC* LcConfigC::Create() → C-API create a LcConfigC instance …
static LcConfigC * Create()
C++: [constructor,static] LcConfigC* LcConfigC::Create() → C-API create a LcConfigC instance …
LcConfigOptionsEF
define the configuration-option of a LcConfigC …
LcConfigFormatE
set the format of a LcSettingC …
static MK_PTR atomObjCreate(MK_RT_ARGS MK_OBJ obj)
void atomInit(MK_OBJ obj)
static MK_PTR atomObjNew(MK_RT_ARGS MK_OBJ obj)
struct MkObjectS * MK_OBJ
namespace for the CcLcConfig "C++"-API
void(* LcSettingDeleteSCB)(MK_I32 hdl)
static callback fired just before deleting a LcSettingC …
void(* LcConfigIncludeSCB)(std::string incDir, std::string path, MkBufferListC &ret)
static callback fired if a @include "FILE-PATTERN" is found in the config-file …
Struct to represent the data from the LcConfigC … → C-API: liblcconfig::LcConfigS
infrastructur to use the cclcconfig specific callback …
interface fired if a @include "FILE-PATTERN" is found in the config-file …
virtual void LcConfigInclude(std::string incDir, std::string path, MkBufferListC &ret)=0
infrastructur to use the cclcconfig specific callback …
interface fired just before deleting a LcSettingC …
virtual void LcSettingDelete(MK_I32)=0
Struct to represent the data from the LcConfigC …