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
Sq3StmtC_Class_Define_C_API

Sq3StmtC - low level definition, access and cast … More...

+ Collaboration diagram for Sq3StmtC_Class_Define_C_API:

Sq3StmtC - type definition

typedef struct Sq3StmtS Sq3StmtCR
 instance-struct-reference same as struct Sq3StmtS, useable in a class-macro as: class##R
 
typedef const struct Sq3StmtS Sq3StmtCNR
 const instance-struct-reference same as const struct Sq3StmtS, useable in a class-macro as: class##R
 
__thread MK_TYP Sq3StmtC_TT
 class as MkTypeDefS-class-type …
 
#define Sq3StmtC_T   ( (struct MkTypeDefS *) (Sq3StmtC_TT) )
 class as MkTypeDefS-class-type (cast from Sq3StmtC_TT into MkTypeS) …
 
#define Sq3StmtST   Sq3StmtC_T
 instance-type as MkTypeDefS-class-type …
 
#define Sq3StmtSTT   (MkTYP(Sq3StmtST))
 instance-type as MkTypeS-class-type (cast from Sq3StmtST into MkTypeS) …
 
#define Sq3StmtC_type   SQ3_STMT
 same as Sq3StmtS but useable in a class-macro as: class##_type
 
#define Sq3StmtCT_X(instance)
 cast from an instance into the MkTypeDefS-class-type …
 
#define Sq3StmtCTT_X(instance)
 cast from an instance into the MkTypeS-class-type …
 
#define Sq3StmtCT_TT(typ)
 cast from an MkTypeS-class-type into an MkTypeDefS-class-type …
 
#define Sq3StmtC_NS   SQ3
 map class to namespace …
 
#define Sq3StmtCTT   Sq3StmtCTT
 class as MkTypeS-class-type for Sq3StmtC in the Target-Programming-Language (TPL)
 
#define Sq3StmtCT   ( (struct MkTypeDefS *) Sq3StmtCTT )
 class as MkTypeDefS-class-type for Sq3StmtC in the Target-Programming-Language (TPL)
 

Sq3StmtC - signature check

static bool Sq3StmtCheck (MK_MNGN mng)
 check Sq3StmtS -> MkObjectS::signature
 
static bool Sq3StmtCheckO (MK_OBJN obj)
 check Sq3StmtS -> MkObjectS::signature
 
#define Sq3StmtC_Check(mng)
 

Sq3StmtC - cast from a defined or a undefined instance

static SQ3_STMT Sq3Stmt (MK_MNG mng)
 cast a unknown-object into an Sq3StmtS pointer or NULL if not possible
 
static SQ3_STMTN Sq3StmtN (MK_MNGN mng)
 (const) cast a unknown-object into an Sq3StmtS pointer or NULL if not possible
 
#define Sq3StmtRaise(_stmt)
 raise an error if class-instance is not valid
 
#define Sq3STMT_R(x)
 cast a known-object into an Sq3StmtS reference
 
#define Sq3STMT(x)
 cast a known-object into an Sq3StmtS pointer
 

Sq3StmtC - Sq3StmtC_Class_Define_C_API - function

SQ3_STMT Sq3StmtP (MK_MNG mng)
 Non-inline replacement for Sq3Stmt
 
MK_BOOL Sq3StmtCheckP (MK_MNGN mng)
 Non-inline replacement for Sq3StmtCheck
 
MK_BOOL Sq3StmtCheckOP (MK_OBJN obj)
 Non-inline replacement for Sq3StmtCheckO
 
SQ3_STMTN Sq3StmtNP (MK_MNGN mng)
 Non-inline replacement for Sq3StmtN
 

Sq3StmtC - signature define

#define Sq3StmtC_SIGNATURE   (MkObjectC_SIGNATURE ^ (19u<<10))
 
#define Sq3StmtC_MASK   (((1u<<22)-1)<<10)
 

Sq3StmtC - cast to superclass

#define Sq3StmtC_X2stmt(x)
 
#define Sq3StmtC_X2obj(x)
 

Detailed Description

Sq3StmtC - low level definition, access and cast …

