Sq3StmtC - define the class … More...
Topics | |
Sq3StmtC_Class_Define_C_API | |
Sq3StmtC - low level definition, access and cast … | |
Macros | |
#define | Sq3GetStmtFromNat(_nat) |
helper for Sq3StmtC_ObjNew … | |
Typedefs | |
typedef struct Sq3StmtS * | SQ3_STMT |
class-shortcut for struct Sq3StmtS * , all shortcut using the XX_YYY syntax (only for public API) … | |
typedef const struct Sq3StmtS * | SQ3_STMTN |
class-shortcut for const struct Sq3StmtS * , all const shortcut using the XX_YYYC syntax (only for public API) … | |
typedef struct Sq3StmtS | SQ3_STMTR |
reference-shortcut for struct Sq3StmtS , all shortcut using the XX_YYYR syntax (only for public API) … | |
Sq3StmtC - Export - inline - interact with an external software | |
static MK_ARTIFICIAL SQ3_STMT | Sq3StmtC_ObjNew (sqlite3_stmt *hdl) |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl … | |
static SQ3_STMT | Sq3StmtC_ObjCreate (sqlite3_stmt *hdl) |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl … | |
static MK_HDL | Sq3StmtHandleGet_RT (MK_RT mkrt, SQ3_STMT const stmt) |
Handle-Get-Slot - returns a export-hdl to the Sq3StmtC useable for external storage | |
static SQ3_STMT | Sq3StmtHandleResolve_RT (MK_RT mkrt, MK_HDL const netHdl) |
Handle-Resolve-Slot - return a Sq3StmtC from netHdl or "MK_NULL" if invalid… | |
#define | Sq3StmtHandleResolve_e(netHdl) |
wrapper for Sq3StmtHandleResolve with error-handline | |
Sq3StmtC - Misc - function - unspecified functions to perform different tasks | |
static SQ3_STMT | Sq3StmtGetNull (void) |
Null-Slot - return a Sq3StmtC typed NULL instance … | |
Sq3StmtC - Introspection - inline - access to all instances created by class starting with the last one | |
static SQ3_STMT | Sq3StmtInstances_RT (MK_RT mkrt) |
get head-instance from linked-list of Sq3StmtS type … | |
static SQ3_STMT | Sq3StmtNext (SQ3_STMT const stmt) |
get next instance from linked-list of Sq3StmtS type | |
static SQ3_STMT | Sq3StmtPrev (SQ3_STMT const stmt) |
get previous instance from linked-list of Sq3StmtS type | |
Sq3StmtC - Export - function | |
SQ3_STMT | Sq3StmtHandleResolveP (MK_RT mkrt, MK_HDL const netHdl) |
Non-inline replacement for Sq3StmtHandleResolve … | |
MK_HDL | Sq3StmtHandleGetP (MK_RT mkrt, SQ3_STMT const stmt) |
Non-inline replacement for Sq3StmtHandleGet … | |
Sq3StmtC - Introspection - function | |
SQ3_STMT | Sq3StmtNextP (SQ3_STMT const stmt) |
Non-inline replacement for Sq3StmtNext … | |
SQ3_STMT | Sq3StmtPrevP (SQ3_STMT const stmt) |
Non-inline replacement for Sq3StmtPrev … | |
SQ3_STMT | Sq3StmtInstancesP (MK_RT mkrt) |
Non-inline replacement for Sq3StmtInstances … | |
Sq3StmtC - Misc - function | |
SQ3_STMT | Sq3StmtGetNullP (void) |
Non-inline replacement for Sq3StmtGetNull … | |
Sq3StmtC - Export - overload | |
#define | Sq3StmtHandleResolve_NULL(...) |
#define | Sq3StmtHandleResolve(...) |
#define | Sq3StmtHandleGet_NULL(...) |
#define | Sq3StmtHandleGet(...) |
Sq3StmtC - Introspection - overload | |
#define | Sq3StmtInstances_NULL() |
#define | Sq3StmtInstances() |
Sq3StmtC - define the class …
#define Sq3GetStmtFromNat | ( | _nat | ) |
helper for Sq3StmtC_ObjNew …
Definition at line 193 of file Sq3StmtC_def_sq3.h.
#define Sq3StmtHandleGet | ( | ... | ) |
Definition at line 582 of file sqlite3_overload_sq3.h.
#define Sq3StmtHandleGet_NULL | ( | ... | ) |
Definition at line 581 of file sqlite3_overload_sq3.h.
#define Sq3StmtHandleResolve | ( | ... | ) |
Definition at line 578 of file sqlite3_overload_sq3.h.
#define Sq3StmtHandleResolve_e | ( | netHdl | ) |
wrapper for Sq3StmtHandleResolve 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 271 of file Sq3StmtC_def_sq3.h.
#define Sq3StmtHandleResolve_NULL | ( | ... | ) |
Definition at line 577 of file sqlite3_overload_sq3.h.
#define Sq3StmtInstances | ( | ) |
Definition at line 593 of file sqlite3_overload_sq3.h.
#define Sq3StmtInstances_NULL | ( | ) |
Definition at line 592 of file sqlite3_overload_sq3.h.
class-shortcut for struct Sq3StmtS *
, all shortcut using the XX_YYY
syntax (only for public API) …
Definition at line 365 of file LibSq3Lite_sq3.h.
class-shortcut for const struct Sq3StmtS *
, all const shortcut using the XX_YYYC
syntax (only for public API) …
Definition at line 368 of file LibSq3Lite_sq3.h.
reference-shortcut for struct Sq3StmtS
, all shortcut using the XX_YYYR
syntax (only for public API) …
Definition at line 371 of file LibSq3Lite_sq3.h.
|
inlinestatic |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
Definition at line 216 of file Sq3StmtC_def_sq3.h.
|
inlinestatic |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
Definition at line 209 of file Sq3StmtC_def_sq3.h.
|
inlinestatic |
SQ3_STMT Sq3StmtGetNullP | ( | void | ) |
Non-inline replacement for Sq3StmtGetNull …
Handle-Get-Slot - returns a export-hdl to the Sq3StmtC 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 Sq3StmtHandleResolve.
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] | stmt | Programming-Language-Micro-Kernel (PLMK) instance from sqlite3_stmt |
Definition at line 238 of file Sq3StmtC_def_sq3.h.
Non-inline replacement for Sq3StmtHandleGet …
Handle-Resolve-Slot - return a Sq3StmtC from netHdl or "MK_NULL"
if invalid…
The Sq3StmtHandleResolve undo the Sq3StmtHandleGet 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 Sq3StmtHandleGet |
"MK_NULL"
if netHdl is invalid Definition at line 255 of file Sq3StmtC_def_sq3.h.
Non-inline replacement for Sq3StmtHandleResolve …
get head-instance from linked-list of Sq3StmtS type …
The head-instance is the last instance created.
Definition at line 320 of file Sq3StmtC_def_sq3.h.
Non-inline replacement for Sq3StmtInstances …
get next instance from linked-list of Sq3StmtS type
Definition at line 327 of file Sq3StmtC_def_sq3.h.
Non-inline replacement for Sq3StmtNext …
get previous instance from linked-list of Sq3StmtS type
Definition at line 334 of file Sq3StmtC_def_sq3.h.
Non-inline replacement for Sq3StmtPrev …