theKernel 10.0
Loading...
Searching...
No Matches
MkBufferC_Info_CC_API

MkBufferC - various functions to get information out of buffer-dataMore...

+ Collaboration diagram for MkBufferC_Info_CC_API:

Functions

MK_STRB ccmkkernel::MkBufferC::GetType1 () const
  C++: MK_STRB buf.GetType1() C-API
return the type from a MkBufferC as single character value …
 
MkTypeE ccmkkernel::MkBufferC::GetType2 () const
  C++: MkTypeE buf.GetType2() C-API
return the MkTypeE from a MkBufferC
 
MK_STRN ccmkkernel::MkBufferC::GetType3 () const
  C++: MK_STRN buf.GetType3() C-API
return the type from a MkBufferC as single character string …
 
MK_BOOL ccmkkernel::MkBufferC::IsLocal () const
  C++: MK_BOOL buf.IsLocal() C-API
Check if the MkBufferC is local (temporary), not local mean global
 
void ccmkkernel::MkBufferC::LogS (MK_STRN varname="buf", const MkObjectC *fmtobj=NULL, MK_STRN callfunc=__builtin_FUNCTION()) const
  C++: buf.LogS(MK_STRN varname = "buf", const MkObjectC* fmtobj = NULL, MK_STRN callfunc = __builtin_FUNCTION()) C-API
log the short MkBufferC object data to the MkLogFileC (default: stderr) …
 

Detailed Description

MkBufferC - various functions to get information out of buffer-data

Function Documentation

◆ GetType1()

MK_STRB ccmkkernel::MkBufferC::GetType1 ( ) const
inline

C++: MK_STRB buf.GetType1() C-API
return the type from a MkBufferC as single character value …

Definition at line 340 of file MkBufferC_inline_cc.hh.

340 {
341 MK_UNUSED auto buf = getBUFN();
342 MK_STRB __retVal__L = MkBufferGetType1(buf);
343 return __retVal__L;
344 }
MK_BUFN getBUFN() const
(const) return the LibMsgqueObject from current MkBufferC instance
#define MkBufferGetType1(...)
#define MK_UNUSED
mark unnused variables and functions
char MK_STRB
string type data-type

◆ GetType2()

MkTypeE ccmkkernel::MkBufferC::GetType2 ( ) const
inline

C++: MkTypeE buf.GetType2() C-API
return the MkTypeE from a MkBufferC

Definition at line 347 of file MkBufferC_inline_cc.hh.

347 {
348 MK_UNUSED auto buf = getBUFN();
349 enum MkTypeE __retVal__L = MkBufferGetType2(buf);
350 return __retVal__L;
351 }
#define MkBufferGetType2(...)
MkTypeE
basic data-types supported by Programming-Language-Micro-Kernel (PLMK) …

◆ GetType3()

MK_STRN ccmkkernel::MkBufferC::GetType3 ( ) const
inline

C++: MK_STRN buf.GetType3() C-API
return the type from a MkBufferC as single character string …

Definition at line 354 of file MkBufferC_inline_cc.hh.

354 {
355 MK_UNUSED auto buf = getBUFN();
356 MK_STRN __retVal__L = MkBufferGetType3(buf);
357 return __retVal__L;
358 }
#define MkBufferGetType3(...)
const MK_STRB * MK_STRN
constant string pointer data-type

◆ IsLocal()

MK_BOOL ccmkkernel::MkBufferC::IsLocal ( ) const
inline

C++: MK_BOOL buf.IsLocal() C-API
Check if the MkBufferC is local (temporary), not local mean global

Definition at line 361 of file MkBufferC_inline_cc.hh.

361 {
362 MK_UNUSED auto buf = getBUFN();
363 MK_BOOL __retVal__L = MkBufferIsLocal(buf);
364 return __retVal__L;
365 }
#define MkBufferIsLocal(...)
bool MK_BOOL
real bool data-type

◆ LogS()

void ccmkkernel::MkBufferC::LogS ( MK_STRN varname = "buf",
const MkObjectC * fmtobj = NULL,
MK_STRN callfunc = __builtin_FUNCTION() ) const
inline

C++: buf.LogS(MK_STRN varname = "buf", const MkObjectC* fmtobj = NULL, MK_STRN callfunc = __builtin_FUNCTION()) C-API
log the short MkBufferC object data to the MkLogFileC (default: stderr) …

Definition at line 372 of file MkBufferC_inline_cc.hh.

372 {
373 MK_UNUSED auto buf = getBUFN();
374 MK_OBJN fmtobj_hdl = MkObjectC::getOBJN__null_allow(fmtobj);
375 if (callfunc == NULL) {callfunc = __builtin_FUNCTION();}
376 MkBufferLogS(buf, varname, fmtobj_hdl, callfunc);
377 }
#define MkBufferLogS(...)
MK_OBJN getOBJN__null_allow() const
(const) return the LibMsgqueObject from current MkObjectC instance
const struct MkObjectS * MK_OBJN
class-shortcut for const struct MkObjectS *, all const shortcut using the XX_YYYC syntax (only for pu...