theKernel 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard - theLib
c - tcl - atl - cs - py - rb - jv - cc
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 MkLogFileCR
 instance-struct-reference same as struct MkLogFileS, useable in a class-macro as: class##R
 
typedef const struct MkLogFileS 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 MkLflCheck (MK_MNGN mng)
 check MkLogFileS -> MkObjectS::signature
 
static bool MkLflCheckO (MK_OBJN obj)
 check MkLogFileS -> MkObjectS::signature
 
#define MkLogFileC_Check(mng)
 

MkLogFileC - cast from a defined or a undefined instance

static MK_LFL MkLfl (MK_MNG mng)
 cast a unknown-object into an MkLogFileS pointer or NULL if not possible
 
static MK_LFLN 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 - MkLogFileC_Class_Define_C_API - function

MK_LFL MkLflP (MK_MNG mng)
 Non-inline replacement for MkLfl
 
MK_BOOL MkLflCheckP (MK_MNGN mng)
 Non-inline replacement for MkLflCheck
 
MK_BOOL MkLflCheckOP (MK_OBJN obj)
 Non-inline replacement for MkLflCheckO
 
MK_LFLN MkLflNP (MK_MNGN mng)
 Non-inline replacement for MkLflN
 

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 9240 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 9238 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 9232 of file LibMkKernel_mk.h.

9232 #define MkLflRaise(_lfl) if (!_MkCheckX(MkLogFileC,_lfl)) { \
9233 MkErrorSetC_1E("'MkLogFileC' hdl is NULL"); \
9234 goto error ; \
9235 }

◆ MkLogFileC_Check

#define MkLogFileC_Check ( mng)
Value:
static bool MkLflCheck(MK_MNGN mng)
check MkLogFileS -> MkObjectS::signature …

Definition at line 9207 of file LibMkKernel_mk.h.

◆ MkLogFileC_MASK

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

Definition at line 9137 of file LibMkKernel_mk.h.

◆ MkLogFileC_NS

#define MkLogFileC_NS   MK

map class to namespace …

Definition at line 9175 of file LibMkKernel_mk.h.

◆ MkLogFileC_SIGNATURE

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

Definition at line 9136 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 9159 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 9161 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 9167 of file LibMkKernel_mk.h.

◆ MkLogFileC_X2lfl

#define MkLogFileC_X2lfl ( x)
Value:
(x)

Definition at line 9145 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 9146 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 9179 of file LibMkKernel_mk.h.

◆ MkLogFileCT_TT

#define MkLogFileCT_TT ( typ)
Value:
( (struct MkTypeDefS *) (typ) )
super-class-base, the MkTypeS using the super-macro-syntax for all non specific types …
struct MkTypeS typ

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

Definition at line 9173 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 9169 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 9177 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 9171 of file LibMkKernel_mk.h.

◆ MkLogFileST

#define MkLogFileST   MkLogFileC_T

instance-type as MkTypeDefS-class-type …

Definition at line 9163 of file LibMkKernel_mk.h.

◆ MkLogFileSTT

#define MkLogFileSTT   (MkTYP(MkLogFileST))

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

Definition at line 9165 of file LibMkKernel_mk.h.

Typedef Documentation

◆ MkLogFileCNR

typedef const struct MkLogFileS MkLogFileCNR

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

Definition at line 9157 of file LibMkKernel_mk.h.

◆ MkLogFileCR

typedef struct MkLogFileS MkLogFileCR

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

Definition at line 9155 of file LibMkKernel_mk.h.

Function Documentation

◆ MkLfl()

static MK_LFL MkLfl ( MK_MNG mng)
inlinestatic

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

Definition at line 9219 of file LibMkKernel_mk.h.

9219 {
9220 return (MkLflCheck(mng) ? (MK_LFL)mng : NULL);
9221 }
define a MkLogFileC object …
+ Here is the caller graph for this function:

◆ MkLflCheck()

static bool MkLflCheck ( MK_MNGN mng)
inlinestatic

check MkLogFileS -> MkObjectS::signature

Returns
TRUE on valid lfl and FALSE an invalid lfl

Definition at line 9194 of file LibMkKernel_mk.h.

9194 {
9195 return MkSanitizeCheck(MkLogFileC,mng);
9196 }
#define MkSanitizeCheck(_root, _m)
+ Here is the caller graph for this function:

◆ MkLflCheckO()

static bool MkLflCheckO ( MK_OBJN obj)
inlinestatic

check MkLogFileS -> MkObjectS::signature

Returns
TRUE on valid lfl and FALSE an invalid lfl

Definition at line 9202 of file LibMkKernel_mk.h.

9202 {
9203 return MkSanitizeCheckO(MkLogFileC,obj);
9204 }
#define MkSanitizeCheckO(_root, _o)

◆ MkLflCheckOP()

MK_BOOL MkLflCheckOP ( MK_OBJN obj)

Non-inline replacement for MkLflCheckO

◆ MkLflCheckP()

MK_BOOL MkLflCheckP ( MK_MNGN mng)

Non-inline replacement for MkLflCheck

◆ MkLflN()

static MK_LFLN MkLflN ( MK_MNGN mng)
inlinestatic

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

Definition at line 9227 of file LibMkKernel_mk.h.

9227 {
9228 return (MkLflCheck(mng) ? (MK_LFLN)mng : NULL);
9229 }

◆ MkLflNP()

MK_LFLN MkLflNP ( MK_MNGN mng)

Non-inline replacement for MkLflN

◆ MkLflP()

MK_LFL MkLflP ( MK_MNG mng)

Non-inline replacement for MkLfl