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

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

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

Macros

#define Sq3GetValFromNat(_nat)
 helper for Sq3ValueC_ObjNew
 
Sq3ValueC - signature define
#define Sq3ValueC_SIGNATURE   (MkObjectC_SIGNATURE ^ (18u<<10))
 
#define Sq3ValueC_MASK   (((1u<<22)-1)<<10)
 
Sq3ValueC - cast to superclass
#define Sq3ValueC_X2val(x)
 
#define Sq3ValueC_X2obj(x)
 

Functions

Sq3ValueC - Misc - function - unspecified functions to perform different tasks
static SQ3_VAL 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 Sq3ValueInstances_RT (MK_RT mkrt)
 get head-instance from linked-list of Sq3ValueS type …
 
static SQ3_VAL Sq3ValueNext (SQ3_VAL const val)
 get next instance from linked-list of Sq3ValueS type
 
static SQ3_VAL Sq3ValuePrev (SQ3_VAL const val)
 get previous instance from linked-list of Sq3ValueS type
 

Sq3ValueC - type definition

#define Sq3ValueC_T   ( (struct MkTypeDefS *) (Sq3ValueC_TT) )
 class as MkTypeDefS-class-type (cast from Sq3ValueC_TT into MkTypeS) …
 
#define Sq3ValueST   Sq3ValueC_T
 instance-type as MkTypeDefS-class-type …
 
#define Sq3ValueSTT   (MkTYP(Sq3ValueST))
 instance-type as MkTypeS-class-type (cast from Sq3ValueST into MkTypeS) …
 
#define Sq3ValueC_type   SQ3_VAL
 same as Sq3ValueS but useable in a class-macro as: class##_type
 
#define Sq3ValueCT_X(instance)
 cast from an instance into the MkTypeDefS-class-type …
 
#define Sq3ValueCTT_X(instance)
 cast from an instance into the MkTypeS-class-type …
 
#define Sq3ValueCT_TT(typ)
 cast from an MkTypeS-class-type into an MkTypeDefS-class-type …
 
#define Sq3ValueC_NS   SQ3
 map class to namespace …
 
#define Sq3ValueCTT   Sq3ValueCTT
 class as MkTypeS-class-type for Sq3ValueC in the Target-Programming-Language (TPL)
 
#define Sq3ValueCT   ( (struct MkTypeDefS *) Sq3ValueCTT )
 class as MkTypeDefS-class-type for Sq3ValueC in the Target-Programming-Language (TPL)
 
typedef struct Sq3ValueS Sq3ValueCR
 instance-struct-reference same as struct Sq3ValueS, useable in a class-macro as: class##R
 
typedef const struct Sq3ValueS Sq3ValueCNR
 const instance-struct-reference same as const struct Sq3ValueS, useable in a class-macro as: class##R
 
__thread MK_TYP Sq3ValueC_TT
 class as MkTypeDefS-class-type …
 

Sq3ValueC - signature check

#define Sq3ValueC_Check(mng)
 
static bool Sq3ValCheck (MK_MNGN mng)
 check Sq3ValueS -> MkObjectS::signature
 
static bool Sq3ValCheckO (MK_OBJN obj)
 check Sq3ValueS -> MkObjectS::signature
 

Sq3ValueC - cast from a defined or a undefined instance

#define Sq3ValRaise(_val)
 raise an error if class-instance is not valid
 
#define Sq3VAL_R(x)
 cast a known-object into an Sq3ValueS reference
 
#define Sq3VAL(x)
 cast a known-object into an Sq3ValueS pointer
 
static SQ3_VAL Sq3Val (MK_MNG mng)
 cast a unknown-object into an Sq3ValueS pointer or NULL if not possible
 
static SQ3_VALN Sq3ValN (MK_MNGN mng)
 (const) cast a unknown-object into an Sq3ValueS pointer or NULL if not possible
 

Sq3ValueC - Export - inline - interact with an external software

#define Sq3ValueHandleResolve_e(netHdl)
 wrapper for Sq3ValueHandleResolve with error-handline
 
static MK_ARTIFICIAL SQ3_VAL Sq3ValueC_ObjNew (sqlite3_value *hdl)
 return Programming-Language-Micro-Kernel (PLMK) instance from native hdl
 
static SQ3_VAL Sq3ValueC_ObjCreate (sqlite3_value *hdl)
 return Programming-Language-Micro-Kernel (PLMK) instance from native hdl
 
static MK_HDL 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 Sq3ValueHandleResolve_RT (MK_RT mkrt, MK_HDL const netHdl)
 Handle-Resolve-Slot - return a Sq3ValueC from netHdl or None if invalid…
 

Detailed Description

Sq3ValueC_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 Sq3ValueC_def_sq3.h.