theKernel 10.0
Loading...
Searching...
No Matches
MkRtExtC_Class_Define_C_API

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

+ Collaboration diagram for MkRtExtC_Class_Define_C_API:

MkRtExtC - type definition

typedef struct MkRtExtS libmkkernel::MkRtExtCR
 instance-struct-reference same as struct MkRtExtS, useable in a class-macro as: class##R
 
typedef const struct MkRtExtS libmkkernel::MkRtExtCNR
 const instance-struct-reference same as const struct MkRtExtS, useable in a class-macro as: class##R
 
#define MkRtExtC_T   (&MK_RT_REF._MkRtExtC_T)
 class as MkTypeDefS-class-type, useable in a class-macro as: class##_T
 
#define MkRtExtC_TT   (MkTYP(MkRtExtC_T))
 class as MkTypeS-class-type, useable in a class-macro as: class##_TT
 
#define MkRtExtST   MkRtExtC_T
 instance-type as MkTypeDefS-class-type …
 
#define MkRtExtSTT   (MkTYP(MkRtExtST))
 instance-type as MkTypeS-class-type (cast from MkRtExtST into MkTypeS) …
 
#define MkRtExtC_type   MK_RTEXT
 same as MkRtExtS but useable in a class-macro as: class##_type
 
#define MkRtExtCT_X(instance)
 cast from an instance into the MkTypeDefS-class-type …
 
#define MkRtExtCTT_X(instance)
 cast from an instance into the MkTypeS-class-type …
 
#define MkRtExtCT_TT(typ)
 cast from an MkTypeS-class-type into an MkTypeDefS-class-type …
 
#define MkRtExtC_NS   MK
 map class to namespace …
 
#define MkRtExtCTT   MkRtExtCTT
 class as MkTypeS-class-type for MkRtExtC in the Target-Programming-Language (TPL)
 
#define MkRtExtCT   ( (struct MkTypeDefS *) MkRtExtCTT )
 class as MkTypeDefS-class-type for MkRtExtC in the Target-Programming-Language (TPL)
 

MkRtExtC - signature check

static bool libmkkernel::MkRtExtCheck (MK_MNGN mng)
 check MkRtExtS -> libmkkernel::MkObjectS::signature
 
static bool libmkkernel::MkRtExtCheckO (MK_OBJN obj)
 check MkRtExtS -> libmkkernel::MkObjectS::signature
 
#define MkRtExtC_Check(mng)
 

MkRtExtC - cast from a defined or a undefined instance

static MK_RTEXT libmkkernel::MkRtExt (MK_MNG mng)
 cast a unknown-object into an MkRtExtS pointer or NULL if not possible
 
static MK_RTEXTN libmkkernel::MkRtExtN (MK_MNGN mng)
 (const) cast a unknown-object into an MkRtExtS pointer or NULL if not possible
 
#define MkRtExtRaise(_rtext)
 raise an error if class-instance is not valid
 
#define MkRTEXT_R(x)
 cast a known-object into an MkRtExtS reference
 
#define MkRTEXT(x)
 cast a known-object into an MkRtExtS pointer
 

MkRtExtC - signature define

#define MkRtExtC_SIGNATURE   (MkExtensionC_SIGNATURE ^ (2u<<6))
 
#define MkRtExtC_MASK   (((1u<<26)-1)<<6)
 

MkRtExtC - cast to superclass

#define MkRtExtC_X2rtext(x)
 
#define MkRtExtC_X2ext(x)
 
#define MkRtExtC_X2obj(x)
 

Detailed Description

MkRtExtS - low level definition, access and cast …

Macro Definition Documentation

◆ MkRTEXT

#define MkRTEXT ( x)
Value:
(&MkRTEXT_R(x))
#define MkRTEXT_R(x)
cast a known-object into an MkRtExtS reference

cast a known-object into an MkRtExtS pointer

Definition at line 11951 of file LibMkKernel_mk.h.

◆ MkRTEXT_R

#define MkRTEXT_R ( x)
Value:
(*(x)).super.rtext

cast a known-object into an MkRtExtS reference

Definition at line 11949 of file LibMkKernel_mk.h.

◆ MkRtExtC_Check

#define MkRtExtC_Check ( mng)
Value:
MkRtExtCheck(mng)

Definition at line 11918 of file LibMkKernel_mk.h.

◆ MkRtExtC_MASK

#define MkRtExtC_MASK   (((1u<<26)-1)<<6)

