theKernel 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - py - 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 MkSuperTypeS-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 MkSuperTypeS-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 MkSuperTypeS-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 MkSuperTypeS-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 MkSuperTypeS *) MkLogFileCTT )
 class as MkSuperTypeS-class-type for MkLogFileC in the Target-Programming-Language (TPL)
 

MkLogFileC - signature check

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

MkLogFileC - cast from a defined or a undefined instance

MK_LFL MkLfl (MK_MNG mng)
 cast a unknown-object into an MkLogFileS pointer or NULL if not possible
 
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_EXTERN MK_LFL MkLflP (MK_MNG mng)
 Non-inline replacement for MkLfl
 
MK_EXTERN MK_BOOL MkLflCheckP (MK_MNGN mng)
 Non-inline replacement for MkLflCheck
 
MK_EXTERN MK_BOOL MkLflCheckOP (MK_OBJN obj)
 Non-inline replacement for MkLflCheckO
 
MK_EXTERN 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 8642 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 8640 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 8634 of file LibMkKernel_mk.h.

8634 #define MkLflRaise(_lfl) if (!_MkCheckX(MkLogFileC,_lfl)) { \
8635 MkErrorSetC_1E("'MkLogFileC' hdl is NULL"); \
8636 goto error ; \
8637 }

◆ MkLogFileC_Check

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

Definition at line 8610 of file LibMkKernel_mk.h.

◆ MkLogFileC_MASK

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

Definition at line 8540 of file LibMkKernel_mk.h.

◆ MkLogFileC_NS

#define MkLogFileC_NS   MK

map class to namespace …

Definition at line 8579 of file LibMkKernel_mk.h.

◆ MkLogFileC_SIGNATURE

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

Definition at line 8539 of file LibMkKernel_mk.h.

◆ MkLogFileC_T

#define MkLogFileC_T   (&MK_RT_REF._MkLogFileC_T)

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

Definition at line 8563 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 8565 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 8571 of file LibMkKernel_mk.h.

◆ MkLogFileC_X2lfl

#define MkLogFileC_X2lfl ( x)
Value:
(x)

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

◆ MkLogFileCT

#define MkLogFileCT   ( (struct MkSuperTypeS *) MkLogFileCTT )

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

Definition at line 8583 of file LibMkKernel_mk.h.

◆ MkLogFileCT_TT

#define MkLogFileCT_TT ( typ)
Value:
( (struct MkSuperTypeS *) (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 MkSuperTypeS-class-type …

Definition at line 8577 of file LibMkKernel_mk.h.

◆ MkLogFileCT_X

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

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

Definition at line 8573 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 8581 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 8575 of file LibMkKernel_mk.h.

◆ MkLogFileST

#define MkLogFileST   MkLogFileC_T

instance-type as MkSuperTypeS-class-type …

Definition at line 8567 of file LibMkKernel_mk.h.

◆ MkLogFileSTT

#define MkLogFileSTT   (MkTYP(MkLogFileST))

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

Definition at line 8569 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 8561 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 8559 of file LibMkKernel_mk.h.

Function Documentation

◆ MkLfl()

MK_LFL MkLfl ( MK_MNG mng)
inline

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

Definition at line 8622 of file LibMkKernel_mk.h.

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

◆ MkLflCheck()

bool MkLflCheck ( MK_MNGN mng)
inline

check MkLogFileS -> MkObjectS::signature

Returns
TRUE on valid lfl and FALSE an invalid lfl

Definition at line 8598 of file LibMkKernel_mk.h.

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

◆ MkLflCheckO()

bool MkLflCheckO ( MK_OBJN obj)
inline

check MkLogFileS -> MkObjectS::signature

Returns
TRUE on valid lfl and FALSE an invalid lfl

Definition at line 8605 of file LibMkKernel_mk.h.

8605 {
8606 return MkSanitizeCheckO(MkLogFileC,obj);
8607 }
#define MkSanitizeCheckO(_root, _o)

◆ MkLflCheckOP()

MK_EXTERN MK_BOOL MkLflCheckOP ( MK_OBJN obj)

Non-inline replacement for MkLflCheckO

◆ MkLflCheckP()

MK_EXTERN MK_BOOL MkLflCheckP ( MK_MNGN mng)

Non-inline replacement for MkLflCheck

◆ MkLflN()

MK_LFLN MkLflN ( MK_MNGN mng)
inline

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

Definition at line 8629 of file LibMkKernel_mk.h.

8629 {
8630 return (MkLflCheck(mng) ? (MK_LFLN)mng : NULL);
8631 }

◆ MkLflNP()

MK_EXTERN MK_LFLN MkLflNP ( MK_MNGN mng)

Non-inline replacement for MkLflN

◆ MkLflP()

MK_EXTERN MK_LFL MkLflP ( MK_MNG mng)

Non-inline replacement for MkLfl