theKernel 10.0
Loading...
Searching...
No Matches
MkLogFileC_Class_Define_C_API

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

+ Collaboration diagram for MkLogFileC_Class_Define_C_API:

MkLogFileC - type definition

typedef struct MkLogFileS libmkkernel::MkLogFileCR
 instance-struct-reference same as struct MkLogFileS, useable in a class-macro as: class##R
 
typedef const struct MkLogFileS libmkkernel::MkLogFileCNR
 const instance-struct-reference same as const struct MkLogFileS, useable in a class-macro as: class##R
 
#define MkLogFileC_T   (&MK_RT_REF._MkLogFileC_T)
 class as MkTypeDefS-class-type, useable in a class-macro as: class##_T
 
#define MkLogFileC_TT   (MkTYP(MkLogFileC_T))
 class as MkTypeS-class-type, useable in a class-macro as: class##_TT
 
#define MkLogFileST   MkLogFileC_T
 instance-type as MkTypeDefS-class-type …
 
#define MkLogFileSTT   (MkTYP(MkLogFileST))
 instance-type as MkTypeS-class-type (cast from MkLogFileST into MkTypeS) …
 
#define MkLogFileC_type   MK_LFL
 same as MkLogFileS but useable in a class-macro as: class##_type
 
#define MkLogFileCT_X(instance)
 cast from an instance into the MkTypeDefS-class-type …
 
#define MkLogFileCTT_X(instance)
 cast from an instance into the MkTypeS-class-type …
 
#define MkLogFileCT_TT(typ)
 cast from an MkTypeS-class-type into an MkTypeDefS-class-type …
 
#define MkLogFileC_NS   MK
 map class to namespace …
 
#define MkLogFileCTT   MkLogFileCTT
 class as MkTypeS-class-type for MkLogFileC in the Target-Programming-Language (TPL)
 
#define MkLogFileCT   ( (struct MkTypeDefS *) MkLogFileCTT )
 class as MkTypeDefS-class-type for MkLogFileC in the Target-Programming-Language (TPL)
 

MkLogFileC - signature check

static bool libmkkernel::MkLflCheck (MK_MNGN mng)
 check MkLogFileS -> libmkkernel::MkObjectS::signature
 
static bool libmkkernel::MkLflCheckO (MK_OBJN obj)
 check MkLogFileS -> libmkkernel::MkObjectS::signature
 
#define MkLogFileC_Check(mng)
 

MkLogFileC - cast from a defined or a undefined instance

static MK_LFL libmkkernel::MkLfl (MK_MNG mng)
 cast a unknown-object into an MkLogFileS pointer or NULL if not possible
 
static MK_LFLN libmkkernel::MkLflN (MK_MNGN mng)
 (const) cast a unknown-object into an MkLogFileS pointer or NULL if not possible
 
#define MkLflRaise(_lfl)
 raise an error if class-instance is not valid
 
#define MkLFL_R(x)
 cast a known-object into an MkLogFileS reference
 
#define MkLFL(x)
 cast a known-object into an MkLogFileS pointer
 

MkLogFileC - signature define

#define MkLogFileC_SIGNATURE   (MkObjectC_SIGNATURE ^ (3u<<10))
 
#define MkLogFileC_MASK   (((1u<<22)-1)<<10)
 

MkLogFileC - cast to superclass

#define MkLogFileC_X2lfl(x)
 
#define MkLogFileC_X2obj(x)
 

Detailed Description

MkLogFileC - low level definition, access and cast …

Macro Definition Documentation

◆ MkLFL

#define MkLFL ( x)
Value:
(&MkLFL_R(x))
#define MkLFL_R(x)
cast a known-object into an MkLogFileS reference

cast a known-object into an MkLogFileS pointer

Definition at line 9252 of file LibMkKernel_mk.h.

◆ MkLFL_R

#define MkLFL_R ( x)
Value:
(*(x)).super.lfl

cast a known-object into an MkLogFileS reference

Definition at line 9250 of file LibMkKernel_mk.h.

◆ MkLflRaise

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

raise an error if class-instance is not valid

