Sq3ValueC - define the class … More...
Topics | |
Sq3ValueC_Class_Define_C_API | |
Sq3ValueC - low level definition, access and cast … | |
Macros | |
#define | Sq3GetValFromNat(_nat) |
helper for libsq3lite::Sq3ValueC_ObjNew … | |
Typedefs | |
typedef struct Sq3ValueS * | libsq3lite::SQ3_VAL |
class-shortcut for struct Sq3ValueS * , all shortcut using the XX_YYY syntax (only for public API) … | |
typedef const struct Sq3ValueS * | libsq3lite::SQ3_VALN |
class-shortcut for const struct Sq3ValueS * , all const shortcut using the XX_YYYC syntax (only for public API) … | |
typedef struct Sq3ValueS | libsq3lite::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 | libsq3lite::Sq3ValueC_ObjNew (sqlite3_value *hdl) |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl … | |
static SQ3_VAL | libsq3lite::Sq3ValueC_ObjCreate (sqlite3_value *hdl) |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl … | |
static MK_HDL | libsq3lite::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 | libsq3lite::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 | libsq3lite::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 | libsq3lite::Sq3ValueInstances_RT (MK_RT mkrt) |
get head-instance from linked-list of Sq3ValueS type … | |
static SQ3_VAL | libsq3lite::Sq3ValueNext (SQ3_VAL const val) |
get next instance from linked-list of Sq3ValueS type | |
static SQ3_VAL | libsq3lite::Sq3ValuePrev (SQ3_VAL const val) |
get previous instance from linked-list of Sq3ValueS type | |
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 libsq3lite::Sq3ValueC_ObjNew …
Definition at line 184 of file Sq3ValueC_def_sq3.h.
#define Sq3ValueHandleGet | ( | ... | ) |
Definition at line 686 of file sqlite3_overload_sq3.h.
#define Sq3ValueHandleGet_NULL | ( | ... | ) |
Definition at line 685 of file sqlite3_overload_sq3.h.
#define Sq3ValueHandleResolve | ( | ... | ) |
Definition at line 682 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 262 of file Sq3ValueC_def_sq3.h.
#define Sq3ValueHandleResolve_NULL | ( | ... | ) |
Definition at line 681 of file sqlite3_overload_sq3.h.
#define Sq3ValueInstances | ( | ) |
Definition at line 697 of file sqlite3_overload_sq3.h.
#define Sq3ValueInstances_NULL | ( | ) |
Definition at line 696 of file sqlite3_overload_sq3.h.
typedef struct Sq3ValueS* libsq3lite::SQ3_VAL |
class-shortcut for struct Sq3ValueS *
, all shortcut using the XX_YYY
syntax (only for public API) …
Definition at line 348 of file LibSq3Lite_sq3.h.
typedef const struct Sq3ValueS* libsq3lite::SQ3_VALN |
class-shortcut for const struct Sq3ValueS *
, all const shortcut using the XX_YYYC
syntax (only for public API) …
Definition at line 351 of file LibSq3Lite_sq3.h.
typedef struct Sq3ValueS libsq3lite::SQ3_VALR |
reference-shortcut for struct Sq3ValueS
, all shortcut using the XX_YYYR
syntax (only for public API) …
Definition at line 354 of file LibSq3Lite_sq3.h.
|
inlinestatic |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
Definition at line 207 of file Sq3ValueC_def_sq3.h.
|
inlinestatic |
return Programming-Language-Micro-Kernel (PLMK) instance from native hdl …
Definition at line 200 of file Sq3ValueC_def_sq3.h.
|
inlinestatic |
Null-Slot - return a Sq3ValueC typed NULL
instance …
Definition at line 287 of file Sq3ValueC_def_sq3.h.
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 229 of file Sq3ValueC_def_sq3.h.
|
inlinestatic |
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 246 of file Sq3ValueC_def_sq3.h.
get head-instance from linked-list of Sq3ValueS type …
The head-instance is the last instance created.
Definition at line 311 of file Sq3ValueC_def_sq3.h.
get next instance from linked-list of Sq3ValueS type
Definition at line 318 of file Sq3ValueC_def_sq3.h.
get previous instance from linked-list of Sq3ValueS type
Definition at line 325 of file Sq3ValueC_def_sq3.h.