theKernel 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - py - jv - cc
Loading...
Searching...
No Matches
MkTypeC_Class_Define_C_API

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

+ Collaboration diagram for MkTypeC_Class_Define_C_API:

MkTypeC - type definition

typedef struct MkTypeS libmkkernel::MkTypeCR
 instance-struct-reference same as struct MkTypeS, useable in a class-macro as: class##R
 
typedef const struct MkTypeS libmkkernel::MkTypeCNR
 const instance-struct-reference same as const struct MkTypeS, useable in a class-macro as: class##R
 
#define MkTypeSTT   (&MK_RT_REF._MkTypeC_TT)
 instance-type as MkTypeS-class-type
 
#define MkTypeC_TT   (&MK_RT_REF._MkTypeC_TT)
 class as MkTypeS-class-type, useable in a class-macro as: class##_TT
 
#define MkTypeC_type   MK_TYP
 same as MkTypeS but useable in a class-macro as: class##_type
 
#define MkTypeCT_X(instance)
 cast from an instance into the MkTypeS-class-type …
 
#define MkTypeCTT_X(instance)
 cast from an instance into the MkTypeS-class-type …
 
#define MkTypeCT_TT(typ)
 cast from an MkTypeS-class-type into an MkTypeS-class-type …
 
#define MkTypeC_NS   MK
 map class to namespace …
 
#define MkTypeCTT   MkTypeCTT
 class as MkTypeS-class-type for MkTypeC in the Target-Programming-Language (TPL)
 
#define MkTypeCT   ( (struct MkTypeS *) MkTypeCTT )
 class as MkTypeS-class-type for MkTypeC in the Target-Programming-Language (TPL)
 

MkTypeC - signature check

bool libmkkernel::MkTypCheck (MK_MNGN mng)
 check MkTypeS -> libmkkernel::MkObjectS::signature
 
bool libmkkernel::MkTypCheckO (MK_OBJN obj)
 check MkTypeS -> libmkkernel::MkObjectS::signature
 
#define MkTypeC_Check(mng)
 

MkTypeC - signature define

#define MkTypeC_SIGNATURE   (MkObjectC_SIGNATURE ^ (10u<<10))
 
#define MkTypeC_MASK   (((1u<<22)-1)<<10)
 

MkTypeC - cast to superclass

#define MkTypeC_X2typ(x)
 
#define MkTypeC_X2obj(x)
 

Detailed Description

MkTypeS - low level definition, access and cast …

Macro Definition Documentation

◆ MkTypeC_Check

#define MkTypeC_Check ( mng)
Value:
MkTypCheck(mng)

Definition at line 3702 of file LibMkKernel_mk.h.

◆ MkTypeC_MASK

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

Definition at line 3636 of file LibMkKernel_mk.h.

◆ MkTypeC_NS

#define MkTypeC_NS   MK

map class to namespace …

Definition at line 3671 of file LibMkKernel_mk.h.

◆ MkTypeC_SIGNATURE

#define MkTypeC_SIGNATURE   (MkObjectC_SIGNATURE ^ (10u<<10))

Definition at line 3635 of file LibMkKernel_mk.h.

◆ MkTypeC_TT

#define MkTypeC_TT   (&MK_RT_REF._MkTypeC_TT)

class as MkTypeS-class-type, useable in a class-macro as: class##_TT

Definition at line 3661 of file LibMkKernel_mk.h.

◆ MkTypeC_type

#define MkTypeC_type   MK_TYP

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

Definition at line 3663 of file LibMkKernel_mk.h.

◆ MkTypeC_X2obj

#define MkTypeC_X2obj ( x)
Value:
#define MkOBJ(x)
cast a known-object into an MkObjectS pointer

Definition at line 3645 of file LibMkKernel_mk.h.

◆ MkTypeC_X2typ

#define MkTypeC_X2typ ( x)
Value:
(x)

Definition at line 3644 of file LibMkKernel_mk.h.

◆ MkTypeCT

#define MkTypeCT   ( (struct MkTypeS *) MkTypeCTT )

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

Definition at line 3675 of file LibMkKernel_mk.h.

◆ MkTypeCT_TT

#define MkTypeCT_TT ( typ)
Value:
( (struct MkTypeS *) (typ) )

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

Definition at line 3669 of file LibMkKernel_mk.h.

◆ MkTypeCT_X

#define MkTypeCT_X ( instance)
Value:
( (struct MkTypeS *) (MkOBJ_R(instance).type) )
#define MkOBJ_R(x)
cast a known-object into an MkObjectS reference

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

Definition at line 3665 of file LibMkKernel_mk.h.

◆ MkTypeCTT

#define MkTypeCTT   MkTypeCTT

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

Definition at line 3673 of file LibMkKernel_mk.h.

◆ MkTypeCTT_X

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

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

Definition at line 3667 of file LibMkKernel_mk.h.

◆ MkTypeSTT

#define MkTypeSTT   (&MK_RT_REF._MkTypeC_TT)

instance-type as MkTypeS-class-type

Definition at line 3659 of file LibMkKernel_mk.h.

Typedef Documentation

◆ MkTypeCNR

typedef const struct MkTypeS libmkkernel::MkTypeCNR

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

Definition at line 3657 of file LibMkKernel_mk.h.

◆ MkTypeCR

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

Definition at line 3655 of file LibMkKernel_mk.h.

Function Documentation

◆ MkTypCheck()

bool libmkkernel::MkTypCheck ( MK_MNGN mng)
inline

check MkTypeS -> libmkkernel::MkObjectS::signature

Returns
TRUE on valid typ and FALSE an invalid typ

Definition at line 3690 of file LibMkKernel_mk.h.

3690 {
3691 return MkSanitizeCheck(MkTypeC,mng);
3692 }
#define MkSanitizeCheck(_root, _m)
+ Here is the caller graph for this function:

◆ MkTypCheckO()

bool libmkkernel::MkTypCheckO ( MK_OBJN obj)
inline

check MkTypeS -> libmkkernel::MkObjectS::signature

Returns
TRUE on valid typ and FALSE an invalid typ

Definition at line 3697 of file LibMkKernel_mk.h.

3697 {
3698 return MkSanitizeCheckO(MkTypeC,obj);
3699 }
#define MkSanitizeCheckO(_root, _o)