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
Sq3BlobC_Class_Define_C_API

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

+ Collaboration diagram for Sq3BlobC_Class_Define_C_API:

Sq3BlobC - type definition

typedef struct Sq3BlobS Sq3BlobCR
 instance-struct-reference same as struct Sq3BlobS, useable in a class-macro as: class##R
 
typedef const struct Sq3BlobS Sq3BlobCNR
 const instance-struct-reference same as const struct Sq3BlobS, useable in a class-macro as: class##R
 
__thread MK_TYP Sq3BlobC_TT
 class as MkTypeDefS-class-type …
 
#define Sq3BlobC_T   ( (struct MkTypeDefS *) (Sq3BlobC_TT) )
 class as MkTypeDefS-class-type (cast from Sq3BlobC_TT into MkTypeS) …
 
#define Sq3BlobST   Sq3BlobC_T
 instance-type as MkTypeDefS-class-type …
 
#define Sq3BlobSTT   (MkTYP(Sq3BlobST))
 instance-type as MkTypeS-class-type (cast from Sq3BlobST into MkTypeS) …
 
#define Sq3BlobC_type   SQ3_BLOB
 same as Sq3BlobS but useable in a class-macro as: class##_type
 
#define Sq3BlobCT_X(instance)
 cast from an instance into the MkTypeDefS-class-type …
 
#define Sq3BlobCTT_X(instance)
 cast from an instance into the MkTypeS-class-type …
 
#define Sq3BlobCT_TT(typ)
 cast from an MkTypeS-class-type into an MkTypeDefS-class-type …
 
#define Sq3BlobC_NS   SQ3
 map class to namespace …
 
#define Sq3BlobCTT   Sq3BlobCTT
 class as MkTypeS-class-type for Sq3BlobC in the Target-Programming-Language (TPL)
 
#define Sq3BlobCT   ( (struct MkTypeDefS *) Sq3BlobCTT )
 class as MkTypeDefS-class-type for Sq3BlobC in the Target-Programming-Language (TPL)
 

Sq3BlobC - signature check

static bool Sq3BlobCheck (MK_MNGN mng)
 check Sq3BlobS -> MkObjectS::signature
 
static bool Sq3BlobCheckO (MK_OBJN obj)
 check Sq3BlobS -> MkObjectS::signature
 
#define Sq3BlobC_Check(mng)
 

Sq3BlobC - cast from a defined or a undefined instance

static SQ3_BLOB Sq3Blob (MK_MNG mng)
 cast a unknown-object into an Sq3BlobS pointer or NULL if not possible
 
static SQ3_BLOBN Sq3BlobN (MK_MNGN mng)
 (const) cast a unknown-object into an Sq3BlobS pointer or NULL if not possible
 
#define Sq3BlobRaise(_blob)
 raise an error if class-instance is not valid
 
#define Sq3BLOB_R(x)
 cast a known-object into an Sq3BlobS reference
 
#define Sq3BLOB(x)
 cast a known-object into an Sq3BlobS pointer
 

Sq3BlobC - Sq3BlobC_Class_Define_C_API - function

SQ3_BLOB Sq3BlobP (MK_MNG mng)
 Non-inline replacement for Sq3Blob
 
MK_BOOL Sq3BlobCheckP (MK_MNGN mng)
 Non-inline replacement for Sq3BlobCheck
 
MK_BOOL Sq3BlobCheckOP (MK_OBJN obj)
 Non-inline replacement for Sq3BlobCheckO
 
SQ3_BLOBN Sq3BlobNP (MK_MNGN mng)
 Non-inline replacement for Sq3BlobN
 

Sq3BlobC - signature define

#define Sq3BlobC_SIGNATURE   (MkObjectC_SIGNATURE ^ (20u<<10))
 
#define Sq3BlobC_MASK   (((1u<<22)-1)<<10)
 

Sq3BlobC - cast to superclass

#define Sq3BlobC_X2blob(x)
 
#define Sq3BlobC_X2obj(x)
 

Detailed Description

Sq3BlobC - low level definition, access and cast …

Macro Definition Documentation

◆ Sq3BLOB

#define Sq3BLOB ( x)
Value:
(&Sq3BLOB_R(x))
#define Sq3BLOB_R(x)
cast a known-object into an Sq3BlobS reference

cast a known-object into an Sq3BlobS pointer

Definition at line 171 of file Sq3BlobC_def_sq3.h.

◆ Sq3BLOB_R

#define Sq3BLOB_R ( x)
Value:
(*(x)).super.blob

cast a known-object into an Sq3BlobS reference

Definition at line 169 of file Sq3BlobC_def_sq3.h.

◆ Sq3BlobC_Check

#define Sq3BlobC_Check ( mng)
Value:
static bool Sq3BlobCheck(MK_MNGN mng)
check Sq3BlobS -> MkObjectS::signature …

Definition at line 138 of file Sq3BlobC_def_sq3.h.

◆ Sq3BlobC_MASK

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

Definition at line 68 of file Sq3BlobC_def_sq3.h.

◆ Sq3BlobC_NS

#define Sq3BlobC_NS   SQ3

map class to namespace …

Definition at line 106 of file Sq3BlobC_def_sq3.h.

◆ Sq3BlobC_SIGNATURE

