theSq3Lite 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard - theLib - theATL
c - tcl - atl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
Sq3LiteC_def_sq3.h File Reference

Sq3LiteC_def_sq3.h - 10 Apr 2025 - aotto1968. More...

#include "LibSq3Lite_sq3.h"
+ Include dependency graph for Sq3LiteC_def_sq3.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Sq3LiteS
 Struct to represent the data of the Sq3LiteCMore...
 

Macros

#define Sq3GetLiteFromNat(_nat)
 helper for Sq3LiteC_ObjNew
 
Sq3LiteC - signature define
#define Sq3LiteC_SIGNATURE   (MkObjectC_SIGNATURE ^ (22u<<10))
 
#define Sq3LiteC_MASK   (((1u<<22)-1)<<10)
 
Sq3LiteC - cast to superclass
#define Sq3LiteC_X2lite(x)
 
#define Sq3LiteC_X2obj(x)
 

Functions

Sq3LiteC - Misc - function - unspecified functions to perform different tasks
static SQ3_LITE Sq3LiteGetNull (void)
 Null-Slot - return a Sq3LiteC typed NULL instance …
 
Sq3LiteC - Introspection - inline - access to all instances created by class starting with the last one
static SQ3_LITE Sq3LiteInstances_RT (MK_RT mkrt)
 get head-instance from linked-list of Sq3LiteS type …
 
static SQ3_LITE Sq3LiteNext (SQ3_LITE const lite)
 get next instance from linked-list of Sq3LiteS type
 
static SQ3_LITE Sq3LitePrev (SQ3_LITE const lite)
 get previous instance from linked-list of Sq3LiteS type
 

Sq3LiteC - type definition

#define Sq3LiteC_T   ( (struct MkTypeDefS *) (Sq3LiteC_TT) )
 class as MkTypeDefS-class-type (cast from Sq3LiteC_TT into MkTypeS) …
 
#define Sq3LiteST   Sq3LiteC_T
 instance-type as MkTypeDefS-class-type …
 
#define Sq3LiteSTT   (MkTYP(Sq3LiteST))
 instance-type as MkTypeS-class-type (cast from Sq3LiteST into MkTypeS) …
 
#define Sq3LiteC_type   SQ3_LITE
 same as Sq3LiteS but useable in a class-macro as: class##_type
 
#define Sq3LiteCT_X(instance)
 cast from an instance into the MkTypeDefS-class-type …
 
#define Sq3LiteCTT_X(instance)
 cast from an instance into the MkTypeS-class-type …
 
#define Sq3LiteCT_TT(typ)
 cast from an MkTypeS-class-type into an MkTypeDefS-class-type …
 
#define Sq3LiteC_NS   SQ3
 map class to namespace …
 
#define Sq3LiteCTT   Sq3LiteCTT
 class as MkTypeS-class-type for Sq3LiteC in the Target-Programming-Language (TPL)
 
#define Sq3LiteCT   ( (struct MkTypeDefS *) Sq3LiteCTT )
 class as MkTypeDefS-class-type for Sq3LiteC in the Target-Programming-Language (TPL)
 
typedef struct Sq3LiteS Sq3LiteCR
 instance-struct-reference same as struct Sq3LiteS, useable in a class-macro as: class##R
 
typedef const struct Sq3LiteS Sq3LiteCNR
 const instance-struct-reference same as const struct Sq3LiteS, useable in a class-macro as: class##R
 
__thread MK_TYP Sq3LiteC_TT
 class as MkTypeDefS-class-type …
 

Sq3LiteC - signature check

#define Sq3LiteC_Check(mng)
 
static bool Sq3LiteCheck (MK_MNGN mng)
 check Sq3LiteS -> MkObjectS::signature
 
static bool Sq3LiteCheckO (MK_OBJN obj)
 check Sq3LiteS -> MkObjectS::signature
 

Sq3LiteC - cast from a defined or a undefined instance

#define Sq3LiteRaise(_lite)
 raise an error if class-instance is not valid
 
#define Sq3LITE_R(x)
 cast a known-object into an Sq3LiteS reference
 
#define Sq3LITE(x)
 cast a known-object into an Sq3LiteS pointer
 
static SQ3_LITE Sq3Lite (MK_MNG mng)
 cast a unknown-object into an Sq3LiteS pointer or NULL if not possible
 
static SQ3_LITEN Sq3LiteN (MK_MNGN mng)
 (const) cast a unknown-object into an Sq3LiteS pointer or NULL if not possible
 

Sq3LiteC - Export - inline - interact with an external software

#define Sq3LiteHandleResolve_e(netHdl)
 wrapper for Sq3LiteHandleResolve with error-handline
 
static MK_ARTIFICIAL SQ3_LITE Sq3LiteC_ObjNew (sqlite3 *hdl)
 return Programming-Language-Micro-Kernel (PLMK) instance from native hdl
 
static SQ3_LITE Sq3LiteC_ObjCreate (sqlite3 *hdl)
 return Programming-Language-Micro-Kernel (PLMK) instance from native hdl
 
static MK_HDL Sq3LiteHandleGet_RT (MK_RT mkrt, SQ3_LITE const lite)
 Handle-Get-Slot - returns a export-hdl to the Sq3LiteC useable for external storage
 
static SQ3_LITE Sq3LiteHandleResolve_RT (MK_RT mkrt, MK_HDL const netHdl)
 Handle-Resolve-Slot - return a Sq3LiteC from netHdl or None if invalid…
 

Detailed Description

Sq3LiteC_def_sq3.h - 10 Apr 2025 - aotto1968.

Version
220e89cf9473580117e04029d678fcf7e7736959
Date
Thu Apr 10 14:00:03 2025 +0200
Author
aotto1968 aotto.nosp@m.1968.nosp@m.@t-on.nosp@m.line.nosp@m..de

Definition in file Sq3LiteC_def_sq3.h.