13#define MkBufferStreamC_selfCreate_overload
17 class MkBufferStreamC;
33 inline static MK_PTR MkBufferStreamC_selfCreateTLS (
MK_OBJ obj);
49 #ifdef MkBufferStreamC_selfCreate_overload
58 delete static_cast<MkBufferStreamC*
>(self);
62 MkBufferStreamC* selfO =
static_cast<MkBufferStreamC*
>(self);
73#ifndef META_IS_MkObjectC
79#ifndef META_IS_MkObjectC
121 return clsHdl ?
reinterpret_cast<MK_BUS>(clsHdl->
hdl) : NULL;
133 return clsHdl ?
reinterpret_cast<MK_BUSN>(clsHdl->
hdl) : NULL;
472 void WriteV (
const std::string& fmt, ... );
478 void WriteVL (
const std::string& fmt, va_list ap);
#define InstHdlIsNullError()
#define ClassHdlIsNullError(cls)
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:...
MkKernel PACKAGE - The package is the toplevel structure of the Programming-Language-Micro-Kernel (PL...
object header … → C-API: libmkkernel::MkObjectS
static thread_local MkBufferStreamC MK_NULL_REF
static MK_BUS getBUS(MkBufferStreamC *clsHdl)
return LibMsgqueObject from current MkBufferStreamC pointer
static MK_BUS getBUS(const MkBufferStreamC &clsHdl)
return LibMsgqueObject from current MkBufferStreamC reference
MkBufferStreamC(MK_BUS hdl)
static MK_BUSN getBUSN(const MkBufferStreamC *clsHdl)
(const) return LibMsgqueObject from current MkBufferStreamC pointer
static MK_BUSN getBUSN__null_allow(const MkBufferStreamC &clsHdl)
(const) return LibMsgqueObject from current MkBufferStreamC reference
static MK_BUS getBUS__null_allow(MkBufferStreamC *clsHdl)
return LibMsgqueObject from current MkBufferStreamC pointer
MK_BUSN getBUSN() const
(const) return the LibMsgqueObject from current MkBufferStreamC instance
MK_BUS getBUS() const
return the LibMsgqueObject from current MkBufferStreamC instance
MK_BUSN getBUSN__null_allow() const
(const) return the LibMsgqueObject from current MkBufferStreamC instance
MK_BUS getBUS__null_allow() const
return the LibMsgqueObject from current MkBufferStreamC instance
static MkBufferStreamC * MkBufferStreamC_ObjNew(MK_RT_ARGS MK_BUS hdl)
return MkBufferStreamC from LibMsgqueObject
static MK_BUS getBUS__null_allow(const MkBufferStreamC &clsHdl)
return LibMsgqueObject from current MkBufferStreamC reference
bool Check() const
check if pointer is still valid
MkBufferStreamC & operator=(const MkBufferStreamC &buf)
static MK_BUSN getBUSN(const MkBufferStreamC &clsHdl)
(const) return LibMsgqueObject from current MkBufferStreamC reference
static MK_BUSN getBUSN__null_allow(const MkBufferStreamC *clsHdl)
(const) return LibMsgqueObject from current MkBufferStreamC pointer
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...
struct MkBufferStreamS * MK_BUS
class-shortcut for struct MkBufferStreamS *, all shortcut using the XX_YYY syntax (only for public AP...
#define MkBufferStreamC_X2obj(x)
static bool MkBusCheck(MK_MNGN mng)
check MkBufferStreamS -> libmkkernel::MkObjectS::signature …
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 …
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 …
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...
MkBufferStreamC(MK_NUM size=0)
C++: [constructor,static] MkBufferStreamC* MkBufferStreamC::Create(MK_NUM size = 0) → C-API crea...
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 ...
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 …
MkTypeE
basic data-types supported by Programming-Language-Micro-Kernel (PLMK) …
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
static MK_PTR atomObjCreate(MK_RT_ARGS MK_OBJ obj)
void atomInit(MK_OBJ obj)
static MK_PTR atomObjNew(MK_RT_ARGS MK_OBJ obj)
struct MkObjectS * MK_OBJ
class-shortcut for struct MkObjectS *, all shortcut using the XX_YYY syntax (only for public API) …
namespace for the CcMkKernel "C++"-API
std::pair< MK_SIZE, MK_BINN > MK_BNP
The ABSTRACT-CLASS MkBufferStreamS is used for package-based serialized IO … → C-API: libmkkernel:...
The ABSTRACT-CLASS MkBufferStreamS is used for package-based serialized IO …