theConfig 10.0
|
Struct to represent the data from the LcSettingC … → C-API: liblcconfig::LcSettingS More...
#include <LcSettingC_cc.hh>
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 | |
LcSettingC * | Next () |
C++: → C-API get next instance from linked-list of LcSettingS type | |
LcSettingC * | Prev () |
C++: → C-API get previous instance from linked-list of LcSettingS type | |
LcSettingC * | GetElem (MK_I32 idx) const |
C++: → C-API This function fetches the element at the given index index in the setting setting, which must be an array, list, or group … | |
LcSettingC * | GetMember (MK_STRN name) const |
C++: → C-API This function fetches the child setting named name from the group setting … | |
LcSettingC * | GetMember (const std::string &name) const |
C++: → C-API This function fetches the child setting named name from the group setting … | |
MK_BOOL | GetBool () const |
C++: → C-API These functions return the value of the given setting … | |
MK_BOOL | GetBoolElem (MK_I32 idx) const |
C++: → C-API These functions return the value at the specified index index in the setting setting … | |
MK_DBL | GetFloat () const |
C++: → C-API These functions return the value of the given setting … | |
MK_DBL | GetFloatElem (MK_I32 idx) const |
C++: → C-API These functions return the value at the specified index index in the setting setting … | |
LcConfigFormatE | GetFormat () const |
C++: → C-API These functions get and set the external format for the setting setting … | |
MK_I32 | GetInt () const |
C++: → C-API These functions return the value of the given setting … | |
MK_I64 | GetInt64 () const |
C++: → C-API These functions return the value of the given setting … | |
MK_I64 | GetInt64Elem (MK_I32 idx) const |
C++: → C-API These functions return the value at the specified index index in the setting setting … | |
MK_I32 | GetIntElem (MK_I32 idx) const |
C++: → C-API These functions return the value at the specified index index in the setting setting … | |
MK_STRN | GetString () const |
C++: → C-API These functions return the value of the given setting … | |
MK_STRN | GetStringElem (MK_I32 idx) const |
C++: → C-API These functions return the value at the specified index index in the setting setting … | |
MK_BOOL | IsAggregate () const |
C++: → 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++: → 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++: → 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++: → 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++: → 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++: → C-API This function returns CONFIG_TRUE if the given setting is the root setting, and CONFIG_FALSE otherwise … | |
MK_BOOL | IsScalar () const |
C++: → 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 … | |
LcSettingC * | Lookup (MK_STRN path) |
C++: → C-API This function locates a setting by a path path relative to the setting setting … | |
LcSettingC * | Lookup (const std::string &path) |
C++: → C-API This function locates a setting by a path path relative to the setting setting … | |
MkBufferListC * | LookupAll () const |
C++: → C-API addon - read an entire configuration below setting into MkBufferListC … | |
MK_BOOL | LookupBool (MK_STRN name) const |
C++: → 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++: → 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++: → 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++: → 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++: → 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++: → 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++: → 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++: → 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++: → 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++: → C-API These functions look up the value of the child setting named name of the setting setting … | |
LcSettingC * | AddIfNotExists (MK_STRN name, LcConfigTypeE cfgtype) |
C++: → C-API addon - add name with type only if not exists in the setting … | |
LcSettingC * | AddIfNotExists (const std::string &name, LcConfigTypeE cfgtype) |
C++: → C-API addon - add name with type only if not exists in the setting … | |
LcSettingC * | Parent () const |
C++: → 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++: → C-API addon - return true if name exists in the setting otherwise false … | |
MK_BOOL | Exists (const std::string &name) |
C++: → C-API addon - return true if name exists in the setting otherwise false … | |
MK_I32 | Index () const |
C++: → C-API This function returns the index of the given setting within its parent setting … | |
MK_I32 | Length () const |
C++: → 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++: → 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++: → 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++: → 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++: → 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++: → 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++: → 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++: → C-API This function returns the type of the given setting … | |
LcSettingC * | SetBoolElem (MK_I32 idx, MK_I32 value) |
C++: → C-API These functions set the value at the specified index index in the setting setting to value … | |
LcSettingC * | SetFloatElem (MK_I32 idx, MK_DBL value) |
C++: → C-API These functions set the value at the specified index index in the setting setting to value … | |
LcSettingC * | SetInt64Elem (MK_I32 idx, MK_I64 value) |
C++: → C-API These functions set the value at the specified index index in the setting setting to value … | |
LcSettingC * | SetIntElem (MK_I32 idx, MK_I32 value) |
C++: → C-API These functions set the value at the specified index index in the setting setting to value … | |
LcSettingC * | SetStringElem (MK_I32 idx, MK_STRN value) |
C++: → C-API These functions set the value at the specified index index in the setting setting to value … | |
LcSettingC * | SetStringElem (MK_I32 idx, const std::string &value) |
C++: → C-API These functions set the value at the specified index index in the setting setting to value … | |
void | SetBool (MK_BOOL value) |
C++: → C-API These functions set the value of the given setting to value … | |
void | SetFloat (MK_DBL value) |
C++: → C-API These functions set the value of the given setting to value … | |
void | SetFormat (LcConfigFormatE format) |
C++: → C-API These functions get and set the external format for the setting setting … | |
void | SetInt (MK_I32 value) |
C++: → C-API These functions set the value of the given setting to value … | |
void | SetInt64 (MK_I64 value) |
C++: → C-API These functions set the value of the given setting to value … | |
void | SetString (MK_STRN value) |
C++: → C-API These functions set the value of the given setting to value … | |
void | SetString (const std::string &value) |
C++: → C-API These functions set the value of the given setting to value … | |
LcSettingC * | Add (MK_STRN name, LcConfigTypeE __type) |
C++: → C-API This function adds a new child setting or element to the setting parent, which must be a group, array, or list … | |
LcSettingC * | Add (const std::string &name, LcConfigTypeE __type) |
C++: → C-API This function adds a new child setting or element to the setting parent, which must be a group, array, or list … | |
LcConfigC * | GetConfig () const |
C++: → C-API addon - return the LcConfigC from the LcSettingC … | |
![]() | |
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 LcSettingC * | LcSettingC_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 LcSettingC * | HandleResolve (MK_HDL netHdl) |
C++: → C-API Handle-Resolve-Slot - return a LcSettingC from netHdl or MK_NULL if invalid… | |
static LcSettingC * | Instances () |
C++: → C-API get head-instance from linked-list of LcSettingS type … | |
static LcSettingC * | GetNull () |
C++: → C-API Null-Slot - return a LcSettingC typed NULL 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 LcSettingC | MK_NULL_REF = {(MK_OBJ)0} |
![]() | |
static thread_local MkObjectC | MK_NULL_REF |
Friends | |
class | LcConfig |
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 LcSettingC … → C-API: liblcconfig::LcSettingS
Definition at line 24 of file LcSettingC_cc.hh.
|
friend |
Definition at line 26 of file LcSettingC_cc.hh.