Sq3ValueC - define the class … More...
Topics | |
Sq3ValueC_Class_Define_C_API | |
Sq3ValueC - low level definition, access and cast … | |
Macros | |
#define | Sq3GetValFromNat(_nat) |
helper for Sq3ValueC_ObjNew … | |
Typedefs | |
typedef struct Sq3ValueS * | SQ3_VAL |
class-shortcut for struct Sq3ValueS * , all shortcut using the XX_YYY syntax (only for public API) … | |
typedef const struct Sq3ValueS * | SQ3_VALN |
class-shortcut for const struct Sq3ValueS * , all const shortcut using the XX_YYYC syntax (only for public API) … | |
typedef struct Sq3ValueS | SQ3_VALR |
reference-shortcut for struct Sq3ValueS , all shortcut using the XX_YYYR syntax (only for public API) … | |
Sq3ValueC - Export - inline - interact with an external software | |
static MK_ARTIFICIAL SQ3_VAL | Sq3ValueC_ObjNew (sqlite3_value *hdl) |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl … | |
static SQ3_VAL | Sq3ValueC_ObjCreate (sqlite3_value *hdl) |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl … | |
static MK_HDL | Sq3ValueHandleGet_RT (MK_RT mkrt, SQ3_VAL const val) |
Handle-Get-Slot - returns a export-hdl to the Sq3ValueC useable for external storage | |
static SQ3_VAL | Sq3ValueHandleResolve_RT (MK_RT mkrt, MK_HDL const netHdl) |
Handle-Resolve-Slot - return a Sq3ValueC from netHdl or "MK_NULL" if invalid… | |
#define | Sq3ValueHandleResolve_e(netHdl) |
wrapper for Sq3ValueHandleResolve with error-handline | |
Sq3ValueC - Misc - function - unspecified functions to perform different tasks | |
static SQ3_VAL | Sq3ValueGetNull (void) |
Null-Slot - return a Sq3ValueC typed NULL instance … | |
Sq3ValueC - Introspection - inline - access to all instances created by class starting with the last one | |
static SQ3_VAL | Sq3ValueInstances_RT (MK_RT mkrt) |
get head-instance from linked-list of Sq3ValueS type … | |
static SQ3_VAL | Sq3ValueNext (SQ3_VAL const val) |
get next instance from linked-list of Sq3ValueS type | |
static SQ3_VAL | Sq3ValuePrev (SQ3_VAL const val) |
get previous instance from linked-list of Sq3ValueS type | |
Sq3ValueC - Export - function | |
SQ3_VAL | Sq3ValueHandleResolveP (MK_RT mkrt, MK_HDL const netHdl) |
Non-inline replacement for Sq3ValueHandleResolve … | |
MK_HDL | Sq3ValueHandleGetP (MK_RT mkrt, SQ3_VAL const val) |
Non-inline replacement for Sq3ValueHandleGet … | |
Sq3ValueC - Introspection - function | |
SQ3_VAL | Sq3ValueNextP (SQ3_VAL const val) |
Non-inline replacement for Sq3ValueNext … | |
SQ3_VAL | Sq3ValuePrevP (SQ3_VAL const val) |
Non-inline replacement for Sq3ValuePrev … | |
SQ3_VAL | Sq3ValueInstancesP (MK_RT mkrt) |
Non-inline replacement for Sq3ValueInstances … | |
Sq3ValueC - Misc - function | |
SQ3_VAL | Sq3ValueGetNullP (void) |
Non-inline replacement for Sq3ValueGetNull … | |
Sq3ValueC - Export - overload | |
#define | Sq3ValueHandleResolve_NULL(...) |
#define | Sq3ValueHandleResolve(...) |
#define | Sq3ValueHandleGet_NULL(...) |
#define | Sq3ValueHandleGet(...) |
Sq3ValueC - Introspection - overload | |
#define | Sq3ValueInstances_NULL() |
#define | Sq3ValueInstances() |
Sq3ValueC - define the class …
#define Sq3GetValFromNat | ( | _nat | ) |
helper for Sq3ValueC_ObjNew …
Definition at line 187 of file Sq3ValueC_def_sq3.h.
#define Sq3ValueHandleGet | ( | ... | ) |
Definition at line 689 of file sqlite3_overload_sq3.h.
#define Sq3ValueHandleGet_NULL | ( | ... | ) |
Definition at line 688 of file sqlite3_overload_sq3.h.
#define Sq3ValueHandleResolve | ( | ... | ) |
Definition at line 685 of file sqlite3_overload_sq3.h.
#define Sq3ValueHandleResolve_e | ( | netHdl | ) |
wrapper for Sq3ValueHandleResolve 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 265 of file Sq3ValueC_def_sq3.h.
#define Sq3ValueHandleResolve_NULL | ( | ... | ) |
Definition at line 684 of file sqlite3_overload_sq3.h.
#define Sq3ValueInstances | ( | ) |
Definition at line 700 of file sqlite3_overload_sq3.h.
#define Sq3ValueInstances_NULL | ( | ) |
Definition at line 699 of file sqlite3_overload_sq3.h.
class-shortcut for struct Sq3ValueS *
, all shortcut using the XX_YYY
syntax (only for public API) …
Definition at line 351 of file LibSq3Lite_sq3.h.
class-shortcut for const struct Sq3ValueS *
, all const shortcut using the XX_YYYC
syntax (only for public API) …
Definition at line 354 of file LibSq3Lite_sq3.h.
reference-shortcut for struct Sq3ValueS
, all shortcut using the XX_YYYR
syntax (only for public API) …
Definition at line 357 of file LibSq3Lite_sq3.h.
|
inlinestatic |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
Definition at line 210 of file Sq3ValueC_def_sq3.h.
|
inlinestatic |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
Definition at line 203 of file Sq3ValueC_def_sq3.h.
|
inlinestatic |
SQ3_VAL Sq3ValueGetNullP | ( | void | ) |
Non-inline replacement for Sq3ValueGetNull …
Handle-Get-Slot - returns a export-hdl to the Sq3ValueC 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 Sq3ValueHandleResolve.
By default, the export-hdl is initialized to "0", which is equivalent to does not exist. This function returns a non-zero and unique export-hdl that is recreated if necessary.
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] | val | Programming-Language-Micro-Kernel (PLMK) instance from sqlite3_value |
Definition at line 232 of file Sq3ValueC_def_sq3.h.
Non-inline replacement for Sq3ValueHandleGet …
Handle-Resolve-Slot - return a Sq3ValueC from netHdl or "MK_NULL"
if invalid…
The Sq3ValueHandleResolve undo the Sq3ValueHandleGet 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 Sq3ValueHandleGet |
"MK_NULL"
if netHdl is invalid Definition at line 249 of file Sq3ValueC_def_sq3.h.
Non-inline replacement for Sq3ValueHandleResolve …
get head-instance from linked-list of Sq3ValueS type …
The head-instance is the last instance created.
Definition at line 314 of file Sq3ValueC_def_sq3.h.
Non-inline replacement for Sq3ValueInstances …
get next instance from linked-list of Sq3ValueS type
Definition at line 321 of file Sq3ValueC_def_sq3.h.
Non-inline replacement for Sq3ValueNext …
get previous instance from linked-list of Sq3ValueS type
Definition at line 328 of file Sq3ValueC_def_sq3.h.
Non-inline replacement for Sq3ValuePrev …