theKernel 10.0
Loading...
Searching...
No Matches
MkErrorC_TOR_CC_API

MkErrorC - various functions to 'create' and 'delete' a MkErrorSMore...

+ Collaboration diagram for MkErrorC_TOR_CC_API:

Functions

MkErrorCccmkkernel::MkErrorC::Dup () const
  C++: [constructor] MkErrorC* srce.Dup() C-API
Dup-Constructor - create a new MkErrorC instance as copy from an existing MkErrorC instance …
 
void ccmkkernel::MkErrorC::Copy (const MkErrorC *srce)
  C++: dest.Copy(const MkErrorC* srce) C-API
Copy-Constructor - sync an existing MkErrorC instance with the values from an existing MkErrorC instance …
 
void ccmkkernel::MkErrorC::Copy (const MkErrorC &srce)
  C++: dest.Copy(const MkErrorC* srce) C-API
Copy-Constructor - sync an existing MkErrorC instance with the values from an existing MkErrorC instance …
 

Detailed Description

MkErrorC - various functions to 'create' and 'delete' a MkErrorS

Function Documentation

◆ Copy() [1/2]

void ccmkkernel::MkErrorC::Copy ( const MkErrorC & srce)
inline

C++: dest.Copy(const MkErrorC* srce) C-API
Copy-Constructor - sync an existing MkErrorC instance with the values from an existing MkErrorC instance …

Definition at line 594 of file MkErrorC_inline_cc.hh.

594 {
595 MK_UNUSED auto dest = getERR();
596 const MK_ERRN srce_hdl = MkErrorC::getERRN(srce);
597 MkErrorCopy(dest, srce_hdl);
598 }
MK_ERRN getERRN() const
(const) return the LibMsgqueObject from current MkErrorC instance
MK_ERR getERR() const
return the LibMsgqueObject from current MkErrorC instance
const struct MkErrorS * MK_ERRN
class-shortcut for const struct MkErrorS *, all const shortcut using the XX_YYYC syntax (only for pub...
#define MkErrorCopy(...)
#define MK_UNUSED
mark unnused variables and functions

◆ Copy() [2/2]

void ccmkkernel::MkErrorC::Copy ( const MkErrorC * srce)
inline

C++: dest.Copy(const MkErrorC* srce) C-API
Copy-Constructor - sync an existing MkErrorC instance with the values from an existing MkErrorC instance …

Definition at line 587 of file MkErrorC_inline_cc.hh.

587 {
588 MK_UNUSED auto dest = getERR();
589 MK_ERRN srce_hdl = MkErrorC::getERRN(srce);
590 MkErrorCopy(dest, srce_hdl);
591 }

◆ Dup()

MkErrorC * ccmkkernel::MkErrorC::Dup ( ) const
inline

C++: [constructor] MkErrorC* srce.Dup() C-API
Dup-Constructor - create a new MkErrorC instance as copy from an existing MkErrorC instance …

Definition at line 575 of file MkErrorC_inline_cc.hh.

575 {
576 MK_UNUSED auto srce = getERRN();
577 MK_ERR __retVal__L = MkErrorDup(srce);
578 if (__retVal__L == NULL) {
579 throw MkInitError("MkErrorC::Dup");
580 }
581 return MkErrorC::MkErrorC_ObjCreate(MK_RT_CALL __retVal__L);
582 }
struct MkErrorS * MK_ERR
class-shortcut for struct MkErrorS *, all shortcut using the XX_YYY syntax (only for public API) …
#define MkErrorDup(...)
#define MK_RT_CALL