#define Sq3BlobC_SIGNATURE   (MkObjectC_SIGNATURE ^ (20u<<10))

Definition at line 67 of file Sq3BlobC_def_sq3.h.

◆ Sq3BlobC_T

#define Sq3BlobC_T   ( (struct MkTypeDefS *) (Sq3BlobC_TT) )

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

Definition at line 92 of file Sq3BlobC_def_sq3.h.

◆ Sq3BlobC_type

#define Sq3BlobC_type   SQ3_BLOB

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

Definition at line 98 of file Sq3BlobC_def_sq3.h.

◆ Sq3BlobC_X2blob

#define Sq3BlobC_X2blob ( x)
Value:
(x)

Definition at line 76 of file Sq3BlobC_def_sq3.h.

◆ Sq3BlobC_X2obj

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

Definition at line 77 of file Sq3BlobC_def_sq3.h.

◆ Sq3BlobCT

#define Sq3BlobCT   ( (struct MkTypeDefS *) Sq3BlobCTT )

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

Definition at line 110 of file Sq3BlobC_def_sq3.h.

◆ Sq3BlobCT_TT

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

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

Definition at line 104 of file Sq3BlobC_def_sq3.h.

◆ Sq3BlobCT_X

#define Sq3BlobCT_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 100 of file Sq3BlobC_def_sq3.h.

◆ Sq3BlobCTT

#define Sq3BlobCTT   Sq3BlobCTT

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

Definition at line 108 of file Sq3BlobC_def_sq3.h.

◆ Sq3BlobCTT_X

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

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

Definition at line 102 of file Sq3BlobC_def_sq3.h.

◆ Sq3BlobRaise

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

raise an error if class-instance is not valid

Definition at line 163 of file Sq3BlobC_def_sq3.h.

163 #define Sq3BlobRaise(_blob) if (!_MkCheckX(Sq3BlobC,_blob)) { \
164 MkErrorSetC_1E("'Sq3BlobC' hdl is NULL"); \
165 goto error ; \
166 }

◆ Sq3BlobST

#define Sq3BlobST   Sq3BlobC_T

instance-type as MkTypeDefS-class-type …

Definition at line 94 of file Sq3BlobC_def_sq3.h.

◆ Sq3BlobSTT

#define Sq3BlobSTT   (MkTYP(Sq3BlobST))

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

Definition at line 96 of file Sq3BlobC_def_sq3.h.

Typedef Documentation

◆ Sq3BlobCNR

typedef const struct Sq3BlobS Sq3BlobCNR

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

Definition at line 88 of file Sq3BlobC_def_sq3.h.

◆ Sq3BlobCR

typedef struct Sq3BlobS Sq3BlobCR

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

Definition at line 86 of file Sq3BlobC_def_sq3.h.

Function Documentation

◆ Sq3Blob()

static SQ3_BLOB Sq3Blob ( MK_MNG mng)
inlinestatic

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

Definition at line 150 of file Sq3BlobC_def_sq3.h.

150 {
151 return (Sq3BlobCheck(mng) ? (SQ3_BLOB)mng : NULL);
152 }
Struct to represent the data of the Sq3BlobC …
+ Here is the caller graph for this function:

◆ Sq3BlobCheck()

static bool Sq3BlobCheck ( MK_MNGN mng)
inlinestatic

check Sq3BlobS -> MkObjectS::signature

Returns
TRUE on valid blob and FALSE an invalid blob

Definition at line 125 of file Sq3BlobC_def_sq3.h.

125 {
126 return MkSanitizeCheck(Sq3BlobC,mng);
127 }
#define MkSanitizeCheck(_root, _m)
+ Here is the caller graph for this function:

◆ Sq3BlobCheckO()

static bool Sq3BlobCheckO ( MK_OBJN obj)
inlinestatic

check Sq3BlobS -> MkObjectS::signature

Returns
TRUE on valid blob and FALSE an invalid blob

Definition at line 133 of file Sq3BlobC_def_sq3.h.

133 {
134 return MkSanitizeCheckO(Sq3BlobC,obj);
135 }
#define MkSanitizeCheckO(_root, _o)

◆ Sq3BlobCheckOP()

MK_BOOL Sq3BlobCheckOP ( MK_OBJN obj)

Non-inline replacement for Sq3BlobCheckO

◆ Sq3BlobCheckP()

MK_BOOL Sq3BlobCheckP ( MK_MNGN mng)

Non-inline replacement for Sq3BlobCheck

◆ Sq3BlobN()

static SQ3_BLOBN Sq3BlobN ( MK_MNGN mng)
inlinestatic

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

Definition at line 158 of file Sq3BlobC_def_sq3.h.

158 {
159 return (Sq3BlobCheck(mng) ? (SQ3_BLOBN)mng : NULL);
160 }

◆ Sq3BlobNP()

SQ3_BLOBN Sq3BlobNP ( MK_MNGN mng)

Non-inline replacement for Sq3BlobN

◆ Sq3BlobP()

SQ3_BLOB Sq3BlobP ( MK_MNG mng)

Non-inline replacement for Sq3Blob

Variable Documentation

◆ Sq3BlobC_TT

__thread MK_TYP Sq3BlobC_TT
extern

class as MkTypeDefS-class-type …