liblcconfig 9.0
Loading...
Searching...
No Matches
Macros | Functions
LcConfigC_Cast_C_API

cast from defined and undefined instance to LcConfigCMore...

+ Collaboration diagram for LcConfigC_Cast_C_API:

Macros

#define LcCfgRaise(_cfg)
 raise an error if class-instance is not valid
 
#define LcCFG_R(x)   (*(x)).super.cfg
 cast a known-object into an LcConfigS reference
 
#define LcCFG(x)   (&LcCFG_R(x))
 cast a known-object into an LcConfigS pointer
 

Functions

LC_EXTERN LC_CFG LcCfgP (MK_MNG mng)
 Non-inline replacement for LcCfg
 
LC_CFG LcCfg (MK_MNG mng)
 cast a unknown-object into an LcConfigS pointer or NULL if not possible
 
LC_CFGN LcCfgN (MK_MNGN mng)
 (const) cast a unknown-object into an LcConfigS pointer or NULL if not possible
 

Detailed Description

cast from defined and undefined instance to LcConfigC

Macro Definition Documentation

◆ LcCFG

#define LcCFG (   x)    (&LcCFG_R(x))

cast a known-object into an LcConfigS pointer

Definition at line 190 of file LcConfigC_lc.h.

◆ LcCFG_R

#define LcCFG_R (   x)    (*(x)).super.cfg

cast a known-object into an LcConfigS reference

Definition at line 188 of file LcConfigC_lc.h.

◆ LcCfgRaise

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

raise an error if class-instance is not valid

Definition at line 182 of file LcConfigC_lc.h.

Function Documentation

◆ LcCfg()

LC_CFG LcCfg ( MK_MNG  mng)
inline

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

Definition at line 170 of file LcConfigC_lc.h.

+ Here is the caller graph for this function:

◆ LcCfgN()

LC_CFGN LcCfgN ( MK_MNGN  mng)
inline

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

Definition at line 177 of file LcConfigC_lc.h.

◆ LcCfgP()

LC_EXTERN LC_CFG LcCfgP ( MK_MNG  mng)

Non-inline replacement for LcCfg