Definition at line 11847 of file LibMkKernel_mk.h.

◆ MkRtExtC_NS

#define MkRtExtC_NS   MK

map class to namespace …

Definition at line 11886 of file LibMkKernel_mk.h.

◆ MkRtExtC_SIGNATURE

#define MkRtExtC_SIGNATURE   (MkExtensionC_SIGNATURE ^ (2u<<6))

Definition at line 11846 of file LibMkKernel_mk.h.

◆ MkRtExtC_T

#define MkRtExtC_T   (&MK_RT_REF._MkRtExtC_T)

class as MkTypeDefS-class-type, useable in a class-macro as: class##_T

Definition at line 11870 of file LibMkKernel_mk.h.

◆ MkRtExtC_TT

#define MkRtExtC_TT   (MkTYP(MkRtExtC_T))

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

Definition at line 11872 of file LibMkKernel_mk.h.

◆ MkRtExtC_type

#define MkRtExtC_type   MK_RTEXT

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

Definition at line 11878 of file LibMkKernel_mk.h.

◆ MkRtExtC_X2ext

#define MkRtExtC_X2ext ( x)
Value:
#define MkEXT(x)
cast a known-object into an MkExtensionS pointer

Definition at line 11856 of file LibMkKernel_mk.h.

◆ MkRtExtC_X2obj

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

Definition at line 11857 of file LibMkKernel_mk.h.

◆ MkRtExtC_X2rtext

#define MkRtExtC_X2rtext ( x)
Value:
(x)

Definition at line 11855 of file LibMkKernel_mk.h.

◆ MkRtExtCT

#define MkRtExtCT   ( (struct MkTypeDefS *) MkRtExtCTT )

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

Definition at line 11890 of file LibMkKernel_mk.h.

◆ MkRtExtCT_TT

#define MkRtExtCT_TT ( typ)
Value:
( (struct MkTypeDefS *) (typ) )

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

Definition at line 11884 of file LibMkKernel_mk.h.

◆ MkRtExtCT_X

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

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

Definition at line 11880 of file LibMkKernel_mk.h.

◆ MkRtExtCTT

#define MkRtExtCTT   MkRtExtCTT

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

Definition at line 11888 of file LibMkKernel_mk.h.

◆ MkRtExtCTT_X

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

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

Definition at line 11882 of file LibMkKernel_mk.h.

◆ MkRtExtRaise

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

raise an error if class-instance is not valid

Definition at line 11943 of file LibMkKernel_mk.h.

11943// MkRtExtC_Class_Define_C_API
11944
11945// END-MkRtExtS-Definition - created by 'c_Class.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
11946

◆ MkRtExtST

#define MkRtExtST   MkRtExtC_T

instance-type as MkTypeDefS-class-type …

Definition at line 11874 of file LibMkKernel_mk.h.

◆ MkRtExtSTT

#define MkRtExtSTT   (MkTYP(MkRtExtST))

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

Definition at line 11876 of file LibMkKernel_mk.h.

Typedef Documentation

◆ MkRtExtCNR

typedef const struct MkRtExtS libmkkernel::MkRtExtCNR

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

Definition at line 11868 of file LibMkKernel_mk.h.

◆ MkRtExtCR

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

Definition at line 11866 of file LibMkKernel_mk.h.

Function Documentation

◆ MkRtExt()

static MK_RTEXT libmkkernel::MkRtExt ( MK_MNG mng)
inlinestatic

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

Definition at line 11930 of file LibMkKernel_mk.h.

◆ MkRtExtCheck()

static bool libmkkernel::MkRtExtCheck ( MK_MNGN mng)
inlinestatic

check MkRtExtS -> libmkkernel::MkObjectS::signature

Returns
TRUE on valid rtext and FALSE an invalid rtext

Definition at line 11905 of file LibMkKernel_mk.h.

+ Here is the caller graph for this function:

◆ MkRtExtCheckO()

static bool libmkkernel::MkRtExtCheckO ( MK_OBJN obj)
inlinestatic

check MkRtExtS -> libmkkernel::MkObjectS::signature

Returns
TRUE on valid rtext and FALSE an invalid rtext

Definition at line 11913 of file LibMkKernel_mk.h.

◆ MkRtExtN()

static MK_RTEXTN libmkkernel::MkRtExtN ( MK_MNGN mng)
inlinestatic

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

Definition at line 11938 of file LibMkKernel_mk.h.