theKernel 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - py - rb - 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 MkTypeCR
 instance-struct-reference same as struct MkTypeS, useable in a class-macro as: class##R
 
typedef const struct MkTypeS 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 MkTypCheck (MK_MNGN mng)
 check MkTypeS -> MkObjectS::signature
 
bool MkTypCheckO (MK_OBJN obj)
 check MkTypeS -> 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:
bool MkTypCheck(MK_MNGN mng)
check MkTypeS -> MkObjectS::signature …

Definition at line 3728 of file LibMkKernel_mk.h.

◆ MkTypeC_MASK

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

Definition at line 3660 of file LibMkKernel_mk.h.

◆ MkTypeC_NS

#define MkTypeC_NS   MK

map class to namespace …

Definition at line 3695 of file LibMkKernel_mk.h.

◆ MkTypeC_SIGNATURE

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

Definition at line 3659 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 3685 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 3687 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 3669 of file LibMkKernel_mk.h.

◆ MkTypeC_X2typ

#define MkTypeC_X2typ ( x)
Value:
(x)

Definition at line 3668 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 3699 of file LibMkKernel_mk.h.

◆ MkTypeCT_TT

#define MkTypeCT_TT ( typ)
Value:
( (struct MkTypeS *) (typ) )
MkTypeS - class known as typ or type is used as class-base for a Managed-Object-Technology (MOT) type...

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

Definition at line 3693 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 3689 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 3697 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 3691 of file LibMkKernel_mk.h.

◆ MkTypeSTT

#define MkTypeSTT   (&MK_RT_REF._MkTypeC_TT)

instance-type as MkTypeS-class-type

Definition at line 3683 of file LibMkKernel_mk.h.

Typedef Documentation

◆ MkTypeCNR

typedef const struct MkTypeS MkTypeCNR

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

Definition at line 3681 of file LibMkKernel_mk.h.

◆ MkTypeCR

typedef struct MkTypeS MkTypeCR

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

Definition at line 3679 of file LibMkKernel_mk.h.

Function Documentation

◆ MkTypCheck()

bool MkTypCheck ( MK_MNGN mng)
inline

check MkTypeS -> MkObjectS::signature

Returns
TRUE on valid typ and FALSE an invalid typ

Definition at line 3715 of file LibMkKernel_mk.h.

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

◆ MkTypCheckO()

bool MkTypCheckO ( MK_OBJN obj)
inline

check MkTypeS -> MkObjectS::signature

Returns
TRUE on valid typ and FALSE an invalid typ

Definition at line 3723 of file LibMkKernel_mk.h.

3723 {
3724 return MkSanitizeCheckO(MkTypeC,obj);
3725 }
#define MkSanitizeCheckO(_root, _o)