theKernel 10.0
|
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE … → C-API: libmkkernel::MkBufferS More...
#include <MkBufferC_cc.hh>
Public Member Functions | |
MkBufferC (MK_BUF hdl) | |
MK_BUF | getBUF () const |
return the LibMsgqueObject from current MkBufferC instance | |
MK_BUF | getBUF__null_allow () const |
return the LibMsgqueObject from current MkBufferC instance | |
MK_BUFN | getBUFN () const |
(const) return the LibMsgqueObject from current MkBufferC instance | |
MK_BUFN | getBUFN__null_allow () const |
(const) return the LibMsgqueObject from current MkBufferC instance | |
bool | Check () const |
check if pointer is still valid | |
MkBufferC (const MkBufferC *hdl) | |
MkBufferC (const MkBufferC &ref) | |
MkBufferC & | operator= (const MkBufferC &buf) |
MkBufferC & | operator= (const MkBufferC *buf) |
MkBufferC * | AppendC (MK_STRN val) |
C++: → C-API append a single string to a MkBufferC object … | |
MkBufferC * | AppendC (const std::string &val) |
C++: → C-API append a single string to a MkBufferC object … | |
MkBufferC * | AppendStringR (const std::string &val) |
C++: → C-API append a single string to a MkBufferC object … | |
MK_I32 | AppendV (MK_FST printfmt,...) |
C++: → C-API append a single string with format and ... arguments to a MkBuffer64S … | |
MK_I32 | AppendVL (MK_FST printfmt, va_list var_list) |
C++: → C-API append a single string with format and var_list arguments to a MkBuffer64S … | |
MK_NUM | Pop (MK_STRN val) |
C++: → C-API delete str from the MkBufferC … | |
MK_NUM | Pop (const std::string &val) |
C++: → C-API delete str from the MkBufferC … | |
MK_NUM | Push (MK_STRN val) |
C++: → C-API add str to the MkBufferC … | |
MK_NUM | Push (const std::string &val) |
C++: → C-API add str to the MkBufferC … | |
MkBufferC * | ToObject () |
C++: → C-API return the native language object from a MkBufferC … | |
MkBufferC * | Next () |
C++: → C-API get next instance from linked-list of MkBufferS type | |
MkBufferC * | Prev () |
C++: → C-API get previous instance from linked-list of MkBufferS type | |
MkBufferListC * | GetBFL (MkBufferListC *val_inout=NULL) const |
C++: → C-API function to read an MkBufferListC from an MkBufferC object … | |
MkBufferC * | GetBUF () |
C++: → C-API get a val_out from a MkBufferC … | |
MK_BNP | GetBIN () const |
C++: doc_mk_cc_BufferGetBIN → C-API get a val_out from a MkBufferC … | |
MK_BOL | GetBOL () const |
C++: doc_mk_cc_BufferGetBOL → C-API get a val_out from a MkBufferC … | |
MK_DBL | GetDBL () const |
C++: doc_mk_cc_BufferGetDBL → C-API get a val_out from a MkBufferC … | |
MK_FLT | GetFLT () const |
C++: doc_mk_cc_BufferGetFLT → C-API get a val_out from a MkBufferC … | |
MK_I16 | GetI16 () const |
C++: doc_mk_cc_BufferGetI16 → C-API get a val_out from a MkBufferC … | |
MK_I32 | GetI32 () const |
C++: doc_mk_cc_BufferGetI32 → C-API get a val_out from a MkBufferC … | |
MK_I64 | GetI64 () const |
C++: doc_mk_cc_BufferGetI64 → C-API get a val_out from a MkBufferC … | |
MK_I8 | GetI8 () const |
C++: doc_mk_cc_BufferGetI8 → C-API get a val_out from a MkBufferC … | |
MK_STRN | GetSTR () const |
C++: doc_mk_cc_BufferGetSTR → C-API get a val_out from a MkBufferC … | |
std::string | GetStringR () const |
C++: → C-API get a val_out from a MkBufferC … | |
MK_STRB | GetType1 () const |
C++: → C-API return the type from a MkBufferC as single character value … | |
MkTypeE | GetType2 () const |
C++: → C-API return the MkTypeE from a MkBufferC … | |
MK_STRN | GetType3 () const |
C++: → C-API return the type from a MkBufferC as single character string … | |
MK_BOOL | IsLocal () const |
C++: → C-API Check if the MkBufferC is local (temporary), not local mean global … | |
void | LogS (MK_STRN varname="buf", const MkObjectC *fmtobj=NULL, MK_STRN callfunc=__builtin_FUNCTION()) const |
C++: → C-API log the short MkBufferC object data to the MkLogFileC (default: stderr) … | |
MkBufferC * | Copy (const MkBufferC *srce) const |
C++: → C-API copy the MkBufferC from srce to dest … | |
MkBufferC * | Copy (const MkBufferC &srce) const |
C++: → C-API copy the MkBufferC from srce to dest … | |
MkBufferC * | Reset () |
C++: → C-API reset a MkBufferC to the length zero … | |
MkBufferC * | SizeAdd (MK_NUM size) |
C++: → C-API add size storage to the buf … | |
MkBufferC * | SizeNew (MK_NUM size) |
C++: → C-API alloc min size storage to the buf … | |
MkBufferC * | Temp () const |
C++: → C-API create a temporary copy of the MkBufferC buf … | |
void | CastTo (MkTypeE typ) |
C++: → C-API change the type of an MkBufferC to type … | |
MK_I32 | Cmp (const MkBufferC *buf2) const |
C++: → C-API compare TWO MkBufferC objects like strcmp do it for strings … | |
MK_I32 | Cmp (const MkBufferC &buf2) const |
C++: → C-API compare TWO MkBufferC objects like strcmp do it for strings … | |
void | ResetFull () |
C++: → C-API reset a MkBufferC to the length zero and free allocated storage… | |
MkBufferC * | SetBIN (MK_BNP val) |
C++: doc_mk_cc_BufferSetBIN → C-API Set the MkBufferC to the val … | |
MkBufferC * | SetBOL (MK_BOL val) |
C++: doc_mk_cc_BufferSetBOL → C-API Set the MkBufferC to the val … | |
MkBufferC * | SetBUF (const MkBufferC *val) |
C++: → C-API Set the MkBufferC to the val … | |
MkBufferC * | SetBUF (const MkBufferC &val) |
C++: → C-API Set the MkBufferC to the val … | |
MkBufferC * | SetBinaryR (MK_BNP val) |
C++: → C-API Set the MkBufferC to the val … | |
MkBufferC * | SetDBL (MK_DBL val) |
C++: doc_mk_cc_BufferSetDBL → C-API Set the MkBufferC to the val … | |
MkBufferC * | SetFLT (MK_FLT val) |
C++: doc_mk_cc_BufferSetFLT → C-API Set the MkBufferC to the val … | |
MkBufferC * | SetI16 (MK_I16 val) |
C++: doc_mk_cc_BufferSetI16 → C-API Set the MkBufferC to the val … | |
MkBufferC * | SetI32 (MK_I32 val) |
C++: doc_mk_cc_BufferSetI32 → C-API Set the MkBufferC to the val … | |
MkBufferC * | SetI64 (MK_I64 val) |
C++: doc_mk_cc_BufferSetI64 → C-API Set the MkBufferC to the val … | |
MkBufferC * | SetI8 (MK_I8 val) |
C++: doc_mk_cc_BufferSetI8 → C-API Set the MkBufferC to the val … | |
MkBufferC * | SetSTR (MK_STRN val) |
C++: doc_mk_cc_BufferSetSTR → C-API Set the MkBufferC to the val … | |
MkBufferC * | SetSTR (const std::string &val) |
C++: doc_mk_cc_BufferSetSTR → C-API Set the MkBufferC to the val … | |
MkBufferC * | SetStringR (const std::string &val) |
C++: → C-API Set the MkBufferC to the val … | |
MkBufferC * | SetV (MK_FST val,...) |
C++: → C-API set the MkBufferC using a ... value … | |
MkBufferC * | SetVL (MK_FST val, va_list var_list) |
C++: → C-API set the MkBufferC using a va_list value … | |
MkBufferC * | Merge () |
C++: → C-API Merge-Constructor - create a new MkBufferC as a merge from an existing object … | |
MkBufferC * | Dup () const |
C++: → C-API Dup-Constructor - create a new MkBufferC instance as copy from an existing MkBufferC instance | |
MkBufferC (MK_NUM size=0) | |
C++: → C-API Constructor - create a new MkBufferC with minimum size of internal storage … | |
![]() | |
MK_OBJ | getOBJ () const |
return the LibMsgqueObject from current MkObjectC instance | |
MK_OBJ | getOBJ__null_allow () const |
return the LibMsgqueObject from current MkObjectC instance | |
MK_OBJN | getOBJN () const |
(const) return the LibMsgqueObject from current MkObjectC instance | |
MK_OBJN | getOBJN__null_allow () const |
(const) return the LibMsgqueObject from current MkObjectC instance | |
bool | Check () const |
check if pointer is still valid | |
virtual | ~MkObjectC () |
MK_MNG | getMNG () const |
MK_STRN | ToNativeNameOfClass () const |
MK_STR | SysStrDup (MK_STRN str) |
strdup syscall with ccmkkernel error plugin → C-API: libmkkernel::MkSysStrDup | |
void | SysFree (MK_PTR tgt) |
implements the ccmkkernel API object: MkSysFree | |
void | Sleep (unsigned int const sec) |
sleep syscall with ccmkkernel error plugin → C-API: libmkkernel::MkSysSleep | |
void | USleep (unsigned int const usec) |
usleep syscall with ccmkkernel error plugin → C-API: libmkkernel::MkSysUSleep | |
void | HandleDelete () |
C++: → C-API Handle-Delete-Slot - delete a netObj from handle-storage … | |
MK_BOOL | HandleExists () |
C++: → C-API check if obj has already a handle defined… | |
MK_HDL | HandleGet () |
C++: → C-API Handle-Get-Slot - returns a export-hdl to the MkObjectC useable for external storage | |
MK_HDL | HandleGetOfType () |
C++: → C-API Export-Slot - returns typeHdl of the obj . | |
MK_HDL | HandleGetOr0 () |
C++: → C-API return export-hdl or 0 in not created… | |
MkObjectC * | Next () |
C++: → C-API get next instance from linked-list of MkObjectS type | |
MkObjectC * | Prev () |
C++: → C-API get previous instance from linked-list of MkObjectS type | |
void | DbgDump (MK_STRN message="var", MK_STRN callfunc=__builtin_FUNCTION()) const |
C++: → C-API debug: Dump a instance to stderr with LNG and MQ internal data… | |
void | DbgL (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix … | |
void | DbgL (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix … | |
void | DbgLogC (MK_STRN callfunc=__builtin_FUNCTION()) const |
C++: → C-API debug: write a short-obj-summary to MkLogFileC (default: stderr) … | |
void | DbgO (MK_STRN callfunc=__builtin_FUNCTION()) const |
C++: → C-API debug: write the object-details to MkLogFileC (default: stderr) … | |
void | DbgSTACK (MK_I32 skip=0, MK_I32 num=-1, MK_STRN callfunc=__builtin_FUNCTION()) const |
C++: → C-API debug: write the stack-trace to MkLogFileC (default: stderr) … | |
void | LogC (MK_STRN message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION()) const |
C++: → C-API write a logging-message to MkLogFileC (default: stderr) using the internal format … | |
void | LogC (const std::string &message, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION()) const |
C++: → C-API write a logging-message to MkLogFileC (default: stderr) using the internal format … | |
void | LogHEX (MK_STRN callfunc, MK_BNP data) const |
C++: → C-API log binaray data as HEX into the MkLogFileC (default: stderr) … | |
void | LogHEX (const std::string &callfunc, MK_BNP data) const |
C++: → C-API log binaray data as HEX into the MkLogFileC (default: stderr) … | |
void | LogV (MK_STRN callfunc, MK_DBG debug, MK_FST printfmt,...) const |
C++: → C-API write a printf style logging-message to MkLogFileC (default: stderr) using the internal format … | |
void | LogV (const std::string &callfunc, MK_DBG debug, MK_FST printfmt,...) const |
C++: → C-API write a printf style logging-message to MkLogFileC (default: stderr) using the internal format … | |
void | LogVL (MK_STRN callfunc, MK_DBG debug, MK_FST printfmt, va_list var_list) const |
C++: → C-API write a vprintf style logging-message to MkLogFileC using the internal format … | |
void | LogVL (const std::string &callfunc, MK_DBG debug, MK_FST printfmt, va_list var_list) const |
C++: → C-API write a vprintf style logging-message to MkLogFileC using the internal format … | |
void | Log (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target … | |
void | Log (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target … | |
void | LogLong (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API log the MkObjectS verbose into the MkLogFileC (default: stderr) … | |
void | LogLong (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API log the MkObjectS verbose into the MkLogFileC (default: stderr) … | |
void | LogShort (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API log the MkObjectS into the MkLogFileC (default: stderr) … | |
void | LogShort (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API log the MkObjectS into the MkLogFileC (default: stderr) … | |
void | LogType (const MkObjectC *fmtobj=NULL, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) … | |
void | LogType (const MkObjectC &fmtobj, MK_DBG debug=0, MK_STRN callfunc=__builtin_FUNCTION(), MK_I32 lvl=0) const |
C++: → C-API log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) … | |
MkErrorC * | ErrorCatch (std::exception *exception=NULL, MK_STRN callfunc=__builtin_FUNCTION()) const |
C++: → C-API convert a programming-language-error into an ccmkkernel error … | |
MkErrorC * | ErrorCatch (const std::exception &exception, MK_STRN callfunc=__builtin_FUNCTION()) const |
C++: → C-API convert a programming-language-error into an ccmkkernel error … | |
MkErrorC * | ToError () |
C++: → C-API Error-Slot - return an error-object pre initialized with obj data. | |
MK_BOOL | IsNull () |
C++: → C-API ckeck if the object is MK_NULL | |
MK_STRN | ToName () const |
C++: → C-API Info-Slot - returns brief information about the obj as a string | |
MK_STRN | ToNameOfClass () |
C++: → C-API Class-Slot - returns the C++-Class-Name of the obj as string | |
MK_STRN | ToNameOfType () const |
C++: → C-API Type-Slot - returns the LibMkKernel-Type-Name of the obj as a string | |
MK_STRN | ToString () const |
C++: → C-API String-Slot - returns the string representation of the inst … | |
MK_I32 | RefGet () |
libmkkernel::MkRefGet | |
void | SysKill (MK_I32 pid, MK_I32 signal) const |
libmkkernel::MkSysKill | |
MK_I32 | SysGetPid () const |
libmkkernel::MkSysGetPid | |
void | Delete () |
C++: → C-API Delete-Slot - delete an instance. | |
void | Dispose () |
C++: → C-API Dispose-Slot - untie the connection between the Native-C++-Instance and the ccmkkernel-Instance. | |
void | DeleteCallbackSetup (MK_STRN ident, MkObjectDeleteCCB callback=NULL, MK_STRN filter=NULL) |
C++: → C-API Create/Delete the instance-delete-callback … | |
void | DeleteCallbackSetup (const std::string &ident, MkObjectDeleteCCB callback=NULL, MK_STRN filter=NULL) |
C++: → C-API Create/Delete the instance-delete-callback … | |
void | DeleteCallbackSetup (MK_STRN ident, MkObjectDeleteICB callback=NULL, MK_STRN filter=NULL) |
C++: → C-API Create/Delete the instance-delete-callback … | |
void | DeleteCallbackSetup (const std::string &ident, MkObjectDeleteICB callback=NULL, MK_STRN filter=NULL) |
C++: → C-API Create/Delete the instance-delete-callback … | |
Static Public Attributes | |
static thread_local MkBufferC | MK_NULL_REF = {(MK_OBJ)0} |
![]() | |
static thread_local MkObjectC | MK_NULL_REF = {(MK_OBJ)0} |
Friends | |
class | MkKernel |
Additional Inherited Members | |
![]() | |
typedef void(MkObjectC::*) | MkObjectDeleteICB(MK_STRN const, MK_HDL const, MK_HDL const) |
instance-callback | |
typedef void(*) | MkObjectDeleteCCB(MkObjectC *, MK_STRN const, MK_HDL const, MK_HDL const) |
class-callback | |
![]() | |
void | atomInit (MK_OBJ obj) |
void | atomUnlink () |
MkObjectC () | |
MkObjectC (MK_OBJ obj) | |
void | ErrorCheck (enum MkErrorE err, MK_STRN const caller=__builtin_FUNCTION(), MK_I32 const line=__builtin_LINE()) const |
void | ErrorCheck (MK_STRN const caller=__builtin_FUNCTION(), MK_I32 const line=__builtin_LINE()) const |
![]() | |
static void | ErrorCheck (MK_MNGN mng, enum MkErrorE err, MK_STRN const caller=__builtin_FUNCTION(), MK_I32 const line=__builtin_LINE()) |
static MK_PTR | atomObjNew (MK_RT_ARGS MK_OBJ obj) |
static MK_PTR | atomObjCreate (MK_RT_ARGS MK_OBJ obj) |
![]() | |
MK_OBJ | hdl = NULL |
MK_RT | mkrt = NULL |
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE … → C-API: libmkkernel::MkBufferS
Definition at line 26 of file MkBufferC_cc.hh.
|
friend |
Definition at line 28 of file MkBufferC_cc.hh.