LcSettingC - define the class … More...
Topics | |
LcSettingC_Class_Define_C_API | |
LcSettingC - low level definition, access and cast … | |
Macros | |
#define | LcGetCfsFromNat(_nat) |
helper for LcSettingC_ObjNew … | |
Typedefs | |
typedef struct LcSettingS * | LC_CFS |
class-shortcut for struct LcSettingS * , all shortcut using the XX_YYY syntax (only for public API) … | |
typedef const struct LcSettingS * | LC_CFSN |
class-shortcut for const struct LcSettingS * , all const shortcut using the XX_YYYC syntax (only for public API) … | |
typedef struct LcSettingS | LC_CFSR |
reference-shortcut for struct LcSettingS , all shortcut using the XX_YYYR syntax (only for public API) … | |
LcSettingC - Export - inline - interact with an external software | |
MK_ARTIFICIAL LC_CFS | LcSettingC_ObjNew (config_setting_t *hdl) |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl … | |
LC_CFS | LcSettingC_ObjCreate (config_setting_t *hdl) |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl … | |
MK_HDL | LcSettingHandleGet_RT (MK_RT mkrt, LC_CFS const cfs) |
Handle-Get-Slot - returns a export-hdl to the LcSettingC useable for external storage | |
LC_CFS | LcSettingHandleResolve_RT (MK_RT mkrt, MK_HDL const netHdl) |
Handle-Resolve-Slot - return a LcSettingC from netHdl or MK_NULL if invalid… | |
#define | LcSettingHandleResolve_e(netHdl) |
wrapper for LcSettingHandleResolve with error-handline | |
LcSettingC - Misc - function - unspecified functions to perform different tasks | |
LC_CFS | LcSettingGetNull (void) |
Null-Slot - return a LcSettingC typed NULL instance … | |
LcSettingC - Introspection - inline - access to all instances created by class starting with the last one | |
LC_CFS | LcSettingInstances_RT (MK_PARSER_RT_ONLY) |
get head-instance from linked-list of LcSettingS type … | |
LC_CFS | LcSettingNext (LC_CFS const cfs) |
get next instance from linked-list of LcSettingS type | |
LC_CFS | LcSettingPrev (LC_CFS const cfs) |
get previous instance from linked-list of LcSettingS type | |
LcSettingC - Export - function | |
LC_EXTERN LC_CFS | LcSettingHandleResolveP (MK_RT mkrt, MK_HDL const netHdl) |
Non-inline replacement for LcSettingHandleResolve … | |
LC_EXTERN MK_HDL | LcSettingHandleGetP (MK_RT mkrt, LC_CFS const cfs) |
Non-inline replacement for LcSettingHandleGet … | |
LcSettingC - Introspection - function | |
LC_EXTERN LC_CFS | LcSettingNextP (LC_CFS const cfs) |
Non-inline replacement for LcSettingNext … | |
LC_EXTERN LC_CFS | LcSettingPrevP (LC_CFS const cfs) |
Non-inline replacement for LcSettingPrev … | |
LC_EXTERN LC_CFS | LcSettingInstancesP (MK_PARSER_RT_ONLY) |
Non-inline replacement for LcSettingInstances … | |
LcSettingC - Misc - function | |
LC_EXTERN LC_CFS | LcSettingGetNullP (void) |
Non-inline replacement for LcSettingGetNull … | |
LcSettingC - Export - overload | |
#define | LcSettingHandleResolve_NULL(...) |
#define | LcSettingHandleResolve(...) |
#define | LcSettingHandleGet_NULL(...) |
#define | LcSettingHandleGet(...) |
LcSettingC - Introspection - overload | |
#define | LcSettingInstances_NULL() |
#define | LcSettingInstances() |
LcSettingC - define the class …
#define LcGetCfsFromNat | ( | _nat | ) |
helper for LcSettingC_ObjNew …
Definition at line 204 of file LcSettingC_def_lc.h.
#define LcSettingHandleGet | ( | ... | ) |
Definition at line 168 of file config_overload_lc.h.
#define LcSettingHandleGet_NULL | ( | ... | ) |
Definition at line 167 of file config_overload_lc.h.
#define LcSettingHandleResolve | ( | ... | ) |
Definition at line 164 of file config_overload_lc.h.
#define LcSettingHandleResolve_e | ( | netHdl | ) |
wrapper for LcSettingHandleResolve 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 279 of file LcSettingC_def_lc.h.
#define LcSettingHandleResolve_NULL | ( | ... | ) |
Definition at line 163 of file config_overload_lc.h.
#define LcSettingInstances | ( | ) |
Definition at line 179 of file config_overload_lc.h.
#define LcSettingInstances_NULL | ( | ) |
Definition at line 178 of file config_overload_lc.h.
typedef struct LcSettingS* LC_CFS |
class-shortcut for struct LcSettingS *
, all shortcut using the XX_YYY
syntax (only for public API) …
Definition at line 335 of file LibLcConfig_lc.h.
typedef const struct LcSettingS* LC_CFSN |
class-shortcut for const struct LcSettingS *
, all const shortcut using the XX_YYYC
syntax (only for public API) …
Definition at line 338 of file LibLcConfig_lc.h.
typedef struct LcSettingS LC_CFSR |
reference-shortcut for struct LcSettingS
, all shortcut using the XX_YYYR
syntax (only for public API) …
Definition at line 341 of file LibLcConfig_lc.h.
|
inline |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
Definition at line 227 of file LcSettingC_def_lc.h.
|
inline |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
Definition at line 220 of file LcSettingC_def_lc.h.
|
inline |
Null-Slot - return a LcSettingC typed NULL
instance …
Definition at line 304 of file LcSettingC_def_lc.h.
Non-inline replacement for LcSettingGetNull …
Handle-Get-Slot - returns a export-hdl to the LcSettingC 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 LcSettingHandleResolve.
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] | cfs | Programming-Language-Micro-Kernel (PLMK) instance from config_setting_t |
Definition at line 246 of file LcSettingC_def_lc.h.
Non-inline replacement for LcSettingHandleGet …
Handle-Resolve-Slot - return a LcSettingC from netHdl or MK_NULL
if invalid…
The LcSettingHandleResolve undo the LcSettingHandleGet 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 LcSettingHandleGet |
MK_NULL
if netHdl is invalid Definition at line 263 of file LcSettingC_def_lc.h.
Non-inline replacement for LcSettingHandleResolve …
|
inline |
get head-instance from linked-list of LcSettingS type …
The head-instance is the last instance created.
Definition at line 328 of file LcSettingC_def_lc.h.
LC_EXTERN LC_CFS LcSettingInstancesP | ( | MK_PARSER_RT_ONLY | ) |
Non-inline replacement for LcSettingInstances …
get next instance from linked-list of LcSettingS type
Definition at line 335 of file LcSettingC_def_lc.h.
Non-inline replacement for LcSettingNext …
get previous instance from linked-list of LcSettingS type
Definition at line 342 of file LcSettingC_def_lc.h.
Non-inline replacement for LcSettingPrev …