theKernel 10.0
Loading...
Searching...
No Matches
MkKernel_Enum_CS_API

MkKernel PACKAGE - enum definition … More...

+ Collaboration diagram for MkKernel_Enum_CS_API:

Functions

static MkErrorE csmkkernel.MkKernel.ErrorE_FromInt (int value)
  C#: [static] MkErrorE ErrorE_FromInt(int value) C-API
return the MkErrorE from integer …
 
static MkIdSE csmkkernel.MkKernel.IdSE_FromInt (int value)
  C#: [static] MkIdSE IdSE_FromInt(int value) C-API
return the MkIdSE from integer …
 
static MkTimeoutE csmkkernel.MkKernel.TimeoutE_FromInt (int value)
  C#: [static] MkTimeoutE TimeoutE_FromInt(int value) C-API
return the MkTimeoutE from integer …
 
static MkTypeE csmkkernel.MkKernel.TypeE_FromInt (int value)
  C#: [static] MkTypeE TypeE_FromInt(int value) C-API
return the MkTypeE from integer …
 
static int csmkkernel.MkKernel.ErrorE_ToInt (MkErrorE value)
  C#: [static] int ErrorE_ToInt(MkErrorE value) C-API
return the MkErrorE as integer …
 
static string csmkkernel.MkKernel.ErrorE_ToString (MkErrorE value)
  C#: [static] string ErrorE_ToString(MkErrorE value) C-API
return the MkErrorE as string …
 
static int csmkkernel.MkKernel.IdSE_ToInt (MkIdSE value)
  C#: [static] int IdSE_ToInt(MkIdSE value) C-API
return the MkIdSE as integer …
 
static string csmkkernel.MkKernel.IdSE_ToString (MkIdSE value)
  C#: [static] string IdSE_ToString(MkIdSE value) C-API
return the MkIdSE as string …
 
static int csmkkernel.MkKernel.TimeoutE_ToInt (MkTimeoutE value)
  C#: [static] int TimeoutE_ToInt(MkTimeoutE value) C-API
return the MkTimeoutE as integer …
 
static string csmkkernel.MkKernel.TimeoutE_ToString (MkTimeoutE value)
  C#: [static] string TimeoutE_ToString(MkTimeoutE value) C-API
return the MkTimeoutE as string …
 
static int csmkkernel.MkKernel.TypeE_ToInt (MkTypeE value)
  C#: [static] int TypeE_ToInt(MkTypeE value) C-API
return the MkTypeE as integer …
 
static string csmkkernel.MkKernel.TypeE_ToString (MkTypeE value)
  C#: [static] string 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).

Function Documentation

◆ ErrorE_FromInt()

static MkErrorE csmkkernel.MkKernel.ErrorE_FromInt ( int value)
inlinestatic

C#: [static] MkErrorE ErrorE_FromInt(int value) C-API
return the MkErrorE from integer …

Definition at line 194 of file LibMkKernel.cs.

194 {
195 MkErrorE value_out;
196 MkErrorE errVal = Mk.MkErrorE_FromInt(value, out value_out);
197 if (errVal > MkErrorE.CONTINUE) MkErrorC.Check(errVal);
198 return value_out;
199 }
MkErrorC - the class known as err or error is used to create and manage an error message …
Definition MkErrorC.cs:498
static void Check(IntPtr ctx, MkErrorE err)
Definition MkErrorC.cs:74
MkErrorE
→ C-API: MkErrorE → C-API: MkErrorE

◆ ErrorE_ToInt()

static int csmkkernel.MkKernel.ErrorE_ToInt ( MkErrorE value)
inlinestatic

C#: [static] int ErrorE_ToInt(MkErrorE value) C-API
return the MkErrorE as integer …

Definition at line 228 of file LibMkKernel.cs.

228 {
229 Int32 __retVal__L = Mk.MkErrorE_ToInt(value);
230 return __retVal__L;
231 }

◆ ErrorE_ToString()

static string csmkkernel.MkKernel.ErrorE_ToString ( MkErrorE value)
inlinestatic

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

Definition at line 234 of file LibMkKernel.cs.

234 {
235 IntPtr __retVal__L = Mk.MkErrorE_ToString(value);
236 return Marshal.PtrToStringAnsi(__retVal__L);
237 }

◆ IdSE_FromInt()

