theConfig 10.0
Loading...
Searching...
No Matches
LcConfigC_def_lc.h File Reference

tag: nhi1-release-250425 More...

#include "LibLcConfig_lc.h"
+ Include dependency graph for LcConfigC_def_lc.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  LcConfigS
 Struct to represent the data from the LcConfigCMore...
 

Macros

#define LcConfigIncludeCallF_ARGS    MK_RT_ARGS struct LcConfigS* const cfg, MK_STRN incDir, MK_STRN path, MK_BFL ret_inout
 
#define LcConfigIncludeFreeF_ARGS   MK_RT_ARGS struct LcConfigS* const cfg
 
#define LcConfigIncludeCallF_CHECK
 
#define LcSettingDeleteCallF_ARGS    MK_RT_ARGS struct LcConfigS* const cfg, struct LcSettingS* const cfs
 
#define LcSettingDeleteFreeF_ARGS   MK_RT_ARGS struct LcConfigS* const cfg
 
#define LcSettingDeleteCallF_CHECK
 
#define LcGetCfgFromNat(_nat)
 helper for LcConfigC_ObjNew
 
LcConfigC - signature define
#define LcConfigC_SIGNATURE   (MkObjectC_SIGNATURE ^ (16u<<10))
 
#define LcConfigC_MASK   (((1u<<22)-1)<<10)
 
LcConfigC - cast to superclass
#define LcConfigC_X2cfg(x)
 
#define LcConfigC_X2obj(x)
 

Typedefs

typedef MK_PTRBLC_CBP
 
typedef enum MkErrorE(* LcConfigIncludeCallF) (LcConfigIncludeCallF_ARGS)
 
typedef void(* LcConfigIncludeFreeF) (LcConfigIncludeFreeF_ARGS)
 
typedef enum MkErrorE(* LcSettingDeleteCallF) (LcSettingDeleteCallF_ARGS)
 
typedef void(* LcSettingDeleteFreeF) (LcSettingDeleteFreeF_ARGS)
 

Functions

LcConfigC - Misc - function - unspecified functions to perform different tasks
static LC_CFG LcConfigGetNull (void)
 Null-Slot - return a LcConfigC typed NULL instance …
 
LcConfigC - Introspection - inline - access to all instances created by class starting with the last one
static LC_CFG LcConfigInstances_RT (MK_RT mkrt)
 get head-instance from linked-list of LcConfigS type …
 
static LC_CFG LcConfigNext (LC_CFG const cfg)
 get next instance from linked-list of LcConfigS type
 
static LC_CFG LcConfigPrev (LC_CFG const cfg)
 get previous instance from linked-list of LcConfigS type
 

LcConfigC - type definition

#define LcConfigC_T   ( (struct MkTypeDefS *) (LcConfigC_TT) )
 class as MkTypeDefS-class-type (cast from LcConfigC_TT into MkTypeS) …
 
#define LcConfigST   LcConfigC_T
 instance-type as MkTypeDefS-class-type …
 
#define LcConfigSTT   (MkTYP(LcConfigST))
 instance-type as MkTypeS-class-type (cast from LcConfigST into MkTypeS) …
 
#define LcConfigC_type   LC_CFG
 same as LcConfigS but useable in a class-macro as: class##_type
 
#define LcConfigCT_X(instance)
 cast from an instance into the MkTypeDefS-class-type …
 
#define LcConfigCTT_X(instance)
 cast from an instance into the MkTypeS-class-type …
 
#define LcConfigCT_TT(typ)
 cast from an MkTypeS-class-type into an MkTypeDefS-class-type …
 
#define LcConfigC_NS   LC
 map class to namespace …
 
#define LcConfigCTT   LcConfigCTT
 class as MkTypeS-class-type for LcConfigC in the Target-Programming-Language (TPL)
 
#define LcConfigCT   ( (struct MkTypeDefS *) LcConfigCTT )
 class as MkTypeDefS-class-type for LcConfigC in the Target-Programming-Language (TPL)
 
typedef struct LcConfigS LcConfigCR
 instance-struct-reference same as struct LcConfigS, useable in a class-macro as: class##R
 
typedef const struct LcConfigS LcConfigCNR
 const instance-struct-reference same as const struct LcConfigS, useable in a class-macro as: class##R
 
__thread MK_TYP LcConfigC_TT
 class as MkTypeDefS-class-type …
 

LcConfigC - signature check

#define LcConfigC_Check(mng)
 
static bool LcCfgCheck (MK_MNGN mng)
 check LcConfigS -> MkObjectS::signature
 
static bool LcCfgCheckO (MK_OBJN obj)
 check LcConfigS -> MkObjectS::signature
 

LcConfigC - cast from a defined or a undefined instance

#define LcCfgRaise(_cfg)
 raise an error if class-instance is not valid
 
#define LcCFG_R(x)
 cast a known-object into an LcConfigS reference
 
#define LcCFG(x)
 cast a known-object into an LcConfigS pointer
 
static LC_CFG LcCfg (MK_MNG mng)
 cast a unknown-object into an LcConfigS pointer or NULL if not possible
 
static LC_CFGN LcCfgN (MK_MNGN mng)
 (const) cast a unknown-object into an LcConfigS pointer or NULL if not possible
 

LcConfigC - Export - inline - interact with an external software

#define LcConfigHandleResolve_e(netHdl)
 wrapper for LcConfigHandleResolve with error-handline
 
static MK_ARTIFICIAL LC_CFG LcConfigC_ObjNew (config_t *hdl)
 return Programming-Language-Micro-Kernel (PLMK) instance from native hdl
 
static LC_CFG LcConfigC_ObjCreate (config_t *hdl)
 return Programming-Language-Micro-Kernel (PLMK) instance from native hdl
 
static MK_HDL LcConfigHandleGet_RT (MK_RT mkrt, LC_CFG const cfg)
 Handle-Get-Slot - returns a export-hdl to the LcConfigC useable for external storage
 
static LC_CFG LcConfigHandleResolve_RT (MK_RT mkrt, MK_HDL const netHdl)
 Handle-Resolve-Slot - return a LcConfigC from netHdl or MK_NULL if invalid…
 

Detailed Description

tag: nhi1-release-250425

Definition in file LcConfigC_def_lc.h.