theKernel 10.0
Loading...
Searching...
No Matches
MkBufferListC_Index_CC_API

MkBufferListC - various functions to access a MkBufferListS by indexMore...

+ Collaboration diagram for MkBufferListC_Index_CC_API:

Functions

MkBufferCccmkkernel::MkBufferListC::IndexGetBUF (MK_NUM index)
  C++: MkBufferC* bfl.IndexGetBUF(MK_NUM index) C-API
get the index element from MkBufferListC ... if not available… create it. …
 
MkBufferCccmkkernel::MkBufferListC::IndexExtract (MK_NUM index=0)
  C++: MkBufferC* bfl.IndexExtract(MK_NUM index = 0) C-API
extract (read & delete) the index object from bfl
 
MkBufferCccmkkernel::MkBufferListC::IndexGet (MK_NUM index) const
  C++: MkBufferC* bfl.IndexGet(MK_NUM index) C-API
get (read only) the index object from bfl
 
void ccmkkernel::MkBufferListC::IndexDelete (MK_NUM index, MK_NUM numitems=1, MK_BOOL doDelete=true)
  C++: bfl.IndexDelete(MK_NUM index, MK_NUM numitems = 1, MK_BOOL doDelete = true) C-API
delete the index'th list item from the MkBufferListS object …
 
MK_STRN ccmkkernel::MkBufferListC::IndexGetSTR (MK_NUM index)
  C++: MK_STRN bfl.IndexGetSTR(MK_NUM index) C-API
get the index element from MkBufferListC ... as string. …
 
void ccmkkernel::MkBufferListC::IndexSet (MK_NUM index, MkBufferC *buf)
  C++: bfl.IndexSet(MK_NUM index, MkBufferC* buf) C-API
set the index object from bfl
 
void ccmkkernel::MkBufferListC::IndexSet (MK_NUM index, const MkBufferC &buf)
  C++: bfl.IndexSet(MK_NUM index, MkBufferC* buf) C-API
set the index object from bfl
 
void ccmkkernel::MkBufferListC::IndexSetBUF (MK_NUM index, MkBufferC *buf)
  C++: bfl.IndexSetBUF(MK_NUM index, MkBufferC* buf) C-API
set the index element from MkBufferListC ... if not available… createspace …
 
void ccmkkernel::MkBufferListC::IndexSetBUF (MK_NUM index, const MkBufferC &buf)
  C++: bfl.IndexSetBUF(MK_NUM index, MkBufferC* buf) C-API
set the index element from MkBufferListC ... if not available… createspace …
 
void ccmkkernel::MkBufferListC::IndexSetSTR (MK_NUM index, MK_STRN str)
  C++: bfl.IndexSetSTR(MK_NUM index, MK_STRN str) C-API
set the index element from MkBufferListC ... to string… if not available… create space …
 
void ccmkkernel::MkBufferListC::IndexSetSTR (MK_NUM index, const std::string &str)
  C++: bfl.IndexSetSTR(MK_NUM index, MK_STRN str) C-API
set the index element from MkBufferListC ... to string… if not available… create space …
 

Detailed Description

MkBufferListC - various functions to access a MkBufferListS by index

Function Documentation

◆ IndexDelete()

void ccmkkernel::MkBufferListC::IndexDelete ( MK_NUM index,
MK_NUM numitems = 1,
MK_BOOL doDelete = true )
inline

C++: bfl.IndexDelete(MK_NUM index, MK_NUM numitems = 1, MK_BOOL doDelete = true) C-API
delete the index'th list item from the MkBufferListS object …

Definition at line 605 of file MkBufferListC_inline_cc.hh.

605 {
606 MK_UNUSED auto bfl = getBFL();
607 enum MkErrorE errVal = MkBufferListIndexDelete(bfl, index, numitems, doDelete);
608 MkErrorC_Check(bfl, errVal);
609 }
#define MkErrorC_Check(errObj, errVal)
MK_BFL getBFL() const
return the LibMsgqueObject from current MkBufferListC instance
#define MkBufferListIndexDelete(...)
#define MK_UNUSED
mark unnused variables and functions
MkErrorE
collection for the different error-codes …

◆ IndexExtract()

MkBufferC * ccmkkernel::MkBufferListC::IndexExtract ( MK_NUM index = 0)
inline

C++: MkBufferC* bfl.IndexExtract(MK_NUM index = 0) C-API
extract (read & delete) the index object from bfl

Definition at line 585 of file MkBufferListC_inline_cc.hh.

585 {
586 MK_UNUSED auto bfl = getBFL();
587 MK_BUF val_out;
588 enum MkErrorE errVal = MkBufferListIndexExtract(bfl, index, &val_out);
589 MkErrorC_Check(bfl, errVal);
591 }
static MkBufferC * MkBufferC_ObjNew(MK_RT_ARGS MK_BUF hdl)
return MkBufferC from LibMsgqueObject
struct MkBufferS * MK_BUF
class-shortcut for struct MkBufferS *, all shortcut using the XX_YYY syntax (only for public API) …
#define MkBufferListIndexExtract(...)
#define MK_RT_CALL

◆ IndexGet()

MkBufferC * ccmkkernel::MkBufferListC::IndexGet ( MK_NUM index) const
inline

C++: MkBufferC* bfl.IndexGet(MK_NUM index) C-API
get (read only) the index object from bfl

Definition at line 594 of file MkBufferListC_inline_cc.hh.