static MkIdSE csmkkernel.MkKernel.IdSE_FromInt ( int value)
inlinestatic

C#: [static] MkIdSE IdSE_FromInt(int value) C-API
return the MkIdSE from integer …

Definition at line 202 of file LibMkKernel.cs.

202 {
203 MkIdSE value_out;
204 MkErrorE errVal = Mk.MkIdSE_FromInt(value, out value_out);
205 if (errVal > MkErrorE.CONTINUE) MkErrorC.Check(errVal);
206 return value_out;
207 }
MkIdSE
→ C-API: MkIdSE → C-API: MkIdSE

◆ IdSE_ToInt()

static int csmkkernel.MkKernel.IdSE_ToInt ( MkIdSE value)
inlinestatic

C#: [static] int IdSE_ToInt(MkIdSE value) C-API
return the MkIdSE as integer …

Definition at line 240 of file LibMkKernel.cs.

240 {
241 Int32 __retVal__L = Mk.MkIdSE_ToInt(value);
242 return __retVal__L;
243 }

◆ IdSE_ToString()

static string csmkkernel.MkKernel.IdSE_ToString ( MkIdSE value)
inlinestatic

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

Definition at line 246 of file LibMkKernel.cs.

246 {
247 IntPtr __retVal__L = Mk.MkIdSE_ToString(value);
248 return Marshal.PtrToStringAnsi(__retVal__L);
249 }

◆ TimeoutE_FromInt()

static MkTimeoutE csmkkernel.MkKernel.TimeoutE_FromInt ( int value)
inlinestatic

C#: [static] MkTimeoutE TimeoutE_FromInt(int value) C-API
return the MkTimeoutE from integer …

Definition at line 210 of file LibMkKernel.cs.

210 {
211 MkTimeoutE value_out;
212 MkErrorE errVal = Mk.MkTimeoutE_FromInt(value, out value_out);
213 if (errVal > MkErrorE.CONTINUE) MkErrorC.Check(errVal);
214 return value_out;
215 }
MkTimeoutE
→ C-API: MkTimeoutE → C-API: MkTimeoutE

◆ TimeoutE_ToInt()

static int csmkkernel.MkKernel.TimeoutE_ToInt ( MkTimeoutE value)
inlinestatic

C#: [static] int TimeoutE_ToInt(MkTimeoutE value) C-API
return the MkTimeoutE as integer …

Definition at line 252 of file LibMkKernel.cs.

252 {
253 Int32 __retVal__L = Mk.MkTimeoutE_ToInt(value);
254 return __retVal__L;
255 }

◆ TimeoutE_ToString()

static string csmkkernel.MkKernel.TimeoutE_ToString ( MkTimeoutE value)
inlinestatic

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

Definition at line 258 of file LibMkKernel.cs.

258 {
259 IntPtr __retVal__L = Mk.MkTimeoutE_ToString(value);
260 return Marshal.PtrToStringAnsi(__retVal__L);
261 }

◆ TypeE_FromInt()

static MkTypeE csmkkernel.MkKernel.TypeE_FromInt ( int value)
inlinestatic

C#: [static] MkTypeE TypeE_FromInt(int value) C-API
return the MkTypeE from integer …

Definition at line 218 of file LibMkKernel.cs.

218 {
219 MkTypeE value_out;
220 MkErrorE errVal = Mk.MkTypeE_FromInt(value, out value_out);
221 if (errVal > MkErrorE.CONTINUE) MkErrorC.Check(errVal);
222 return value_out;
223 }
MkTypeE
→ C-API: MkTypeE → C-API: MkTypeE

◆ TypeE_ToInt()

static int csmkkernel.MkKernel.TypeE_ToInt ( MkTypeE value)
inlinestatic

C#: [static] int TypeE_ToInt(MkTypeE value) C-API
return the MkTypeE as integer …

Definition at line 264 of file LibMkKernel.cs.

264 {
265 Int32 __retVal__L = Mk.MkTypeE_ToInt(value);
266 return __retVal__L;
267 }

◆ TypeE_ToString()

static string csmkkernel.MkKernel.TypeE_ToString ( MkTypeE value)
inlinestatic

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

Definition at line 270 of file LibMkKernel.cs.

270 {
271 IntPtr __retVal__L = Mk.MkTypeE_ToString(value);
272 return Marshal.PtrToStringAnsi(__retVal__L);
273 }