theKernel 10.0
Loading...
Searching...
No Matches
MkObjectC_Misc_ATL_API

MkObjectC - various functions related to the MkObjectSMore...

+ Collaboration diagram for MkObjectC_Misc_ATL_API:

Functions

static OT_ProcRet atlmkkernel_MkObjectC_ErrorCatch (MkObjectC_ARGS)
  Atl: MkErrorC [MkObjectC::ErrorCatch $obj ?exception:errorCode=NULL? ?callfunc:string="MK_NULL"?] C-API
convert a programming-language-error into an atlmkkernel error …
 
static OT_ProcRet atlmkkernel_MkObjectC_ToError (MkObjectC_ARGS)
  Atl: MkErrorC [MkObjectC::ToError $obj] C-API
Error-Slot - return an error-object pre initialized with obj data.
 
static OT_ProcRet atlmkkernel_MkObjectC_IsNull (MkObjectC_ARGS)
  Atl: bool [MkObjectC::IsNull $obj] C-API
ckeck if the object is "MK_NULL"
 
static OT_ProcRet atlmkkernel_MkObjectC_ToName (MkObjectC_ARGS)
  Atl: string [MkObjectC::ToName $obj] C-API
Info-Slot - returns brief information about the obj as a string
 
static OT_ProcRet atlmkkernel_MkObjectC_ToNameOfClass (MkObjectC_ARGS)
  Atl: string [MkObjectC::ToNameOfClass $obj] C-API
Class-Slot - returns the Atl-Class-Name of the obj as string
 
static OT_ProcRet atlmkkernel_MkObjectC_ToNameOfType (MkObjectC_ARGS)
  Atl: string [MkObjectC::ToNameOfType $obj] C-API
Type-Slot - returns the LibMkKernel-Type-Name of the obj as a string
 
static OT_ProcRet atlmkkernel_MkObjectC_ToString (MkObjectC_ARGS)
  Atl: string [MkObjectC::ToString $inst] C-API
String-Slot - returns the string representation of the inst
 

Detailed Description

MkObjectC - various functions related to the MkObjectS

Function Documentation

◆ atlmkkernel_MkObjectC_ErrorCatch()

static OT_ProcRet atlmkkernel_MkObjectC_ErrorCatch ( MkObjectC_ARGS )
static

Atl: MkErrorC [MkObjectC::ErrorCatch $obj ?exception:errorCode=NULL? ?callfunc:string="MK_NULL"?] C-API
convert a programming-language-error into an atlmkkernel error …

Definition at line 706 of file MkObjectC_atl.c.

706 {
709 MK_EXP exception = NULL;
711 MK_STRN callfunc = NULL;
714 if (MkSysStringIsNULL(callfunc)) {callfunc = OT_GET_CALL_PROC;}
715 MK_ERR retVal = MkObjectErrorCatchTmpl (hdl, exception, callfunc);
716 OT_retObj_SET_ERR(retVal);
717 goto end;
718 error:
720 end:
723}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_Error
#define OT_FRAME_CLEANUP
#define OT_retObj_RETURN
#define OT_GET_CALL_PROC
#define OT_CHECK_OPTIONAL(val)
#define OT_retObj_SET_ERR(nat)
#define OT_CHECK_NOARGS
#define OT_CHECK_STRN(val)
#define OT_SETUP_hdl
#define MkObjectErrorCatchTmpl(...)
#define ErrorCatch_doc
const MK_STRB * MK_STRN
constant string pointer data-type
MK_PTRB const * MK_EXP
exception object pointer
static bool MkSysStringIsNULL(MK_STRN str)
test if string is NULL or EMPTY …
#define OT_CHECK_EXP(val)
The data-type to store and handle the error-condition …

◆ atlmkkernel_MkObjectC_IsNull()

static OT_ProcRet atlmkkernel_MkObjectC_IsNull ( MkObjectC_ARGS )
static

Atl: bool [MkObjectC::IsNull $obj] C-API
ckeck if the object is "MK_NULL"

Definition at line 742 of file MkObjectC_atl.c.

742 {
747 goto end;
748 error:
750 end:
752}
#define OT_retObj_SET_BOL(nat)
#define OT_SETUP_NOARG(d)
#define IsNull_doc
#define OT_SETUP_hdl__null_allow
static bool MkObjectIsNull(MK_OBJ const obj)
ckeck if the object is "MK_NULL"

◆ atlmkkernel_MkObjectC_ToError()

static OT_ProcRet atlmkkernel_MkObjectC_ToError ( MkObjectC_ARGS )
static

Atl: MkErrorC [MkObjectC::ToError $obj] C-API
Error-Slot - return an error-object pre initialized with obj data.

Definition at line 726 of file MkObjectC_atl.c.

726 {
730 MK_ERR retVal = MkObjectToError (hdl);
731 OT_retObj_SET_ERR(retVal);
732 goto end;
733 error:
735 end:
737}
#define ToError_doc
#define MkObjectToError(...)

◆ atlmkkernel_MkObjectC_ToName()

static OT_ProcRet atlmkkernel_MkObjectC_ToName ( MkObjectC_ARGS )
static

Atl: string [MkObjectC::ToName $obj] C-API
Info-Slot - returns brief information about the obj as a string

Definition at line 755 of file MkObjectC_atl.c.

755 {
760 goto end;
761 error:
763 end:
765}
#define OT_retObj_SET_STR(nat)
#define ToName_doc
#define MkObjectToName(...)

◆ atlmkkernel_MkObjectC_ToNameOfClass()

static OT_ProcRet atlmkkernel_MkObjectC_ToNameOfClass ( MkObjectC_ARGS )
static

Atl: string [MkObjectC::ToNameOfClass $obj] C-API
Class-Slot - returns the Atl-Class-Name of the obj as string

Definition at line 768 of file MkObjectC_atl.c.

768 {
773 goto end;
774 error:
776 end:
778}
#define MkObjectToNameOfClassTmpl(hdl)
#define ToNameOfClass_doc

◆ atlmkkernel_MkObjectC_ToNameOfType()

static OT_ProcRet atlmkkernel_MkObjectC_ToNameOfType ( MkObjectC_ARGS )
static

Atl: string [MkObjectC::ToNameOfType $obj] C-API
Type-Slot - returns the LibMkKernel-Type-Name of the obj as a string

Definition at line 781 of file MkObjectC_atl.c.

781 {
786 goto end;
787 error:
789 end:
791}
#define ToNameOfType_doc
#define MkObjectToNameOfType(...)

◆ atlmkkernel_MkObjectC_ToString()

static OT_ProcRet atlmkkernel_MkObjectC_ToString ( MkObjectC_ARGS )
static

Atl: string [MkObjectC::ToString $inst] C-API
String-Slot - returns the string representation of the inst

Definition at line 794 of file MkObjectC_atl.c.

794 {
799 goto end;
800 error:
802 end:
804}
#define ToString_doc
#define MkObjectToString(...)