theKernel 10.0
Loading...
Searching...
No Matches
MkErrorC_Get_CC_API

MkErrorC - various functions to 'get' data out of a MkErrorSMore...

+ Collaboration diagram for MkErrorC_Get_CC_API:

Functions

MkErrorE ccmkkernel::MkErrorC::GetCode () const
  C++: MkErrorE err.GetCode() C-API
get the value of MkErrorS::code
 
MK_I32 ccmkkernel::MkErrorC::GetNum () const
  C++: MK_I32 err.GetNum() C-API
get the MkErrorS::num. The number can be used as exit-code …
 
MK_SIZE ccmkkernel::MkErrorC::GetSize () const
  C++: MK_SIZE err.GetSize() C-API
get the error-message-size from the exception-object
 
MK_STRN ccmkkernel::MkErrorC::GetText () const
  C++: MK_STRN err.GetText() C-API
get the MkErrorS::text
 

Detailed Description

MkErrorC - various functions to 'get' data out of a MkErrorS

Function Documentation

◆ GetCode()

MkErrorE ccmkkernel::MkErrorC::GetCode ( ) const
inline

C++: MkErrorE err.GetCode() C-API
get the value of MkErrorS::code

Definition at line 113 of file MkErrorC_inline_cc.hh.

113 {
114 MK_UNUSED auto err = getERRN();
115 enum MkErrorE errVal = MkErrorGetCodeI(err);
116 return errVal;
117 }
MK_ERRN getERRN() const
(const) return the LibMsgqueObject from current MkErrorC instance
#define MkErrorGetCodeI(e)
get the value of MkErrorS::code …
#define MK_UNUSED
mark unnused variables and functions
MkErrorE
collection for the different error-codes …

◆ GetNum()

MK_I32 ccmkkernel::MkErrorC::GetNum ( ) const
inline

C++: MK_I32 err.GetNum() C-API
get the MkErrorS::num. The number can be used as exit-code …

Definition at line 120 of file MkErrorC_inline_cc.hh.

120 {
121 MK_UNUSED auto err = getERRN();
122 MK_I32 __retVal__L = MkErrorGetNumI(err);
123 return __retVal__L;
124 }
#define MkErrorGetNumI(e)
get the MkErrorS::num. The number can be used as exit-code …
signed int MK_I32
4 byte integer data-type

◆ GetSize()

MK_SIZE ccmkkernel::MkErrorC::GetSize ( ) const
inline

C++: MK_SIZE err.GetSize() C-API
get the error-message-size from the exception-object

Definition at line 127 of file MkErrorC_inline_cc.hh.

127 {
128 MK_UNUSED auto err = getERRN();
129 MK_SIZE __retVal__L = MkErrorGetSizeI(err);
130 return __retVal__L;
131 }
#define MkErrorGetSizeI(e)
get the error-message-size from the exception-object …

◆ GetText()

MK_STRN ccmkkernel::MkErrorC::GetText ( ) const
inline

C++: MK_STRN err.GetText() C-API
get the MkErrorS::text

Definition at line 134 of file MkErrorC_inline_cc.hh.

134 {
135 MK_UNUSED auto err = getERRN();
136 MK_STRN __retVal__L = MkErrorGetTextI(err);
137 return __retVal__L;
138 }
#define MkErrorGetTextI(e)
get the MkErrorS::text …
const MK_STRB * MK_STRN
constant string pointer data-type