theKernel 10.0
Loading...
Searching...
No Matches
MkObjectC_Misc_CS_API

MkObjectC - various functions related to the MkObjectSMore...

+ Collaboration diagram for MkObjectC_Misc_CS_API:

Functions

MkErrorC csmkkernel.MkObjectC.ErrorCatch (Exception exception=null, [CallerMemberName]string callfunc=null)
  C#: MkErrorC obj.ErrorCatch(Exception exception = null, [CallerMemberName]string callfunc = null) C-API
convert a programming-language-error into an csmkkernel error …
 
MkErrorC csmkkernel.MkObjectC.ToError ()
  C#: MkErrorC obj.ToError() C-API
Error-Slot - return an error-object pre initialized with obj data.
 
bool csmkkernel.MkObjectC.IsNull ()
  C#: bool obj.IsNull() C-API
ckeck if the object is null
 
string csmkkernel.MkObjectC.ToName ()
  C#: string obj.ToName() C-API
Info-Slot - returns brief information about the obj as a string
 
string csmkkernel.MkObjectC.ToNameOfType ()
  C#: string obj.ToNameOfType() C-API
Type-Slot - returns the LibMkKernel-Type-Name of the obj as a string
 
override string csmkkernel.MkObjectC.ToString ()
  C#: string inst.ToString() C-API
String-Slot - returns the string representation of the inst
 
string csmkkernel.MkObjectC.ToNameOfClass ()
  C#: string obj.ToNameOfClass() C-API
Class-Slot - returns the C#-Class-Name of the obj as string
 

Detailed Description

MkObjectC - various functions related to the MkObjectS

Function Documentation

◆ ErrorCatch()

MkErrorC csmkkernel.MkObjectC.ErrorCatch ( Exception exception = null,
[CallerMemberName] string callfunc = null )
inline

C#: MkErrorC obj.ErrorCatch(Exception exception = null, [CallerMemberName]string callfunc = null) C-API
convert a programming-language-error into an csmkkernel error …

Definition at line 575 of file MkObjectC.cs.

575 {
576 IntPtr callfunc_cstr = Marshal.StringToHGlobalAnsi(callfunc);
577 IntPtr __retVal__L = MkObjectErrorCatchTmpl(mkrt, hdl, exception, callfunc_cstr);
578 Marshal.FreeHGlobal(callfunc_cstr);
579 return MkErrorC.MkErrorC_ObjNew(__retVal__L);
580 }

◆ IsNull()

bool csmkkernel.MkObjectC.IsNull ( )
inline

C#: bool obj.IsNull() C-API
ckeck if the object is null

Definition at line 591 of file MkObjectC.cs.

591 {
592 bool __retVal__L = Mk.MkObjectIsNull(hdl_null_allow);
593 return __retVal__L;
594 }
csmkkernel.MkKernel Mk

◆ ToError()

MkErrorC csmkkernel.MkObjectC.ToError ( )
inline

C#: MkErrorC obj.ToError() C-API
Error-Slot - return an error-object pre initialized with obj data.

Definition at line 583 of file MkObjectC.cs.

583 {
584 IntPtr __retVal__L = Mk.MkObjectToError(mkrt, hdl);
585 return MkErrorC.MkErrorC_ObjNew(__retVal__L);
586 }

◆ ToName()

string csmkkernel.MkObjectC.ToName ( )
inline

C#: string obj.ToName() C-API
Info-Slot - returns brief information about the obj as a string

Definition at line 597 of file MkObjectC.cs.

597 {
598 IntPtr __retVal__L = Mk.MkObjectToName(mkrt, hdl_null_allow);
599 return Marshal.PtrToStringAnsi(__retVal__L);
600 }

◆ ToNameOfClass()

string csmkkernel.MkObjectC.ToNameOfClass ( )
inline

C#: string obj.ToNameOfClass() C-API
Class-Slot - returns the C#-Class-Name of the obj as string

Definition at line 318 of file MkObjectC.cs.

318 {
319 return GetType().Name;
320 }

◆ ToNameOfType()

string csmkkernel.MkObjectC.ToNameOfType ( )
inline

C#: string obj.ToNameOfType() C-API
Type-Slot - returns the LibMkKernel-Type-Name of the obj as a string

Definition at line 606 of file MkObjectC.cs.

606 {
607 IntPtr __retVal__L = Mk.MkObjectToNameOfType(mkrt, hdl);
608 return Marshal.PtrToStringAnsi(__retVal__L);
609 }

◆ ToString()

override string csmkkernel.MkObjectC.ToString ( )
inline

C#: string inst.ToString() C-API
String-Slot - returns the string representation of the inst

Definition at line 612 of file MkObjectC.cs.

612 {
613 IntPtr __retVal__L = Mk.MkObjectToString(mkrt, hdl_null_allow);
614 return Marshal.PtrToStringAnsi(__retVal__L);
615 }