theKernel 10.0
Loading...
Searching...
No Matches
MkKernel_Enum_CC_API

MkKernel PACKAGE - enum definition … More...

+ Collaboration diagram for MkKernel_Enum_CC_API:

Functions

static MkErrorE ccmkkernel::MkKernel::ErrorE_FromInt (MK_I32 value)
  C++: [static] MkErrorE MkKernel::ErrorE_FromInt(MK_I32 value) C-API
return the MkErrorE from integer …
 
static MkIdSE ccmkkernel::MkKernel::IdSE_FromInt (MK_I32 value)
  C++: [static] MkIdSE MkKernel::IdSE_FromInt(MK_I32 value) C-API
return the MkIdSE from integer …
 
static MkTimeoutE ccmkkernel::MkKernel::TimeoutE_FromInt (MK_I32 value)
  C++: [static] MkTimeoutE MkKernel::TimeoutE_FromInt(MK_I32 value) C-API
return the MkTimeoutE from integer …
 
static MkTypeE ccmkkernel::MkKernel::TypeE_FromInt (MK_I32 value)
  C++: [static] MkTypeE MkKernel::TypeE_FromInt(MK_I32 value) C-API
return the MkTypeE from integer …
 
static MK_I32 ccmkkernel::MkKernel::ErrorE_ToInt (MkErrorE value)
  C++: [static] MK_I32 MkKernel::ErrorE_ToInt(MkErrorE value) C-API
return the MkErrorE as integer …
 
static MK_STRN ccmkkernel::MkKernel::ErrorE_ToString (MkErrorE value)
  C++: [static] MK_STRN MkKernel::ErrorE_ToString(MkErrorE value) C-API
return the MkErrorE as string …
 
static MK_I32 ccmkkernel::MkKernel::IdSE_ToInt (MkIdSE value)
  C++: [static] MK_I32 MkKernel::IdSE_ToInt(MkIdSE value) C-API
return the MkIdSE as integer …
 
static MK_STRN ccmkkernel::MkKernel::IdSE_ToString (MkIdSE value)
  C++: [static] MK_STRN MkKernel::IdSE_ToString(MkIdSE value) C-API
return the MkIdSE as string …
 
static MK_I32 ccmkkernel::MkKernel::TimeoutE_ToInt (MkTimeoutE value)
  C++: [static] MK_I32 MkKernel::TimeoutE_ToInt(MkTimeoutE value) C-API
return the MkTimeoutE as integer …
 
static MK_STRN ccmkkernel::MkKernel::TimeoutE_ToString (MkTimeoutE value)
  C++: [static] MK_STRN MkKernel::TimeoutE_ToString(MkTimeoutE value) C-API
return the MkTimeoutE as string …
 
static MK_I32 ccmkkernel::MkKernel::TypeE_ToInt (MkTypeE value)
  C++: [static] MK_I32 MkKernel::TypeE_ToInt(MkTypeE value) C-API
return the MkTypeE as integer …
 
static MK_STRN ccmkkernel::MkKernel::TypeE_ToString (MkTypeE value)
  C++: [static] MK_STRN MkKernel::TypeE_ToString(MkTypeE value) C-API
return the MkTypeE as string …
 

Detailed Description

MkKernel PACKAGE - enum definition …

A enum in the Programming-Language-Micro-Kernel (PLMK) is a enum-data-type and 3 enum-access-attributes

  1. ENUM_ToString → return the string-value from the enum-value
  2. ENUM_ToInt → return the integer-value from the enum-value
  3. ENUM_FromInt → create an enum-value from an integer-value.

The enum-data-type and the 3 enum-access-attributes are defined in all target-languages (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO).

A enum in the Programming-Language-Micro-Kernel (PLMK) is a enum-data-type and 3 enum-access-attributes

  1. ENUM_ToString → return the string-value from the enum-value
  2. ENUM_ToInt → return the integer-value from the enum-value
  3. ENUM_FromInt → create an enum-value from an integer-value.