Definition at line 9244 of file LibMkKernel_mk.h.

9244// MkLogFileC_Class_Define_C_API
9245
9246// END-MkLogFileS-Definition - created by 'c_Class.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
9247

◆ MkLogFileC_Check

#define MkLogFileC_Check ( mng)
Value:
MkLflCheck(mng)

Definition at line 9219 of file LibMkKernel_mk.h.

◆ MkLogFileC_MASK

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

Definition at line 9149 of file LibMkKernel_mk.h.

◆ MkLogFileC_NS

#define MkLogFileC_NS   MK

map class to namespace …

Definition at line 9187 of file LibMkKernel_mk.h.

◆ MkLogFileC_SIGNATURE

#define MkLogFileC_SIGNATURE   (MkObjectC_SIGNATURE ^ (3u<<10))

Definition at line 9148 of file LibMkKernel_mk.h.

◆ MkLogFileC_T

#define MkLogFileC_T   (&MK_RT_REF._MkLogFileC_T)

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

Definition at line 9171 of file LibMkKernel_mk.h.

◆ MkLogFileC_TT

#define MkLogFileC_TT   (MkTYP(MkLogFileC_T))

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

Definition at line 9173 of file LibMkKernel_mk.h.

◆ MkLogFileC_type

#define MkLogFileC_type   MK_LFL

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

Definition at line 9179 of file LibMkKernel_mk.h.

◆ MkLogFileC_X2lfl

#define MkLogFileC_X2lfl ( x)
Value:
(x)

Definition at line 9157 of file LibMkKernel_mk.h.

◆ MkLogFileC_X2obj

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

Definition at line 9158 of file LibMkKernel_mk.h.

◆ MkLogFileCT

#define MkLogFileCT   ( (struct MkTypeDefS *) MkLogFileCTT )

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

Definition at line 9191 of file LibMkKernel_mk.h.

◆ MkLogFileCT_TT

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

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

Definition at line 9185 of file LibMkKernel_mk.h.

◆ MkLogFileCT_X

#define MkLogFileCT_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 9181 of file LibMkKernel_mk.h.

◆ MkLogFileCTT

#define MkLogFileCTT   MkLogFileCTT

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

Definition at line 9189 of file LibMkKernel_mk.h.

◆ MkLogFileCTT_X

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

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

Definition at line 9183 of file LibMkKernel_mk.h.

◆ MkLogFileST

#define MkLogFileST   MkLogFileC_T

instance-type as MkTypeDefS-class-type …

Definition at line 9175 of file LibMkKernel_mk.h.

◆ MkLogFileSTT

#define MkLogFileSTT   (MkTYP(MkLogFileST))

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

Definition at line 9177 of file LibMkKernel_mk.h.

Typedef Documentation

◆ MkLogFileCNR

typedef const struct MkLogFileS libmkkernel::MkLogFileCNR

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

Definition at line 9169 of file LibMkKernel_mk.h.

◆ MkLogFileCR

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

Definition at line 9167 of file LibMkKernel_mk.h.

Function Documentation

◆ MkLfl()

static MK_LFL libmkkernel::MkLfl ( MK_MNG mng)
inlinestatic

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

Definition at line 9231 of file LibMkKernel_mk.h.

◆ MkLflCheck()

static bool libmkkernel::MkLflCheck ( MK_MNGN mng)
inlinestatic

check MkLogFileS -> libmkkernel::MkObjectS::signature

Returns
TRUE on valid lfl and FALSE an invalid lfl

Definition at line 9206 of file LibMkKernel_mk.h.

+ Here is the caller graph for this function:

◆ MkLflCheckO()

static bool libmkkernel::MkLflCheckO ( MK_OBJN obj)
inlinestatic

check MkLogFileS -> libmkkernel::MkObjectS::signature

Returns
TRUE on valid lfl and FALSE an invalid lfl

Definition at line 9214 of file LibMkKernel_mk.h.

◆ MkLflN()

static MK_LFLN libmkkernel::MkLflN ( MK_MNGN mng)
inlinestatic

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

Definition at line 9239 of file LibMkKernel_mk.h.