19 inline MK_PTR MkBufferStreamC::MkBufferStreamC_selfCreateTLS(
MK_OBJ obj) {
20 return new MkBufferStreamC(obj);
25 return MkOBJ_R(inst).obj_protect.isLocal ? MkBufferStreamC_selfCreateTLS(obj) : new MkBufferStreamC(obj);
276 MK_BNP val_out = std::make_pair(val_out_ref.
size,val_out_ref.
data);
331 return (
MK_I8)val_out;
365 if (__retVal__L == NULL) {
368 return MkBufferStreamC::MkBufferStreamC_ObjCreate(
MK_RT_CALL __retVal__L);
377 if (__retVal__L == NULL) {
380 return MkBufferStreamC::MkBufferStreamC_ObjCreate(
MK_RT_CALL __retVal__L);
389 if (__retVal__L == NULL) {
392 return (
MK_OBJ)__retVal__L;
399 if (__retVal__L == NULL) {
402 return MkBufferStreamC::MkBufferStreamC_ObjCreate(
MK_RT_CALL __retVal__L);
409 if (__retVal__L == NULL) {
412 return MkBufferStreamC::MkBufferStreamC_ObjCreate(
MK_RT_CALL __retVal__L);
419 if (__retVal__L == NULL) {
422 return MkBufferStreamC::MkBufferStreamC_ObjCreate(
MK_RT_CALL __retVal__L);
429 if (__retVal__L == NULL) {
432 return MkBufferStreamC::MkBufferStreamC_ObjCreate(
MK_RT_CALL __retVal__L);
439 if (__retVal__L == NULL) {
442 return MkBufferStreamC::MkBufferStreamC_ObjCreate(
MK_RT_CALL __retVal__L);
457 const MK_STRN tlsName_hdl = tlsName.c_str();
623 const MK_STRN val_hdl = val.c_str();
641 const MK_STRN fmt_hdl = fmt.c_str();
659 const MK_STRN fmt_hdl = fmt.c_str();
#define MkErrorC_Check(errObj, errVal)
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE … → C-API: libm...
The CLASS used to store a list of MkBufferS items into a flat array… → C-API: libmkkernel::MkBuffe...
The ABSTRACT-CLASS MkBufferStreamS is used for package-based serialized IO … → C-API: libmkkernel:...
constructor return MK_NULL
reference argument is MK_NULL
static MkBufferC * MkBufferC_ObjNew(MK_RT_ARGS MK_BUF hdl)
return MkBufferC from LibMsgqueObject
MK_BUF getBUF() const
return the LibMsgqueObject from current MkBufferC instance
MK_BUFN getBUFN() const
(const) return the LibMsgqueObject from current MkBufferC instance
MK_BUF getBUF__null_allow() const
return the LibMsgqueObject from current MkBufferC instance
MK_BFL getBFL() const
return the LibMsgqueObject from current MkBufferListC instance
MK_BFLN getBFLN() const
(const) return the LibMsgqueObject from current MkBufferListC instance
static MkBufferListC * MkBufferListC_ObjNew(MK_RT_ARGS MK_BFL hdl)
return MkBufferListC from LibMsgqueObject
MK_BFL getBFL__null_allow() const
return the LibMsgqueObject from current MkBufferListC instance
MK_BUSN getBUSN() const
(const) return the LibMsgqueObject from current MkBufferStreamC instance
MK_BUS getBUS() const
return the LibMsgqueObject from current MkBufferStreamC instance
static MkBufferStreamC * MkBufferStreamC_ObjNew(MK_RT_ARGS MK_BUS hdl)
return MkBufferStreamC from LibMsgqueObject
MkBufferStreamC & operator=(const MkBufferStreamC &buf)
static MkBufferStreamC * Instances()
C++: [static] MkBufferStreamC* MkBufferStreamC::Instances() → C-API get head-instance from linke...
MkBufferStreamC * Next()
C++: MkBufferStreamC* bus.Next() → C-API get next instance from linked-list of MkBufferStreamS ...
MkBufferStreamC * Prev()
C++: MkBufferStreamC* bus.Prev() → C-API get previous instance from linked-list of MkBufferStre...
static MkBufferStreamC * HandleResolve(MK_HDL netHdl)
C++: [static] MkBufferStreamC* MkBufferStreamC::HandleResolve(MK_HDL netHdl) → C-API Handle-Reso...
static MkBufferStreamC * GetNull()
C++: [static] MkBufferStreamC* MkBufferStreamC::GetNull() → C-API Null-Slot - return a MkBufferS...
#define MkBufferStreamHandleResolve(...)
#define MkBufferStreamInstances()
static MK_BUS MkBufferStreamPrev(MK_BUS const bus)
get previous instance from linked-list of MkBufferStreamS type
struct MkBufferStreamS * MK_BUS
class-shortcut for struct MkBufferStreamS *, all shortcut using the XX_YYY syntax (only for public AP...
static MK_BUS MkBufferStreamNext(MK_BUS const bus)
get next instance from linked-list of MkBufferStreamS type
static MK_BUS MkBufferStreamGetNull(void)
Null-Slot - return a MkBufferStreamC typed NULL instance …
void PosToStart()
C++: bus.PosToStart() → C-API set the current-access-position to the start of MkBufferStreamC …
MkBufferStreamC * Copy(const MkBufferStreamC *src) const
C++: MkBufferStreamC* bus.Copy(const MkBufferStreamC* src) → C-API copy the MkBufferStreamC fro...
void ResetFull()
C++: bus.ResetFull() → C-API reset a MkBufferStreamC to the length zero and free allocated stor...
MkBufferStreamC * Reset()
C++: MkBufferStreamC* bus.Reset() → C-API reset a MkBufferStreamC to the length zero …
MkBufferListC * ToBFL() const
C++: MkBufferListC* bus.ToBFL() → C-API convert the bus into a MkBufferListC …
#define MkBufferStreamPosToStart(...)
#define MkBufferStreamToBFL(...)
#define MkBufferStreamCopy(...)
#define MkBufferStreamReset(...)
#define MkBufferStreamResetFull(...)
MkBufferC * ReadBUF()
C++: MkBufferC* bus.ReadBUF() → C-API read a val_out from the MkBufferStreamC …
MK_STRN ReadSTR()
C++: doc_mk_cc_BufferStreamReadSTR → C-API read a val_out from the MkBufferStreamC …
void ReadL_START(MkBufferC *buf=NULL)
C++: bus.ReadL_START(MkBufferC* buf = NULL) → C-API START read a list-item-type from the MkBuff...
MK_LONG ReadLONG()
C++: MK_LONG bus.ReadLONG() → C-API read the long native object from the MkBufferStreamC …
MK_FLT ReadFLT()
C++: doc_mk_cc_BufferStreamReadFLT → C-API read a val_out from the MkBufferStreamC …
void ReadUndo()
C++: bus.ReadUndo() → C-API undo the last MkBufferStreamC READ function call …
void ReadL_END()
C++: bus.ReadL_END() → C-API END read a list-item-type from the MkBufferStreamC …
MK_NUM ReadGetNumItems() const
C++: MK_NUM bus.ReadGetNumItems() → C-API get the number of items left in the MkBufferStreamC …
MK_BOOL ReadItemExists() const
C++: MK_BOOL bus.ReadItemExists() → C-API check if an item exists in the read-data-package …
MK_I8 ReadI8()
C++: doc_mk_cc_BufferStreamReadI8 → C-API read a val_out from the MkBufferStreamC …
MK_BOL ReadBOL()
C++: doc_mk_cc_BufferStreamReadBOL → C-API read a val_out from the MkBufferStreamC …
MkBufferListC * ReadALL(MkBufferListC *val_inout=NULL)
C++: MkBufferListC* bus.ReadALL(MkBufferListC* val_inout = NULL) → C-API get a temporary MkBuff...
MkBufferListC * ReadBFL()
C++: MkBufferListC* bus.ReadBFL() → C-API read a MkBufferListC from the MkBufferStreamC …
MkTypeE ReadGetNextType() const
C++: MkTypeE bus.ReadGetNextType() → C-API get the type (MkTypeE) of the next Item in the MkBuf...
MK_DBL ReadDBL()
C++: doc_mk_cc_BufferStreamReadDBL → C-API read a val_out from the MkBufferStreamC …
MK_BNP ReadBIN()
C++: doc_mk_cc_BufferStreamReadBIN → C-API read a val_out from the MkBufferStreamC …
MK_I32 ReadI32()
C++: doc_mk_cc_BufferStreamReadI32 → C-API read a val_out from the MkBufferStreamC …
MK_I64 ReadI64()
C++: doc_mk_cc_BufferStreamReadI64 → C-API read a val_out from the MkBufferStreamC …
#define MkBufferStreamReadALL(...)
#define MkBufferStreamReadBUF(...)
#define MkBufferStreamReadBFL(...)
#define MkBufferStreamReadFLT(...)
#define MkBufferStreamReadUndo(...)
#define MkBufferStreamReadGetNumItems(...)
#define MkBufferStreamReadI32(...)
#define MkBufferStreamReadBIN(...)
#define MkBufferStreamReadL_START(...)
#define MkBufferStreamReadDBL(...)
#define MkBufferStreamReadI8(...)
#define MkBufferStreamReadGetNextType(...)
#define MkBufferStreamReadI64(...)
#define MkBufferStreamReadBOL(...)
#define MkBufferStreamReadLONG(...)
#define MkBufferStreamReadL_END(...)
#define MkBufferStreamReadSTR(...)
#define MkBufferStreamReadItemExists(...)
MkBufferStreamC * Merge()
C++: [constructor] MkBufferStreamC* bus.Merge() → C-API Merge-Constructor - create a new MkBuffe...
static MkBufferStreamC * Create256(MK_NUM size=0)
C++: [constructor,static] MkBufferStreamC* MkBufferStreamC::Create256(MK_NUM size = 0) → C-API c...
static MkBufferStreamC * Create(MK_NUM size=0)
C++: [constructor,static] MkBufferStreamC* MkBufferStreamC::Create(MK_NUM size = 0) → C-API crea...
MkBufferStreamC * Dup() const
C++: [constructor] MkBufferStreamC* src.Dup() → C-API Dup-Constructor - create a new MkBufferStr...
static MkBufferStreamC * CreateTLS(MK_STRN tlsName, MK_BOOL resetB=true)
C++: [static] MkBufferStreamC* MkBufferStreamC::CreateTLS(MK_STRN tlsName, MK_BOOL resetB = true) → ...
static MkBufferStreamC * Create64(MK_NUM size=0)
C++: [constructor,static] MkBufferStreamC* MkBufferStreamC::Create64(MK_NUM size = 0) → C-API ca...
static MkBufferStreamC * Create1024(MK_NUM size=0)
C++: [constructor,static] MkBufferStreamC* MkBufferStreamC::Create1024(MK_NUM size = 0) → C-API ...
static MkBufferStreamC * Create16384(MK_NUM size=0)
C++: [constructor,static] MkBufferStreamC* MkBufferStreamC::Create16384(MK_NUM size = 0) → C-API ...
#define MkBufferStreamCreate16384(...)
#define MkBufferStreamDup(...)
#define MkBufferStreamCreate(...)
#define MkBufferStreamCreate1024(...)
#define MkBufferStreamCreateTLS(...)
#define MkBufferStreamMerge(...)
#define MkBufferStreamCreate64(...)
#define MkBufferStreamCreate256(...)
void WriteBOL(MK_BOL val)
C++: doc_mk_cc_BufferStreamWriteBOL → C-API write a PRIMITIVE TYPE into the MkBufferStreamC …
void WriteV(MK_STRN fmt,...)
C++: bus.WriteV(MK_STRN fmt, ... ) → C-API write format-string into the MkBufferStreamC …
void WriteBUS_FLAT(const MkBufferStreamC *add)
C++: bus.WriteBUS_FLAT(const MkBufferStreamC* add) → C-API write a MkBufferStreamC into the MkB...
void WriteBUF(const MkBufferC *val)
C++: bus.WriteBUF(const MkBufferC* val) → C-API write a PRIMITIVE TYPE into the MkBufferStrea...
void WriteFLT(MK_FLT val)
C++: doc_mk_cc_BufferStreamWriteFLT → C-API write a PRIMITIVE TYPE into the MkBufferStreamC …
void WriteI32(MK_I32 val)
C++: doc_mk_cc_BufferStreamWriteI32 → C-API write a PRIMITIVE TYPE into the MkBufferStreamC …
void WriteBFL(const MkBufferListC *bfl)
C++: bus.WriteBFL(const MkBufferListC* bfl) → C-API write a MkBufferListC into the MkBufferStre...
void WriteL_START()
C++: bus.WriteL_START() → C-API START write a list-item-type into the MkBufferStreamC …
void WriteBIN(MK_BNP val)
C++: doc_mk_cc_BufferStreamWriteBIN → C-API write a PRIMITIVE TYPE into the MkBufferStreamC …
void WriteVL(MK_STRN fmt, va_list ap)
C++: bus.WriteVL(MK_STRN fmt, va_list ap) → C-API write format-string into the MkBufferStreamC ...
void WriteLONG(MK_LONG val)
C++: bus.WriteLONG(MK_LONG val) → C-API write the long native object into the MkBufferStreamC …
void WriteL_FLAT(MkBufferListC *bfl)
C++: bus.WriteL_FLAT(MkBufferListC* bfl) → C-API write a MkBufferListC FLAT into the MkBufferSt...
void WriteSTR(MK_STRN val, MK_NUM len=-1)
C++: doc_mk_cc_BufferStreamWriteSTR → C-API write a PRIMITIVE TYPE into the MkBufferStreamC …
void WriteI8(MK_I8 val)
C++: doc_mk_cc_BufferStreamWriteI8 → C-API write a PRIMITIVE TYPE into the MkBufferStreamC …
void WriteL_END()
C++: bus.WriteL_END() → C-API END write a list-item-type into the MkBufferStreamC …
void WriteI64(MK_I64 val)
C++: doc_mk_cc_BufferStreamWriteI64 → C-API write a PRIMITIVE TYPE into the MkBufferStreamC …
void WriteHDL(MK_I32 val)
C++: bus.WriteHDL(MK_I32 val) → C-API write the handle into the MkBufferStreamC …
void WriteDBL(MK_DBL val)
C++: doc_mk_cc_BufferStreamWriteDBL → C-API write a PRIMITIVE TYPE into the MkBufferStreamC …
#define MkBufferStreamWriteI8(...)
#define MkBufferStreamWriteBUF(...)
#define MkBufferStreamWriteL_END(...)
#define MkBufferStreamWriteDBL(...)
#define MkBufferStreamWriteVL(...)
#define MkBufferStreamWriteBOL(...)
#define MkBufferStreamWriteL_FLAT(...)
#define MkBufferStreamWriteLONG(...)
#define MkBufferStreamWriteBIN(...)
#define MkBufferStreamWriteBUS_FLAT(...)
#define MkBufferStreamWriteSTR(...)
#define MkBufferStreamWriteI64(...)
#define MkBufferStreamWriteHDL(...)
#define MkBufferStreamWriteBFL(...)
#define MkBufferStreamWriteL_START(...)
#define MkBufferStreamWriteFLT(...)
#define MkBufferStreamWriteI32(...)
static MkBinaryR MkBinaryCreate(MK_SIZE size, MK_BINN data)
create a binary from data and size ...
#define MK_UNUSED
mark unnused variables and functions
MkTypeE
basic data-types supported by Programming-Language-Micro-Kernel (PLMK) …
MkErrorE
collection for the different error-codes …
double MK_DBL
8 byte double data-type
unsigned char MK_BOL
1 byte boolean data-type
signed char MK_I8
1 byte byte data-type
float MK_FLT
4 byte float data-type
signed long long MK_I64
8 byte wide integer data-type
long MK_LONG
4/8 byte long data-type
bool MK_BOOL
real bool data-type
int32_t MK_HDL
4 byte int handle data-type
int32_t MK_NUM
array size data-type ('num' items in array …
signed int MK_I32
4 byte integer data-type
MK_PTRB * MK_PTR
generic pointer data-type
const MK_STRB * MK_STRN
constant string pointer data-type
void ErrorCheck(enum MkErrorE err, MK_STRN const caller=__builtin_FUNCTION(), MK_I32 const line=__builtin_LINE()) const
void atomInit(MK_OBJ obj)
struct MkObjectS * MK_OBJ
class-shortcut for struct MkObjectS *, all shortcut using the XX_YYY syntax (only for public API) …
#define MkOBJ_R(x)
cast a known-object into an MkObjectS reference
namespace for the CcMkKernel "C++"-API
std::pair< MK_SIZE, MK_BINN > MK_BNP
binary data default format …
MK_BINN data
pointer to the binary data
MK_SIZE size
size of the data pointer
The CLASS used to store a list of MkBufferS items into a flat array…
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE …
The ABSTRACT-CLASS MkBufferStreamS is used for package-based serialized IO …