The enum-data-type and the 3 enum-access-attributes are defined in all target-languages (C,C++,C#,VB.NET,Java,Python,Ruby,Perl,PHP,Tcl or GO).

Function Documentation

◆ ErrorE_FromInt()

MkErrorE ccmkkernel::MkKernel::ErrorE_FromInt ( MK_I32 value)
inlinestatic

C++: [static] MkErrorE MkKernel::ErrorE_FromInt(MK_I32 value) C-API
return the MkErrorE from integer …

Definition at line 22 of file LibMkKernel_inline_cc.hh.

22 {
24 enum MkErrorE value_out;
25 enum MkErrorE errVal = MkErrorE_FromInt(value, &value_out);
26 MkErrorC_Check(NULL, errVal);
27 return value_out;
28 }
#define MkErrorC_Check(errObj, errVal)
MkErrorE
collection for the different error-codes …
enum MkErrorE MkErrorE_FromInt(MK_I32 const value, enum MkErrorE *value_out)
return the MkErrorE from integer …
#define MkRtSetup_NULL

◆ ErrorE_ToInt()

MK_I32 ccmkkernel::MkKernel::ErrorE_ToInt ( MkErrorE value)
inlinestatic

C++: [static] MK_I32 MkKernel::ErrorE_ToInt(MkErrorE value) C-API
return the MkErrorE as integer …

Definition at line 60 of file LibMkKernel_inline_cc.hh.

60 {
62 MK_I32 __retVal__L = MkErrorE_ToInt(value);
63 return __retVal__L;
64 }
static MK_I32 MkErrorE_ToInt(enum MkErrorE value)
return the MkErrorE as integer …
signed int MK_I32
4 byte integer data-type

◆ ErrorE_ToString()

MK_STRN ccmkkernel::MkKernel::ErrorE_ToString ( MkErrorE value)
inlinestatic

C++: [static] MK_STRN MkKernel::ErrorE_ToString(MkErrorE value) C-API
return the MkErrorE as string …

Definition at line 67 of file LibMkKernel_inline_cc.hh.

67 {
69 MK_STRN __retVal__L = MkErrorE_ToString(value);
70 return __retVal__L;
71 }
MK_STRN MkErrorE_ToString(enum MkErrorE value)
return the MkErrorE as string …
const MK_STRB * MK_STRN
constant string pointer data-type

◆ IdSE_FromInt()

MkIdSE ccmkkernel::MkKernel::IdSE_FromInt ( MK_I32 value)
inlinestatic

C++: [static] MkIdSE MkKernel::IdSE_FromInt(MK_I32 value) C-API
return the MkIdSE from integer …

Definition at line 31 of file LibMkKernel_inline_cc.hh.

31 {
33 enum MkIdSE value_out;
34 enum MkErrorE errVal = MkIdSE_FromInt(value, &value_out);
35 MkErrorC_Check(NULL, errVal);
36 return value_out;
37 }
enum MkErrorE MkIdSE_FromInt(MK_I32 const value, enum MkIdSE *value_out)
return the MkIdSE from integer …
MkIdSE
signal type of the MkIdS data val …

◆ IdSE_ToInt()

MK_I32 ccmkkernel::MkKernel::IdSE_ToInt ( MkIdSE value)
inlinestatic

C++: [static] MK_I32 MkKernel::IdSE_ToInt(MkIdSE value) C-API
return the MkIdSE as integer …

Definition at line 74 of file LibMkKernel_inline_cc.hh.

74 {
76 MK_I32 __retVal__L = MkIdSE_ToInt(value);
77 return __retVal__L;
78 }
static MK_I32 MkIdSE_ToInt(enum MkIdSE value)
return the MkIdSE as integer …

◆ IdSE_ToString()

MK_STRN ccmkkernel::MkKernel::IdSE_ToString ( MkIdSE value)
inlinestatic

C++: [static] MK_STRN MkKernel::IdSE_ToString(MkIdSE value) C-API
return the MkIdSE as string …

Definition at line 81 of file LibMkKernel_inline_cc.hh.

81 {
83 MK_STRN __retVal__L = MkIdSE_ToString(value);
84 return __retVal__L;
85 }
MK_STRN MkIdSE_ToString(enum MkIdSE value)
return the MkIdSE as string …

◆ TimeoutE_FromInt()

MkTimeoutE ccmkkernel::MkKernel::TimeoutE_FromInt ( MK_I32 value)
inlinestatic

C++: [static] MkTimeoutE MkKernel::TimeoutE_FromInt(MK_I32 value) C-API
return the MkTimeoutE from integer …

Definition at line 40 of file LibMkKernel_inline_cc.hh.

40 {
42 enum MkTimeoutE value_out;
43 enum MkErrorE errVal = MkTimeoutE_FromInt(value, &value_out);
44 MkErrorC_Check(NULL, errVal);
45 return value_out;
46 }
MkTimeoutE
Predefined Timeout values …
enum MkErrorE MkTimeoutE_FromInt(MK_I32 const value, enum MkTimeoutE *value_out)
return the MkTimeoutE from integer …

◆ TimeoutE_ToInt()

MK_I32 ccmkkernel::MkKernel::TimeoutE_ToInt ( MkTimeoutE value)
inlinestatic

C++: [static] MK_I32 MkKernel::TimeoutE_ToInt(MkTimeoutE value) C-API
return the MkTimeoutE as integer …

Definition at line 88 of file LibMkKernel_inline_cc.hh.

88 {
90 MK_I32 __retVal__L = MkTimeoutE_ToInt(value);
91 return __retVal__L;
92 }
static MK_I32 MkTimeoutE_ToInt(enum MkTimeoutE value)
return the MkTimeoutE as integer …

◆ TimeoutE_ToString()

MK_STRN ccmkkernel::MkKernel::TimeoutE_ToString ( MkTimeoutE value)
inlinestatic

C++: [static] MK_STRN MkKernel::TimeoutE_ToString(MkTimeoutE value) C-API
return the MkTimeoutE as string …

Definition at line 95 of file LibMkKernel_inline_cc.hh.

95 {
97 MK_STRN __retVal__L = MkTimeoutE_ToString(value);
98 return __retVal__L;
99 }
MK_STRN MkTimeoutE_ToString(enum MkTimeoutE value)
return the MkTimeoutE as string …

◆ TypeE_FromInt()

MkTypeE ccmkkernel::MkKernel::TypeE_FromInt ( MK_I32 value)
inlinestatic

C++: [static] MkTypeE MkKernel::TypeE_FromInt(MK_I32 value) C-API
return the MkTypeE from integer …

Definition at line 49 of file LibMkKernel_inline_cc.hh.

49 {
51 enum MkTypeE value_out;
52 enum MkErrorE errVal = MkTypeE_FromInt(value, &value_out);
53 MkErrorC_Check(NULL, errVal);
54 return value_out;
55 }
MkTypeE
basic data-types supported by Programming-Language-Micro-Kernel (PLMK) …
enum MkErrorE MkTypeE_FromInt(MK_I32 const value, enum MkTypeE *value_out)
return the MkTypeE from integer …

◆ TypeE_ToInt()

MK_I32 ccmkkernel::MkKernel::TypeE_ToInt ( MkTypeE value)
inlinestatic

C++: [static] MK_I32 MkKernel::TypeE_ToInt(MkTypeE value) C-API
return the MkTypeE as integer …

Definition at line 102 of file LibMkKernel_inline_cc.hh.

102 {
104 MK_I32 __retVal__L = MkTypeE_ToInt(value);
105 return __retVal__L;
106 }
static MK_I32 MkTypeE_ToInt(enum MkTypeE value)
return the MkTypeE as integer …

◆ TypeE_ToString()

MK_STRN ccmkkernel::MkKernel::TypeE_ToString ( MkTypeE value)
inlinestatic

C++: [static] MK_STRN MkKernel::TypeE_ToString(MkTypeE value) C-API
return the MkTypeE as string …

Definition at line 109 of file LibMkKernel_inline_cc.hh.

109 {
111 MK_STRN __retVal__L = MkTypeE_ToString(value);
112 return __retVal__L;
113 }
MK_STRN MkTypeE_ToString(enum MkTypeE value)
return the MkTypeE as string …