Macro Definition Documentation

◆ Sq3STMT

#define Sq3STMT ( x)
Value:
(&Sq3STMT_R(x))
#define Sq3STMT_R(x)
cast a known-object into an Sq3StmtS reference

cast a known-object into an Sq3StmtS pointer

Definition at line 177 of file Sq3StmtC_def_sq3.h.

◆ Sq3STMT_R

#define Sq3STMT_R ( x)
Value:
(*(x)).super.stmt

cast a known-object into an Sq3StmtS reference

Definition at line 175 of file Sq3StmtC_def_sq3.h.

◆ Sq3StmtC_Check

#define Sq3StmtC_Check ( mng)
Value:
static bool Sq3StmtCheck(MK_MNGN mng)
check Sq3StmtS -> MkObjectS::signature …

Definition at line 144 of file Sq3StmtC_def_sq3.h.

◆ Sq3StmtC_MASK

#define Sq3StmtC_MASK   (((1u<<22)-1)<<10)

Definition at line 74 of file Sq3StmtC_def_sq3.h.

◆ Sq3StmtC_NS

#define Sq3StmtC_NS   SQ3

map class to namespace …

Definition at line 112 of file Sq3StmtC_def_sq3.h.

◆ Sq3StmtC_SIGNATURE

#define Sq3StmtC_SIGNATURE   (MkObjectC_SIGNATURE ^ (19u<<10))

Definition at line 73 of file Sq3StmtC_def_sq3.h.

◆ Sq3StmtC_T

#define Sq3StmtC_T   ( (struct MkTypeDefS *) (Sq3StmtC_TT) )

class as MkTypeDefS-class-type (cast from Sq3StmtC_TT into MkTypeS) …

Definition at line 98 of file Sq3StmtC_def_sq3.h.

◆ Sq3StmtC_type

#define Sq3StmtC_type   SQ3_STMT

same as Sq3StmtS but useable in a class-macro as: class##_type

Definition at line 104 of file Sq3StmtC_def_sq3.h.

◆ Sq3StmtC_X2obj

#define Sq3StmtC_X2obj ( x)
Value:
#define MkOBJ(x)

Definition at line 83 of file Sq3StmtC_def_sq3.h.

◆ Sq3StmtC_X2stmt

#define Sq3StmtC_X2stmt ( x)
Value:
(x)

Definition at line 82 of file Sq3StmtC_def_sq3.h.

◆ Sq3StmtCT

#define Sq3StmtCT   ( (struct MkTypeDefS *) Sq3StmtCTT )

class as MkTypeDefS-class-type for Sq3StmtC in the Target-Programming-Language (TPL)

Definition at line 116 of file Sq3StmtC_def_sq3.h.

◆ Sq3StmtCT_TT

#define Sq3StmtCT_TT ( typ)
Value:
( (struct MkTypeDefS *) (typ) )
struct MkTypeS typ

cast from an MkTypeS-class-type into an MkTypeDefS-class-type …

Definition at line 110 of file Sq3StmtC_def_sq3.h.

◆ Sq3StmtCT_X

#define Sq3StmtCT_X ( instance)
Value:
( (struct MkTypeDefS *) (MkOBJ_R(instance).type) )
#define MkOBJ_R(x)

cast from an instance into the MkTypeDefS-class-type …

Definition at line 106 of file Sq3StmtC_def_sq3.h.

◆ Sq3StmtCTT

#define Sq3StmtCTT   Sq3StmtCTT

class as MkTypeS-class-type for Sq3StmtC in the Target-Programming-Language (TPL)

Definition at line 114 of file Sq3StmtC_def_sq3.h.

◆ Sq3StmtCTT_X

#define Sq3StmtCTT_X ( instance)
Value:
(MkOBJ_R(instance).type)

cast from an instance into the MkTypeS-class-type …

Definition at line 108 of file Sq3StmtC_def_sq3.h.

◆ Sq3StmtRaise

#define Sq3StmtRaise ( _stmt)
Value:
if (!_MkCheckX(Sq3StmtC,_stmt)) { \
MkErrorSetC_1E("'Sq3StmtC' hdl is NULL"); \
goto error ; \
}
#define _MkCheckX(cls, x)