594 {
595 MK_UNUSED auto bfl = getBFLN();
596 MK_BUF val_out;
597 enum MkErrorE errVal = MkBufferListIndexGet(bfl, index, &val_out);
598 MkErrorC_Check(bfl, errVal);
600 }
MK_BFLN getBFLN() const
(const) return the LibMsgqueObject from current MkBufferListC instance
#define MkBufferListIndexGet(...)

◆ IndexGetBUF()

MkBufferC * ccmkkernel::MkBufferListC::IndexGetBUF ( MK_NUM index)
inline

C++: MkBufferC* bfl.IndexGetBUF(MK_NUM index) C-API
get the index element from MkBufferListC ... if not available… create it. …

Definition at line 576 of file MkBufferListC_inline_cc.hh.

576 {
577 MK_UNUSED auto bfl = getBFL();
578 MK_BUF __retVal__L = MkBufferListIndexGetBUF(bfl, index);
579 return MkBufferC::MkBufferC_ObjNew(MK_RT_CALL __retVal__L);
580 }
#define MkBufferListIndexGetBUF(...)

◆ IndexGetSTR()

MK_STRN ccmkkernel::MkBufferListC::IndexGetSTR ( MK_NUM index)
inline

C++: MK_STRN bfl.IndexGetSTR(MK_NUM index) C-API
get the index element from MkBufferListC ... as string. …

Definition at line 612 of file MkBufferListC_inline_cc.hh.

612 {
613 MK_UNUSED auto bfl = getBFL();
614 MK_STRN __retVal__L = MkBufferListIndexGetSTR(bfl, index);
615 return __retVal__L;
616 }
#define MkBufferListIndexGetSTR(...)
const MK_STRB * MK_STRN
constant string pointer data-type

◆ IndexSet() [1/2]

void ccmkkernel::MkBufferListC::IndexSet ( MK_NUM index,
const MkBufferC & buf )
inline

C++: bfl.IndexSet(MK_NUM index, MkBufferC* buf) C-API
set the index object from bfl

Definition at line 627 of file MkBufferListC_inline_cc.hh.

627 {
628 MK_UNUSED auto bfl = getBFL();
629 const MK_BUF buf_hdl = MkBufferC::getBUF(buf);
630 enum MkErrorE errVal = MkBufferListIndexSet(bfl, index, buf_hdl);
631 MkErrorC_Check(bfl, errVal);
632 }
MK_BUF getBUF() const
return the LibMsgqueObject from current MkBufferC instance
#define MkBufferListIndexSet(...)

◆ IndexSet() [2/2]

void ccmkkernel::MkBufferListC::IndexSet ( MK_NUM index,
MkBufferC * buf )
inline

C++: bfl.IndexSet(MK_NUM index, MkBufferC* buf) C-API
set the index object from bfl

Definition at line 619 of file MkBufferListC_inline_cc.hh.

619 {
620 MK_UNUSED auto bfl = getBFL();
621 MK_BUF buf_hdl = MkBufferC::getBUF(buf);
622 enum MkErrorE errVal = MkBufferListIndexSet(bfl, index, buf_hdl);
623 MkErrorC_Check(bfl, errVal);
624 }

◆ IndexSetBUF() [1/2]

void ccmkkernel::MkBufferListC::IndexSetBUF ( MK_NUM index,
const MkBufferC & buf )
inline

C++: bfl.IndexSetBUF(MK_NUM index, MkBufferC* buf) C-API
set the index element from MkBufferListC ... if not available… createspace …

Definition at line 642 of file MkBufferListC_inline_cc.hh.

642 {
643 MK_UNUSED auto bfl = getBFL();
644 const MK_BUF buf_hdl = MkBufferC::getBUF(buf);
645 MkBufferListIndexSetBUF(bfl, index, buf_hdl);
646 }
#define MkBufferListIndexSetBUF(...)

◆ IndexSetBUF() [2/2]

void ccmkkernel::MkBufferListC::IndexSetBUF ( MK_NUM index,
MkBufferC * buf )
inline

C++: bfl.IndexSetBUF(MK_NUM index, MkBufferC* buf) C-API
set the index element from MkBufferListC ... if not available… createspace …

Definition at line 635 of file MkBufferListC_inline_cc.hh.

635 {
636 MK_UNUSED auto bfl = getBFL();
637 MK_BUF buf_hdl = MkBufferC::getBUF(buf);
638 MkBufferListIndexSetBUF(bfl, index, buf_hdl);
639 }

◆ IndexSetSTR() [1/2]

void ccmkkernel::MkBufferListC::IndexSetSTR ( MK_NUM index,
const std::string & str )
inline

C++: bfl.IndexSetSTR(MK_NUM index, MK_STRN str) C-API
set the index element from MkBufferListC ... to string… if not available… create space …

Definition at line 655 of file MkBufferListC_inline_cc.hh.

655 {
656 MK_UNUSED auto bfl = getBFL();
657 const MK_STRN str_hdl = str.c_str();
658 MkBufferListIndexSetSTR(bfl, index, str_hdl);
659 }
#define MkBufferListIndexSetSTR(...)

◆ IndexSetSTR() [2/2]

void ccmkkernel::MkBufferListC::IndexSetSTR ( MK_NUM index,
MK_STRN str )
inline

C++: bfl.IndexSetSTR(MK_NUM index, MK_STRN str) C-API
set the index element from MkBufferListC ... to string… if not available… create space …

Definition at line 649 of file MkBufferListC_inline_cc.hh.

649 {
650 MK_UNUSED auto bfl = getBFL();
651 MkBufferListIndexSetSTR(bfl, index, str);
652 }