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
Sq3FileC_def_sq3.h File Reference

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

#include "LibSq3Lite_sq3.h"
+ Include dependency graph for Sq3FileC_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  Sq3FileS
 Struct to represent the data of the Sq3FileCMore...
 

Macros

#define Sq3GetFileFromNat(_nat)
 helper for Sq3FileC_ObjNew
 
Sq3FileC - signature define
#define Sq3FileC_SIGNATURE   (MkObjectC_SIGNATURE ^ (21u<<10))
 
#define Sq3FileC_MASK   (((1u<<22)-1)<<10)
 
Sq3FileC - cast to superclass
#define Sq3FileC_X2file(x)
 
#define Sq3FileC_X2obj(x)
 

Functions

Sq3FileC - Misc - function - unspecified functions to perform different tasks
static SQ3_FILE Sq3FileGetNull (void)
 Null-Slot - return a Sq3FileC typed NULL instance …
 
Sq3FileC - Introspection - inline - access to all instances created by class starting with the last one
static SQ3_FILE Sq3FileInstances_RT (MK_RT mkrt)
 get head-instance from linked-list of Sq3FileS type …
 
static SQ3_FILE Sq3FileNext (SQ3_FILE const file)
 get next instance from linked-list of Sq3FileS type
 
static SQ3_FILE Sq3FilePrev (SQ3_FILE const file)
 get previous instance from linked-list of Sq3FileS type
 

Sq3FileC - type definition

#define Sq3FileC_T   ( (struct MkTypeDefS *) (Sq3FileC_TT) )
 class as MkTypeDefS-class-type (cast from Sq3FileC_TT into MkTypeS) …
 
#define Sq3FileST   Sq3FileC_T
 instance-type as MkTypeDefS-class-type …
 
#define Sq3FileSTT   (MkTYP(Sq3FileST))
 instance-type as MkTypeS-class-type (cast from Sq3FileST into MkTypeS) …
 
#define Sq3FileC_type   SQ3_FILE
 same as Sq3FileS but useable in a class-macro as: class##_type
 
#define Sq3FileCT_X(instance)
 cast from an instance into the MkTypeDefS-class-type …
 
#define Sq3FileCTT_X(instance)
 cast from an instance into the MkTypeS-class-type …
 
#define Sq3FileCT_TT(typ)
 cast from an MkTypeS-class-type into an MkTypeDefS-class-type …
 
#define Sq3FileC_NS   SQ3
 map class to namespace …
 
#define Sq3FileCTT   Sq3FileCTT
 class as MkTypeS-class-type for Sq3FileC in the Target-Programming-Language (TPL)
 
#define Sq3FileCT   ( (struct MkTypeDefS *) Sq3FileCTT )
 class as MkTypeDefS-class-type for Sq3FileC in the Target-Programming-Language (TPL)
 
typedef struct Sq3FileS Sq3FileCR
 instance-struct-reference same as struct Sq3FileS, useable in a class-macro as: class##R
 
typedef const struct Sq3FileS Sq3FileCNR
 const instance-struct-reference same as const struct Sq3FileS, useable in a class-macro as: class##R
 
__thread MK_TYP Sq3FileC_TT
 class as MkTypeDefS-class-type …
 

Sq3FileC - signature check

#define Sq3FileC_Check(mng)
 
static bool Sq3FileCheck (MK_MNGN mng)
 check Sq3FileS -> MkObjectS::signature
 
static bool Sq3FileCheckO (MK_OBJN obj)
 check Sq3FileS -> MkObjectS::signature
 

Sq3FileC - cast from a defined or a undefined instance

#define Sq3FileRaise(_file)
 raise an error if class-instance is not valid
 
#define Sq3FILE_R(x)
 cast a known-object into an Sq3FileS reference
 
#define Sq3FILE(x)
 cast a known-object into an Sq3FileS pointer
 
static SQ3_FILE Sq3File (MK_MNG mng)
 cast a unknown-object into an Sq3FileS pointer or NULL if not possible
 
static SQ3_FILEN Sq3FileN (MK_MNGN mng)
 (const) cast a unknown-object into an Sq3FileS pointer or NULL if not possible
 

Sq3FileC - Export - inline - interact with an external software

#define Sq3FileHandleResolve_e(netHdl)
 wrapper for Sq3FileHandleResolve with error-handline
 
static MK_ARTIFICIAL SQ3_FILE Sq3FileC_ObjNew (sqlite3_file *hdl)
 return Programming-Language-Micro-Kernel (PLMK) instance from native hdl
 
static SQ3_FILE Sq3FileC_ObjCreate (sqlite3_file *hdl)
 return Programming-Language-Micro-Kernel (PLMK) instance from native hdl
 
static MK_HDL Sq3FileHandleGet_RT (MK_RT mkrt, SQ3_FILE const file)
 Handle-Get-Slot - returns a export-hdl to the Sq3FileC useable for external storage
 
static SQ3_FILE Sq3FileHandleResolve_RT (MK_RT mkrt, MK_HDL const netHdl)
 Handle-Resolve-Slot - return a Sq3FileC from netHdl or nil if invalid…
 

Detailed Description

Sq3FileC_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 Sq3FileC_def_sq3.h.