theKernel 10.0
Loading...
Searching...
No Matches
LibMkKernel_inline_cc.hh
Go to the documentation of this file.
1
9/* LABEL-NO */
10
11namespace ccmkkernel {
12
13 // BEGIN-MkKernel - created by 'cc_MqC.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
14
18
19 // doc-key: MkKernel,MkKernel-Enum,sco
20
24 enum MkErrorE value_out;
25 enum MkErrorE errVal = MkErrorE_FromInt(value, &value_out);
26 MkErrorC_Check(NULL, errVal);
27 return value_out;
28 }
29
33 enum MkIdSE value_out;
34 enum MkErrorE errVal = MkIdSE_FromInt(value, &value_out);
35 MkErrorC_Check(NULL, errVal);
36 return value_out;
37 }
38
42 enum MkTimeoutE value_out;
43 enum MkErrorE errVal = MkTimeoutE_FromInt(value, &value_out);
44 MkErrorC_Check(NULL, errVal);
45 return value_out;
46 }
47
51 enum MkTypeE value_out;
52 enum MkErrorE errVal = MkTypeE_FromInt(value, &value_out);
53 MkErrorC_Check(NULL, errVal);
54 return value_out;
55 }
56
57 // doc-key: MkKernel,MkKernel-Enum,sm_
58
62 MK_I32 __retVal__L = MkErrorE_ToInt(value);
63 return __retVal__L;
64 }
65
69 MK_STRN __retVal__L = MkErrorE_ToString(value);
70 return __retVal__L;
71 }
72
76 MK_I32 __retVal__L = MkIdSE_ToInt(value);
77 return __retVal__L;
78 }
79
83 MK_STRN __retVal__L = MkIdSE_ToString(value);
84 return __retVal__L;
85 }
86
90 MK_I32 __retVal__L = MkTimeoutE_ToInt(value);
91 return __retVal__L;
92 }
93
97 MK_STRN __retVal__L = MkTimeoutE_ToString(value);
98 return __retVal__L;
99 }
100
104 MK_I32 __retVal__L = MkTypeE_ToInt(value);
105 return __retVal__L;
106 }
107
111 MK_STRN __retVal__L = MkTypeE_ToString(value);
112 return __retVal__L;
113 }
114
116 // MkKernel_Enum_CC_API
117
118 // END-MkKernel - created by 'cc_MqC.tcl -i NHI1_HOME/theKernel/c/gen/c_mkkernel.meta' - DO NOT change
119}
#define MkErrorC_Check(errObj, errVal)
static MK_STRN TimeoutE_ToString(MkTimeoutE value)
C++: [static] MK_STRN MkKernel::TimeoutE_ToString(MkTimeoutE value) → C-API return the MkTimeout...
static MK_I32 IdSE_ToInt(MkIdSE value)
C++: [static] MK_I32 MkKernel::IdSE_ToInt(MkIdSE value) → C-API return the MkIdSE as integer …
static MkTimeoutE TimeoutE_FromInt(MK_I32 value)
C++: [static] MkTimeoutE MkKernel::TimeoutE_FromInt(MK_I32 value) → C-API return the MkTimeoutE ...
static MK_I32 TypeE_ToInt(MkTypeE value)
C++: [static] MK_I32 MkKernel::TypeE_ToInt(MkTypeE value) → C-API return the MkTypeE as integer ...
static MK_I32 ErrorE_ToInt(MkErrorE value)
C++: [static] MK_I32 MkKernel::ErrorE_ToInt(MkErrorE value) → C-API return the MkErrorE as integ...
static MK_STRN IdSE_ToString(MkIdSE value)
C++: [static] MK_STRN MkKernel::IdSE_ToString(MkIdSE value) → C-API return the MkIdSE as string ...
static MkTypeE TypeE_FromInt(MK_I32 value)
C++: [static] MkTypeE MkKernel::TypeE_FromInt(MK_I32 value) → C-API return the MkTypeE from inte...
static MK_I32 TimeoutE_ToInt(MkTimeoutE value)
C++: [static] MK_I32 MkKernel::TimeoutE_ToInt(MkTimeoutE value) → C-API return the MkTimeoutE as...
static MK_STRN ErrorE_ToString(MkErrorE value)
C++: [static] MK_STRN MkKernel::ErrorE_ToString(MkErrorE value) → C-API return the MkErrorE as s...
static MkErrorE ErrorE_FromInt(MK_I32 value)
C++: [static] MkErrorE MkKernel::ErrorE_FromInt(MK_I32 value) → C-API return the MkErrorE from i...
static MkIdSE IdSE_FromInt(MK_I32 value)
C++: [static] MkIdSE MkKernel::IdSE_FromInt(MK_I32 value) → C-API return the MkIdSE from integer...
static MK_STRN TypeE_ToString(MkTypeE value)
C++: [static] MK_STRN MkKernel::TypeE_ToString(MkTypeE value) → C-API return the MkTypeE as stri...
MK_STRN MkErrorE_ToString(enum MkErrorE value)
return the MkErrorE as string …
enum MkErrorE MkIdSE_FromInt(MK_I32 const value, enum MkIdSE *value_out)
return the MkIdSE from integer …
MkTypeE
basic data-types supported by Programming-Language-Micro-Kernel (PLMK) …
static MK_I32 MkTypeE_ToInt(enum MkTypeE value)
return the MkTypeE as integer …
MkTimeoutE
Predefined Timeout values …
static MK_I32 MkTimeoutE_ToInt(enum MkTimeoutE value)
return the MkTimeoutE as integer …
MK_STRN MkIdSE_ToString(enum MkIdSE value)
return the MkIdSE as string …
MkErrorE
collection for the different error-codes …
MK_STRN MkTypeE_ToString(enum MkTypeE value)
return the MkTypeE as string …
static MK_I32 MkErrorE_ToInt(enum MkErrorE value)
return the MkErrorE as integer …
enum MkErrorE MkErrorE_FromInt(MK_I32 const value, enum MkErrorE *value_out)
return the MkErrorE from integer …
enum MkErrorE MkTypeE_FromInt(MK_I32 const value, enum MkTypeE *value_out)
return the MkTypeE from integer …
MK_STRN MkTimeoutE_ToString(enum MkTimeoutE value)
return the MkTimeoutE as string …
enum MkErrorE MkTimeoutE_FromInt(MK_I32 const value, enum MkTimeoutE *value_out)
return the MkTimeoutE from integer …
static MK_I32 MkIdSE_ToInt(enum MkIdSE value)
return the MkIdSE as integer …
signed int MK_I32
4 byte integer data-type
const MK_STRB * MK_STRN
constant string pointer data-type
MkIdSE
signal type of the MkIdS data val …
#define MkRtSetup_NULL
namespace for the CcMkKernel "C++"-API