theKernel 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard
c - tcl - py - jv - cc
Loading...
Searching...
No Matches
MkObjectC_Class_CC_API

MkObjectC - define the class … More...

+ Collaboration diagram for MkObjectC_Class_CC_API:

Functions

static MkObjectCccmkkernel::MkObjectC::HandleResolve (MK_HDL netHdl)
  C++: [static] MkObjectC* MkObjectC::HandleResolve(MK_HDL netHdl) C-API
Handle-Resolve-Slot - return a MkObjectC from netHdl or MK_NULL if invalid…
 
void ccmkkernel::MkObjectC::HandleDelete ()
  C++: netObj.HandleDelete() C-API
Handle-Delete-Slot - delete a netObj from handle-storage …
 
MK_HDL ccmkkernel::MkObjectC::HandleGet ()
  C++: MK_HDL obj.HandleGet() C-API
Handle-Get-Slot - returns a export-hdl to the MkObjectC useable for external storage
 
static void ccmkkernel::MkObjectC::HandleDeleteByNetHdl (MK_HDL netHdl)
  C++: [static] MkObjectC::HandleDeleteByNetHdl(MK_HDL netHdl) C-API
Handle-Delete-Slot - delete a netHdl from handle-storage …
 
MkObjectCccmkkernel::MkObjectC::Next ()
  C++: MkObjectC* obj.Next() C-API
get next instance from linked-list of MkObjectS type
 
MkObjectCccmkkernel::MkObjectC::Prev ()
  C++: MkObjectC* obj.Prev() C-API
get previous instance from linked-list of MkObjectS type
 
static MkObjectCccmkkernel::MkObjectC::Instances ()
  C++: [static] MkObjectC* MkObjectC::Instances() C-API
get head-instance from linked-list of MkObjectS type …
 
static MkObjectCccmkkernel::MkObjectC::GetNull ()
  C++: [static] MkObjectC* MkObjectC::GetNull() C-API
Null-Slot - return a MkObjectC typed NULL instance …
 

Detailed Description

MkObjectC - define the class …

Function Documentation

◆ GetNull()

MkObjectC * ccmkkernel::MkObjectC::GetNull ( )
inlinestatic

C++: [static] MkObjectC* MkObjectC::GetNull() C-API
Null-Slot - return a MkObjectC typed NULL instance …

Definition at line 109 of file MkObjectC_inline_cc.hh.

109 {
111 MK_OBJ __retVal__L = MkObjectGetNull();
112 return MkObjectC::MkObjectC_ObjNew(MK_RT_CALL __retVal__L);
113 }
static MkObjectC * MkObjectC_ObjNew(MK_RT const mkrt, MK_OBJ hdl)
return MkObjectC from LibMsgqueObject
MK_OBJ MkObjectGetNull(void)
Null-Slot - return a MkObjectC typed NULL instance …
struct MkObjectS * MK_OBJ
class-shortcut for struct MkObjectS *, all shortcut using the XX_YYY syntax (only for public API) …
#define MK_RT_CALL
#define MkRtSetup_NULL

◆ HandleDelete()

void ccmkkernel::MkObjectC::HandleDelete ( )
inline

C++: netObj.HandleDelete() C-API
Handle-Delete-Slot - delete a netObj from handle-storage …

Definition at line 48 of file MkObjectC_inline_cc.hh.

48 {
49 MK_UNUSED auto netObj = getOBJ(MK_NULL_NO);
50 MkRtSetup_O(netObj);
52 }
#define MK_NULL_NO
flag, not allow NULL
#define MK_UNUSED
mark unnused variables and functions
MK_OBJ getOBJ(bool nullB=MK_NULL_NO) const
return the LibMsgqueObject from current MkObjectC instance
#define MkObjectHandleDelete(...)
#define MkRtSetup_O(o)

◆ HandleDeleteByNetHdl()

void ccmkkernel::MkObjectC::HandleDeleteByNetHdl ( MK_HDL netHdl)
inlinestatic

C++: [static] MkObjectC::HandleDeleteByNetHdl(MK_HDL netHdl) C-API
Handle-Delete-Slot - delete a netHdl from handle-storage …

Definition at line 60 of file MkObjectC_inline_cc.hh.

60 {
63 }
#define MkObjectHandleDeleteByNetHdl(...)

◆ HandleGet()

MK_HDL ccmkkernel::MkObjectC::HandleGet ( )
inline

C++: MK_HDL obj.HandleGet() C-API
Handle-Get-Slot - returns a export-hdl to the MkObjectC useable for external storage

Definition at line 618 of file MkObjectC_inline_cc.hh.

618 {
619 return ( hdl ? MkObjectHandleGet_NULL(hdl) : 0);
620 }
#define MkObjectHandleGet_NULL(...)

◆ HandleResolve()

MkObjectC * ccmkkernel::MkObjectC::HandleResolve ( MK_HDL netHdl)
inlinestatic

C++: [static] MkObjectC* MkObjectC::HandleResolve(MK_HDL netHdl) C-API
Handle-Resolve-Slot - return a MkObjectC from netHdl or MK_NULL if invalid…

Definition at line 39 of file MkObjectC_inline_cc.hh.

39 {
41 MK_OBJ __retVal__L = MkObjectHandleResolve(netHdl);
42 return MkObjectC::MkObjectC_ObjNew(MK_RT_CALL __retVal__L);
43 }
#define MkObjectHandleResolve(...)

◆ Instances()

MkObjectC * ccmkkernel::MkObjectC::Instances ( )
inlinestatic

C++: [static] MkObjectC* MkObjectC::Instances() C-API
get head-instance from linked-list of MkObjectS type …

Definition at line 93 of file MkObjectC_inline_cc.hh.

93 {
95 MK_OBJ __retVal__L = MkObjectInstances();
96 return MkObjectC::MkObjectC_ObjNew(MK_RT_CALL __retVal__L);
97 }
#define MkObjectInstances()

◆ Next()

MkObjectC * ccmkkernel::MkObjectC::Next ( )
inline

C++: MkObjectC* obj.Next() C-API
get next instance from linked-list of MkObjectS type

Definition at line 75 of file MkObjectC_inline_cc.hh.

75 {
76 MK_UNUSED auto obj = getOBJ(MK_NULL_NO);
77 MkRtSetup_O(obj);
78 MK_OBJ __retVal__L = MkObjectNext(obj);
79 return MkObjectC::MkObjectC_ObjNew(MK_RT_CALL __retVal__L);
80 }
MK_ATTR_HDL MK_OBJ MkObjectNext(MK_OBJ const obj)
get next instance from linked-list of MkObjectS type

◆ Prev()

MkObjectC * ccmkkernel::MkObjectC::Prev ( )
inline

C++: MkObjectC* obj.Prev() C-API
get previous instance from linked-list of MkObjectS type

Definition at line 83 of file MkObjectC_inline_cc.hh.

83 {
84 MK_UNUSED auto obj = getOBJ(MK_NULL_NO);
85 MkRtSetup_O(obj);
86 MK_OBJ __retVal__L = MkObjectPrev(obj);
87 return MkObjectC::MkObjectC_ObjNew(MK_RT_CALL __retVal__L);
88 }
MK_ATTR_HDL MK_OBJ MkObjectPrev(MK_OBJ const obj)
get previous instance from linked-list of MkObjectS type