LcConfigC - define the class … More...
Topics | |
LcConfigC_Class_Define_C_API | |
LcConfigC - low level definition, access and cast … | |
Macros | |
#define | LcGetCfgFromNat(_nat) |
helper for LcConfigC_ObjNew … | |
Typedefs | |
typedef struct LcConfigS * | LC_CFG |
class-shortcut for struct LcConfigS * , all shortcut using the XX_YYY syntax (only for public API) … | |
typedef const struct LcConfigS * | LC_CFGN |
class-shortcut for const struct LcConfigS * , all const shortcut using the XX_YYYC syntax (only for public API) … | |
typedef struct LcConfigS | LC_CFGR |
reference-shortcut for struct LcConfigS , all shortcut using the XX_YYYR syntax (only for public API) … | |
LcConfigC - Export - inline - interact with an external software | |
MK_ARTIFICIAL LC_CFG | LcConfigC_ObjNew (config_t *hdl) |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl … | |
LC_CFG | LcConfigC_ObjCreate (config_t *hdl) |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl … | |
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 | |
LC_CFG | LcConfigHandleResolve_RT (MK_RT mkrt, MK_HDL const netHdl) |
Handle-Resolve-Slot - return a LcConfigC from netHdl or MK_NULL if invalid… | |
#define | LcConfigHandleResolve_e(netHdl) |
wrapper for LcConfigHandleResolve with error-handline | |
LcConfigC - Misc - function - unspecified functions to perform different tasks | |
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 | |
LC_CFG | LcConfigInstances_RT (MK_PARSER_RT_ONLY) |
get head-instance from linked-list of LcConfigS type … | |
LC_CFG | LcConfigNext (LC_CFG const cfg) |
get next instance from linked-list of LcConfigS type | |
LC_CFG | LcConfigPrev (LC_CFG const cfg) |
get previous instance from linked-list of LcConfigS type | |
LcConfigC - Export - function | |
LC_EXTERN LC_CFG | LcConfigHandleResolveP (MK_RT mkrt, MK_HDL const netHdl) |
Non-inline replacement for LcConfigHandleResolve … | |
LC_EXTERN MK_HDL | LcConfigHandleGetP (MK_RT mkrt, LC_CFG const cfg) |
Non-inline replacement for LcConfigHandleGet … | |
LcConfigC - Introspection - function | |
LC_EXTERN LC_CFG | LcConfigNextP (LC_CFG const cfg) |
Non-inline replacement for LcConfigNext … | |
LC_EXTERN LC_CFG | LcConfigPrevP (LC_CFG const cfg) |
Non-inline replacement for LcConfigPrev … | |
LC_EXTERN LC_CFG | LcConfigInstancesP (MK_PARSER_RT_ONLY) |
Non-inline replacement for LcConfigInstances … | |
LcConfigC - Misc - function | |
LC_EXTERN LC_CFG | LcConfigGetNullP (void) |
Non-inline replacement for LcConfigGetNull … | |
LcConfigC - Export - overload | |
#define | LcConfigHandleResolve_NULL(...) |
#define | LcConfigHandleResolve(...) |
#define | LcConfigHandleGet_NULL(...) |
#define | LcConfigHandleGet(...) |
LcConfigC - Introspection - overload | |
#define | LcConfigInstances_NULL() |
#define | LcConfigInstances() |
LcConfigC - define the class …
#define LcConfigHandleGet | ( | ... | ) |
Definition at line 56 of file config_overload_lc.h.
#define LcConfigHandleGet_NULL | ( | ... | ) |
Definition at line 55 of file config_overload_lc.h.
#define LcConfigHandleResolve | ( | ... | ) |
Definition at line 52 of file config_overload_lc.h.
#define LcConfigHandleResolve_e | ( | netHdl | ) |
wrapper for LcConfigHandleResolve with error-handline
[in] | netHdl | The handle previously returned by MkObjectHandleGet. |
MK_NULL
with an error set.0
than MK_NULL
is returned and the upper-code decide how to deal with it.MK_NULL
if the netHdl is invalid or the underlying object has already been deleted.MK_NULL
is returned than an error-message is created and a jump to the label error is done.Definition at line 331 of file LcConfigC_def_lc.h.
#define LcConfigHandleResolve_NULL | ( | ... | ) |
Definition at line 51 of file config_overload_lc.h.
#define LcConfigInstances | ( | ) |
Definition at line 67 of file config_overload_lc.h.
#define LcConfigInstances_NULL | ( | ) |
Definition at line 66 of file config_overload_lc.h.
#define LcGetCfgFromNat | ( | _nat | ) |
helper for LcConfigC_ObjNew …
Definition at line 256 of file LcConfigC_def_lc.h.
class-shortcut for struct LcConfigS *
, all shortcut using the XX_YYY
syntax (only for public API) …
Definition at line 321 of file LibLcConfig_lc.h.
class-shortcut for const struct LcConfigS *
, all const shortcut using the XX_YYYC
syntax (only for public API) …
Definition at line 324 of file LibLcConfig_lc.h.
reference-shortcut for struct LcConfigS
, all shortcut using the XX_YYYR
syntax (only for public API) …
Definition at line 327 of file LibLcConfig_lc.h.
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
Definition at line 279 of file LcConfigC_def_lc.h.
|
inline |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
Definition at line 272 of file LcConfigC_def_lc.h.
|
inline |
Non-inline replacement for LcConfigGetNull …
Handle-Get-Slot - returns a export-hdl to the LcConfigC useable for external storage
The export-hdl is a reference to an instance that can be stored in software and converted back into an instance using the LcConfigHandleResolve.
The export-hdl is only valid until the Programming-Language-Micro-Kernel (PLMK) ends.
example: The export-hdl is used in rpc to identify an object across the network.
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | cfg | Programming-Language-Micro-Kernel (PLMK) instance from config_t |
Definition at line 298 of file LcConfigC_def_lc.h.
Non-inline replacement for LcConfigHandleGet …
Handle-Resolve-Slot - return a LcConfigC from netHdl or MK_NULL
if invalid…
The LcConfigHandleResolve undo the LcConfigHandleGet and is intended to export a unique identifer into external code not belonging to the Programming-Language-Micro-Kernel (PLMK).
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | netHdl | handle former exported with LcConfigHandleGet |
MK_NULL
if netHdl is invalid Definition at line 315 of file LcConfigC_def_lc.h.
Non-inline replacement for LcConfigHandleResolve …
|
inline |
get head-instance from linked-list of LcConfigS type …
The head-instance is the last instance created.
Definition at line 380 of file LcConfigC_def_lc.h.
LC_EXTERN LC_CFG LcConfigInstancesP | ( | MK_PARSER_RT_ONLY | ) |
Non-inline replacement for LcConfigInstances …
get next instance from linked-list of LcConfigS type
Definition at line 387 of file LcConfigC_def_lc.h.
Non-inline replacement for LcConfigNext …
get previous instance from linked-list of LcConfigS type
Definition at line 394 of file LcConfigC_def_lc.h.
Non-inline replacement for LcConfigPrev …