MkObjectC - low level definition, access and cast … More...
MkObjectC - type definition | |
typedef struct MkObjectS | MkObjectCR |
instance-struct-reference same as struct MkObjectS , useable in a class-macro as: class##R … | |
typedef const struct MkObjectS | MkObjectCNR |
const instance-struct-reference same as const struct MkObjectS , useable in a class-macro as: class##R … | |
#define | MkObjectC_T (&MK_RT_REF._MkObjectC_T) |
class as MkSuperTypeS-class-type, useable in a class-macro as: class##_T … | |
#define | MkObjectC_TT (MkTYP(MkObjectC_T)) |
class as MkTypeS-class-type, useable in a class-macro as: class##_TT … | |
#define | MkObjectST MkObjectC_T |
instance-type as MkSuperTypeS-class-type … | |
#define | MkObjectSTT (MkTYP(MkObjectST)) |
instance-type as MkTypeS-class-type (cast from MkObjectST into MkTypeS ) … | |
#define | MkObjectC_type MK_OBJ |
same as MkObjectS but useable in a class-macro as: class##_type … | |
#define | MkObjectCT_X(instance) |
cast from an instance into the MkSuperTypeS-class-type … | |
#define | MkObjectCTT_X(instance) |
cast from an instance into the MkTypeS-class-type … | |
#define | MkObjectCT_TT(typ) |
cast from an MkTypeS-class-type into an MkSuperTypeS-class-type … | |
#define | MkObjectC_NS MK |
map class to namespace … | |
#define | MkObjectCTT MkObjectCTT |
class as MkTypeS-class-type for MkObjectC in the Target-Programming-Language (TPL) … | |
#define | MkObjectCT ( (struct MkSuperTypeS *) MkObjectCTT ) |
class as MkSuperTypeS-class-type for MkObjectC in the Target-Programming-Language (TPL) … | |
MkObjectC - signature check | |
bool | MkObjCheck (MK_MNGN mng) |
check MkObjectS -> MkObjectS::signature … | |
bool | MkObjCheckO (MK_OBJN obj) |
check MkObjectS -> MkObjectS::signature … | |
#define | MkObjectC_Check(mng) |
MkObjectC - cast from a defined or a undefined instance | |
MK_OBJ | MkObj (MK_MNG mng) |
cast a unknown-object into an MkObjectS pointer or NULL if not possible | |
MK_OBJN | MkObjN (MK_MNGN mng) |
(const) cast a unknown-object into an MkObjectS pointer or NULL if not possible | |
#define | MkObjRaise(_obj) |
raise an error if class-instance is not valid | |
#define | MkOBJ_R(x) |
cast a known-object into an MkObjectS reference | |
#define | MkOBJ(x) |
cast a known-object into an MkObjectS pointer | |
MkObjectC - MkObjectC_Class_Define_C_API - function | |
MK_EXTERN MK_OBJ | MkObjP (MK_MNG mng) |
Non-inline replacement for MkObj … | |
MK_EXTERN MK_BOOL | MkObjCheckP (MK_MNGN mng) |
Non-inline replacement for MkObjCheck … | |
MK_EXTERN MK_BOOL | MkObjCheckOP (MK_OBJN obj) |
Non-inline replacement for MkObjCheckO … | |
MK_EXTERN MK_OBJN | MkObjNP (MK_MNGN mng) |
Non-inline replacement for MkObjN … | |
MkObjectC - signature define | |
#define | MkObjectC_SIGNATURE (0x59B3u<<16) |
#define | MkObjectC_MASK (((1u<<16)-1)<<16) |
MkObjectC - cast to superclass | |
#define | MkObjectC_X2obj(x) |
MkObjectC - low level definition, access and cast …
#define MkOBJ | ( | x | ) |
cast a known-object into an MkObjectS pointer
Definition at line 3283 of file LibMkKernel_mk.h.
#define MkOBJ_R | ( | x | ) |
cast a known-object into an MkObjectS reference
Definition at line 3281 of file LibMkKernel_mk.h.
#define MkObjectC_Check | ( | mng | ) |
Definition at line 3249 of file LibMkKernel_mk.h.
#define MkObjectC_MASK (((1u<<16)-1)<<16) |
Definition at line 3178 of file LibMkKernel_mk.h.
#define MkObjectC_NS MK |
map class to namespace …
Definition at line 3216 of file LibMkKernel_mk.h.
#define MkObjectC_SIGNATURE (0x59B3u<<16) |
Definition at line 3177 of file LibMkKernel_mk.h.
#define MkObjectC_T (&MK_RT_REF._MkObjectC_T) |
class as MkSuperTypeS-class-type, useable in a class-macro as: class##_T
…
Definition at line 3200 of file LibMkKernel_mk.h.
#define MkObjectC_TT (MkTYP(MkObjectC_T)) |
class as MkTypeS-class-type, useable in a class-macro as: class##_TT
…
Definition at line 3202 of file LibMkKernel_mk.h.
#define MkObjectC_type MK_OBJ |
same as MkObjectS but useable in a class-macro as: class##_type
…
Definition at line 3208 of file LibMkKernel_mk.h.
#define MkObjectC_X2obj | ( | x | ) |
Definition at line 3186 of file LibMkKernel_mk.h.
#define MkObjectCT ( (struct MkSuperTypeS *) MkObjectCTT ) |
class as MkSuperTypeS-class-type for MkObjectC
in the Target-Programming-Language (TPL) …
Definition at line 3220 of file LibMkKernel_mk.h.
#define MkObjectCT_TT | ( | typ | ) |
cast from an MkTypeS-class-type into an MkSuperTypeS-class-type …
Definition at line 3214 of file LibMkKernel_mk.h.
#define MkObjectCT_X | ( | instance | ) |
cast from an instance into the MkSuperTypeS-class-type …
Definition at line 3210 of file LibMkKernel_mk.h.
#define MkObjectCTT MkObjectCTT |
class as MkTypeS-class-type for MkObjectC
in the Target-Programming-Language (TPL) …
Definition at line 3218 of file LibMkKernel_mk.h.
#define MkObjectCTT_X | ( | instance | ) |
cast from an instance into the MkTypeS-class-type …
Definition at line 3212 of file LibMkKernel_mk.h.
#define MkObjectST MkObjectC_T |
instance-type as MkSuperTypeS-class-type …
Definition at line 3204 of file LibMkKernel_mk.h.
#define MkObjectSTT (MkTYP(MkObjectST)) |
instance-type as MkTypeS-class-type (cast from MkObjectST
into MkTypeS
) …
Definition at line 3206 of file LibMkKernel_mk.h.
#define MkObjRaise | ( | _obj | ) |
raise an error if class-instance is not valid
Definition at line 3275 of file LibMkKernel_mk.h.
typedef const struct MkObjectS MkObjectCNR |
const instance-struct-reference same as const struct MkObjectS
, useable in a class-macro as: class##R
…
Definition at line 3198 of file LibMkKernel_mk.h.
typedef struct MkObjectS MkObjectCR |
instance-struct-reference same as struct MkObjectS
, useable in a class-macro as: class##R
…
Definition at line 3196 of file LibMkKernel_mk.h.
cast a unknown-object into an MkObjectS pointer or NULL if not possible
Definition at line 3262 of file LibMkKernel_mk.h.
|
inline |
check MkObjectS -> MkObjectS::signature …
Definition at line 3236 of file LibMkKernel_mk.h.
|
inline |
check MkObjectS -> MkObjectS::signature …
Definition at line 3244 of file LibMkKernel_mk.h.
Non-inline replacement for MkObjCheckO …
Non-inline replacement for MkObjCheck …
(const) cast a unknown-object into an MkObjectS pointer or NULL if not possible
Definition at line 3270 of file LibMkKernel_mk.h.