Sq3BlobC - define the class … More...
Topics | |
Sq3BlobC_Class_Define_C_API | |
Sq3BlobC - low level definition, access and cast … | |
Macros | |
#define | Sq3GetBlobFromNat(_nat) |
helper for Sq3BlobC_ObjNew … | |
Typedefs | |
typedef struct Sq3BlobS * | SQ3_BLOB |
class-shortcut for struct Sq3BlobS * , all shortcut using the XX_YYY syntax (only for public API) … | |
typedef const struct Sq3BlobS * | SQ3_BLOBN |
class-shortcut for const struct Sq3BlobS * , all const shortcut using the XX_YYYC syntax (only for public API) … | |
typedef struct Sq3BlobS | SQ3_BLOBR |
reference-shortcut for struct Sq3BlobS , all shortcut using the XX_YYYR syntax (only for public API) … | |
Sq3BlobC - Export - inline - interact with an external software | |
static MK_ARTIFICIAL SQ3_BLOB | Sq3BlobC_ObjNew (sqlite3_blob *hdl) |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl … | |
static SQ3_BLOB | Sq3BlobC_ObjCreate (sqlite3_blob *hdl) |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl … | |
static MK_HDL | Sq3BlobHandleGet_RT (MK_RT mkrt, SQ3_BLOB const blob) |
Handle-Get-Slot - returns a export-hdl to the Sq3BlobC useable for external storage | |
static SQ3_BLOB | Sq3BlobHandleResolve_RT (MK_RT mkrt, MK_HDL const netHdl) |
Handle-Resolve-Slot - return a Sq3BlobC from netHdl or null if invalid… | |
#define | Sq3BlobHandleResolve_e(netHdl) |
wrapper for Sq3BlobHandleResolve with error-handline | |
Sq3BlobC - Misc - function - unspecified functions to perform different tasks | |
static SQ3_BLOB | Sq3BlobGetNull (void) |
Null-Slot - return a Sq3BlobC typed NULL instance … | |
Sq3BlobC - Introspection - inline - access to all instances created by class starting with the last one | |
static SQ3_BLOB | Sq3BlobInstances_RT (MK_RT mkrt) |
get head-instance from linked-list of Sq3BlobS type … | |
static SQ3_BLOB | Sq3BlobNext (SQ3_BLOB const blob) |
get next instance from linked-list of Sq3BlobS type | |
static SQ3_BLOB | Sq3BlobPrev (SQ3_BLOB const blob) |
get previous instance from linked-list of Sq3BlobS type | |
Sq3BlobC - Export - function | |
SQ3_BLOB | Sq3BlobHandleResolveP (MK_RT mkrt, MK_HDL const netHdl) |
Non-inline replacement for Sq3BlobHandleResolve … | |
MK_HDL | Sq3BlobHandleGetP (MK_RT mkrt, SQ3_BLOB const blob) |
Non-inline replacement for Sq3BlobHandleGet … | |
Sq3BlobC - Introspection - function | |
SQ3_BLOB | Sq3BlobNextP (SQ3_BLOB const blob) |
Non-inline replacement for Sq3BlobNext … | |
SQ3_BLOB | Sq3BlobPrevP (SQ3_BLOB const blob) |
Non-inline replacement for Sq3BlobPrev … | |
SQ3_BLOB | Sq3BlobInstancesP (MK_RT mkrt) |
Non-inline replacement for Sq3BlobInstances … | |
Sq3BlobC - Misc - function | |
SQ3_BLOB | Sq3BlobGetNullP (void) |
Non-inline replacement for Sq3BlobGetNull … | |
Sq3BlobC - Export - overload | |
#define | Sq3BlobHandleResolve_NULL(...) |
#define | Sq3BlobHandleResolve(...) |
#define | Sq3BlobHandleGet_NULL(...) |
#define | Sq3BlobHandleGet(...) |
Sq3BlobC - Introspection - overload | |
#define | Sq3BlobInstances_NULL() |
#define | Sq3BlobInstances() |
Sq3BlobC - define the class …
#define Sq3BlobHandleGet | ( | ... | ) |
Definition at line 28 of file sqlite3_overload_sq3.h.
#define Sq3BlobHandleGet_NULL | ( | ... | ) |
Definition at line 27 of file sqlite3_overload_sq3.h.
#define Sq3BlobHandleResolve | ( | ... | ) |
Definition at line 24 of file sqlite3_overload_sq3.h.
#define Sq3BlobHandleResolve_e | ( | netHdl | ) |
wrapper for Sq3BlobHandleResolve with error-handline
[in] | netHdl | The handle previously returned by MkObjectHandleGet. |
0
than null is returned and the upper-code decide how to deal with it.Definition at line 265 of file Sq3BlobC_def_sq3.h.
#define Sq3BlobHandleResolve_NULL | ( | ... | ) |
Definition at line 23 of file sqlite3_overload_sq3.h.
#define Sq3BlobInstances | ( | ) |
Definition at line 39 of file sqlite3_overload_sq3.h.
#define Sq3BlobInstances_NULL | ( | ) |
Definition at line 38 of file sqlite3_overload_sq3.h.
#define Sq3GetBlobFromNat | ( | _nat | ) |
helper for Sq3BlobC_ObjNew …
Definition at line 187 of file Sq3BlobC_def_sq3.h.
class-shortcut for struct Sq3BlobS *
, all shortcut using the XX_YYY
syntax (only for public API) …
Definition at line 379 of file LibSq3Lite_sq3.h.
class-shortcut for const struct Sq3BlobS *
, all const shortcut using the XX_YYYC
syntax (only for public API) …
Definition at line 382 of file LibSq3Lite_sq3.h.
reference-shortcut for struct Sq3BlobS
, all shortcut using the XX_YYYR
syntax (only for public API) …
Definition at line 385 of file LibSq3Lite_sq3.h.
|
inlinestatic |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
Definition at line 210 of file Sq3BlobC_def_sq3.h.
|
inlinestatic |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
Definition at line 203 of file Sq3BlobC_def_sq3.h.
|
inlinestatic |
SQ3_BLOB Sq3BlobGetNullP | ( | void | ) |
Non-inline replacement for Sq3BlobGetNull …
Handle-Get-Slot - returns a export-hdl to the Sq3BlobC 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 Sq3BlobHandleResolve.
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] | blob | Programming-Language-Micro-Kernel (PLMK) instance from sqlite3_blob |
Definition at line 232 of file Sq3BlobC_def_sq3.h.
Non-inline replacement for Sq3BlobHandleGet …
Handle-Resolve-Slot - return a Sq3BlobC from netHdl or null if invalid…
The Sq3BlobHandleResolve undo the Sq3BlobHandleGet 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 Sq3BlobHandleGet |
Definition at line 249 of file Sq3BlobC_def_sq3.h.
Non-inline replacement for Sq3BlobHandleResolve …
get head-instance from linked-list of Sq3BlobS type …
The head-instance is the last instance created.
Definition at line 314 of file Sq3BlobC_def_sq3.h.
Non-inline replacement for Sq3BlobInstances …
get next instance from linked-list of Sq3BlobS type
Definition at line 321 of file Sq3BlobC_def_sq3.h.
Non-inline replacement for Sq3BlobNext …
get previous instance from linked-list of Sq3BlobS type
Definition at line 328 of file Sq3BlobC_def_sq3.h.
Non-inline replacement for Sq3BlobPrev …