raise an error if class-instance is not valid

Definition at line 169 of file Sq3StmtC_def_sq3.h.

169 #define Sq3StmtRaise(_stmt) if (!_MkCheckX(Sq3StmtC,_stmt)) { \
170 MkErrorSetC_1E("'Sq3StmtC' hdl is NULL"); \
171 goto error ; \
172 }

◆ Sq3StmtST

#define Sq3StmtST   Sq3StmtC_T

instance-type as MkTypeDefS-class-type …

Definition at line 100 of file Sq3StmtC_def_sq3.h.

◆ Sq3StmtSTT

#define Sq3StmtSTT   (MkTYP(Sq3StmtST))

instance-type as MkTypeS-class-type (cast from Sq3StmtST into MkTypeS) …

Definition at line 102 of file Sq3StmtC_def_sq3.h.

Typedef Documentation

◆ Sq3StmtCNR

typedef const struct Sq3StmtS Sq3StmtCNR

const instance-struct-reference same as const struct Sq3StmtS, useable in a class-macro as: class##R

Definition at line 94 of file Sq3StmtC_def_sq3.h.

◆ Sq3StmtCR

typedef struct Sq3StmtS Sq3StmtCR

instance-struct-reference same as struct Sq3StmtS, useable in a class-macro as: class##R

Definition at line 92 of file Sq3StmtC_def_sq3.h.

Function Documentation

◆ Sq3Stmt()

static SQ3_STMT Sq3Stmt ( MK_MNG mng)
inlinestatic

cast a unknown-object into an Sq3StmtS pointer or NULL if not possible

Definition at line 156 of file Sq3StmtC_def_sq3.h.

156 {
157 return (Sq3StmtCheck(mng) ? (SQ3_STMT)mng : NULL);
158 }
Struct to represent the data of the Sq3StmtC …
+ Here is the caller graph for this function:

◆ Sq3StmtCheck()

static bool Sq3StmtCheck ( MK_MNGN mng)
inlinestatic

check Sq3StmtS -> MkObjectS::signature

Returns
TRUE on valid stmt and FALSE an invalid stmt

Definition at line 131 of file Sq3StmtC_def_sq3.h.

131 {
132 return MkSanitizeCheck(Sq3StmtC,mng);
133 }
#define MkSanitizeCheck(_root, _m)
+ Here is the caller graph for this function:

◆ Sq3StmtCheckO()

static bool Sq3StmtCheckO ( MK_OBJN obj)
inlinestatic

check Sq3StmtS -> MkObjectS::signature

Returns
TRUE on valid stmt and FALSE an invalid stmt

Definition at line 139 of file Sq3StmtC_def_sq3.h.

139 {
140 return MkSanitizeCheckO(Sq3StmtC,obj);
141 }
#define MkSanitizeCheckO(_root, _o)

◆ Sq3StmtCheckOP()

MK_BOOL Sq3StmtCheckOP ( MK_OBJN obj)

Non-inline replacement for Sq3StmtCheckO

◆ Sq3StmtCheckP()

MK_BOOL Sq3StmtCheckP ( MK_MNGN mng)

Non-inline replacement for Sq3StmtCheck

◆ Sq3StmtN()

static SQ3_STMTN Sq3StmtN ( MK_MNGN mng)
inlinestatic

(const) cast a unknown-object into an Sq3StmtS pointer or NULL if not possible

Definition at line 164 of file Sq3StmtC_def_sq3.h.

164 {
165 return (Sq3StmtCheck(mng) ? (SQ3_STMTN)mng : NULL);
166 }

◆ Sq3StmtNP()

SQ3_STMTN Sq3StmtNP ( MK_MNGN mng)

Non-inline replacement for Sq3StmtN

◆ Sq3StmtP()

SQ3_STMT Sq3StmtP ( MK_MNG mng)

Non-inline replacement for Sq3Stmt

Variable Documentation

◆ Sq3StmtC_TT

__thread MK_TYP Sq3StmtC_TT
extern

class as MkTypeDefS-class-type …