theConfig 10.0
|
Struct to represent the data from the LcConfigC … → C-API: liblcconfig::LcConfigS More...
#include <LcConfigC_cc.hh>
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 | |
LcConfigC * | Next () |
C++: → C-API get next instance from linked-list of LcConfigS type | |
LcConfigC * | Prev () |
C++: → C-API get previous instance from linked-list of LcConfigS type | |
LcErrorTypeE | ErrorType () const |
C++: → 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++: → 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++: → 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++: → 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++: → C-API Since v1.7 These functions get and set the given option of the configuration config … | |
LcConfigOptionsEF | GetOptions () const |
C++: → C-API These functions get and set the options for the configuration config … | |
MK_I16 | GetTabWidth () const |
C++: → C-API These functions, which are implemented as macros, get and set the tab width for the configuration config … | |
LcSettingC * | Lookup (MK_STRN path) const |
C++: → C-API This function locates the setting in the configuration config specified by the path path … | |
LcSettingC * | Lookup (const std::string &path) const |
C++: → C-API This function locates the setting in the configuration config specified by the path path … | |
MK_BOOL | LookupBool (MK_STRN path) const |
C++: → 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++: → 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++: → 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++: → 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++: → 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++: → 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++: → 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++: → 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++: → 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++: → C-API These functions look up the value of the setting in the configuration config specified by the path path … | |
LcSettingC * | RootSetting () const |
C++: → C-API This function, which is implemented as a macro, returns the root setting for the configuration config … | |
void | Clear () |
C++: → 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++: → 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++: → C-API log the config … | |
void | ReadFile (MK_STRN filename) |
C++: → 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++: → 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++: → 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++: → C-API This function reads and parses a configuration from the string str into the configuration object config … | |
void | WriteFile (MK_STRN filename) |
C++: → C-API This function writes the configuration config to the file named filename … | |
void | WriteFile (const std::string &filename) |
C++: → C-API This function writes the configuration config to the file named filename … | |
MK_STRN | WriteString () const |
C++: → C-API read the entire configuration cfg into the string val_out … | |
void | SetDefaultFormat (LcConfigFormatE format) |
C++: → 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++: → 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++: → 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++: → 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++: → C-API set the __parser__(callback-name) for the include-config-file … | |
void | SetIncludeFunc (LcConfigIncludeSCB fConfigIncludeData=NULL) |
C++: → C-API set the __parser__(callback-name) for the include-config-file … | |
void | SetOption (LcConfigOptionsEF option, MK_BOOL flag) |
C++: → C-API Since v1.7 These functions get and set the given option of the configuration config … | |
void | SetOptions (LcConfigOptionsEF options) |
C++: → C-API These functions get and set the options for the configuration config … | |
void | SetSettingDeleteFunc (LcSettingDeleteIF *fSettingDeleteData=NULL) |
C++: → C-API set the callback-name for the setting-delete … | |
void | SetSettingDeleteFunc (LcSettingDeleteSCB fSettingDeleteData=NULL) |
C++: → C-API set the callback-name for the setting-delete … | |
void | SetTabWidth (MK_I16 width) |
C++: → C-API These functions, which are implemented as macros, get and set the tab width for the configuration config … | |
LcConfigC () | |
C++: → C-API create a LcConfigC instance … | |
![]() | |
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 () |
MkObjectC * | Next () |
MkObjectC * | Prev () |
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 |
MkErrorC * | ErrorCatch (std::exception *exception=NULL, MK_STRN callfunc=__builtin_FUNCTION()) const |
MkErrorC * | ErrorCatch (const std::exception &exception, MK_STRN callfunc=__builtin_FUNCTION()) const |
MkErrorC * | ToError () |
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 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 | |
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 LcConfigC * | HandleResolve (MK_HDL netHdl) |
C++: → C-API Handle-Resolve-Slot - return a LcConfigC from netHdl or MK_NULL if invalid… | |
static LcConfigC * | Instances () |
C++: → C-API get head-instance from linked-list of LcConfigS type … | |
static LcConfigC * | GetNull () |
C++: → C-API Null-Slot - return a LcConfigC typed NULL instance … | |
static LcConfigC * | Create () |
C++: → C-API create a LcConfigC instance … | |
![]() | |
static MkObjectC * | MkObjectC_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 MkObjectC * | HandleResolve (MK_HDL netHdl) |
static void | HandleDeleteByNetHdl (MK_HDL netHdl) |
static MkObjectC * | Instances () |
static MkObjectC * | GetNull () |
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 thread_local MkObjectC | MK_NULL_REF |
Friends | |
class | LcConfig |
class | LcConfigIncludeCallbackC |
class | LcSettingDeleteCallbackC |
Additional Inherited Members | |
![]() | |
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) |
![]() | |
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 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) |
![]() | |
MK_OBJ | hdl |
MK_RT | mkrt |
Struct to represent the data from the LcConfigC … → C-API: liblcconfig::LcConfigS
Definition at line 60 of file LcConfigC_cc.hh.
|
friend |
Definition at line 62 of file LcConfigC_cc.hh.
|
friend |
Definition at line 63 of file LcConfigC_cc.hh.
|
friend |
Definition at line 64 of file LcConfigC_cc.hh.