MkBufferC - various functions to get information out of buffer-data …
More...
|
MK_STRB | MkBufferGetType1_RT (MK_RT mkrt, MK_BUFN const buf) |
| return the type from a MkBufferC as single character value …
|
|
enum MkTypeE | MkBufferGetType2_RT (MK_RT mkrt, MK_BUFN const buf) |
| return the MkTypeE from a MkBufferC …
|
|
MK_STRN | MkBufferGetType3_RT (MK_RT mkrt, MK_BUFN const buf) |
| return the type from a MkBufferC as single character string …
|
|
bool | MkBufferIsLocal_RT (MK_RT mkrt, MK_BUFN const buf) |
| Check if the MkBufferC is local (temporary), not local mean global …
|
|
void | MkBufferLog_RT (MK_RT mkrt, MK_BUFN const buf, MK_OBJN fmtobj, MK_DBG const debug, MK_STRN const callfunc, MK_I32 const lvl) |
| log the MkBufferC …
|
|
void | MkBufferLogSS_RT (MK_RT mkrt, MK_BUFN const buf, MK_STRN const varname, MK_OBJN fmtobj, MK_STRN const callfunc) |
| log the whole MkBufferC object to the MkLogFileC (default: stderr) …
|
|
void | MkBufferLogS_RT (MK_RT mkrt, MK_BUFN const buf, MK_STRN const varname, MK_OBJN fmtobj, MK_STRN const callfunc) |
| log the short MkBufferC object data to the MkLogFileC (default: stderr) …
|
|
|
#define | MkBufferGetType1_NULL(...) |
|
#define | MkBufferGetType1(...) |
|
#define | MkBufferGetType2_NULL(...) |
|
#define | MkBufferGetType2(...) |
|
#define | MkBufferGetType3_NULL(...) |
|
#define | MkBufferGetType3(...) |
|
#define | MkBufferIsLocal_NULL(...) |
|
#define | MkBufferIsLocal(...) |
|
#define | MkBufferLog_NULL(...) |
|
#define | MkBufferLog(...) |
|
#define | MkBufferLog_4(buf, fmtobj, debug, callfunc) |
|
#define | MkBufferLog_3(buf, fmtobj, debug) |
|
#define | MkBufferLog_2(buf, fmtobj) |
|
#define | MkBufferLog_1(buf) |
|
#define | MkBufferLogS_NULL(...) |
|
#define | MkBufferLogS(...) |
|
#define | MkBufferLogS_3(buf, varname, fmtobj) |
|
#define | MkBufferLogS_2(buf, varname) |
|
#define | MkBufferLogS_1(buf) |
|
#define | MkBufferLogSS_NULL(...) |
|
#define | MkBufferLogSS(...) |
|
#define | MkBufferLogSS_3(buf, varname, fmtobj) |
|
#define | MkBufferLogSS_2(buf, varname) |
|
#define | MkBufferLogSS_1(buf) |
|
MkBufferC - various functions to get information out of buffer-data …
◆ MkBufferGetType1
#define MkBufferGetType1 |
( |
| ... | ) |
|
Value:
MK_STRB MkBufferGetType1_RT(MK_RT mkrt, MK_BUFN const buf)
return the type from a MkBufferC as single character value …
Definition at line 173 of file kernel_overload_mk.h.
◆ MkBufferGetType1_NULL
#define MkBufferGetType1_NULL |
( |
| ... | ) |
|
◆ MkBufferGetType2
#define MkBufferGetType2 |
( |
| ... | ) |
|
Value:
enum MkTypeE MkBufferGetType2_RT(MK_RT mkrt, MK_BUFN const buf)
return the MkTypeE from a MkBufferC …
Definition at line 175 of file kernel_overload_mk.h.
◆ MkBufferGetType2_NULL
#define MkBufferGetType2_NULL |
( |
| ... | ) |
|
◆ MkBufferGetType3
#define MkBufferGetType3 |
( |
| ... | ) |
|
Value:
MK_STRN MkBufferGetType3_RT(MK_RT mkrt, MK_BUFN const buf)
return the type from a MkBufferC as single character string …
Definition at line 177 of file kernel_overload_mk.h.
◆ MkBufferGetType3_NULL
#define MkBufferGetType3_NULL |
( |
| ... | ) |
|
◆ MkBufferIsLocal
#define MkBufferIsLocal |
( |
| ... | ) |
|
Value:
bool MkBufferIsLocal_RT(MK_RT mkrt, MK_BUFN const buf)
Check if the MkBufferC is local (temporary), not local mean global …
Definition at line 179 of file kernel_overload_mk.h.
◆ MkBufferIsLocal_NULL
#define MkBufferIsLocal_NULL |
( |
| ... | ) |
|
◆ MkBufferLog
#define MkBufferLog |
( |
| ... | ) |
|
Value:
void MkBufferLog_RT(MK_RT mkrt, MK_BUFN const buf, MK_OBJN fmtobj, MK_DBG const debug, MK_STRN const callfunc, MK_I32 const lvl)
log the MkBufferC …
Definition at line 181 of file kernel_overload_mk.h.
◆ MkBufferLog_1
#define MkBufferLog_1 |
( |
| buf | ) |
|
◆ MkBufferLog_2
#define MkBufferLog_2 |
( |
| buf, |
|
|
| fmtobj ) |
◆ MkBufferLog_3
#define MkBufferLog_3 |
( |
| buf, |
|
|
| fmtobj, |
|
|
| debug ) |
◆ MkBufferLog_4
#define MkBufferLog_4 |
( |
| buf, |
|
|
| fmtobj, |
|
|
| debug, |
|
|
| callfunc ) |
◆ MkBufferLog_NULL
#define MkBufferLog_NULL |
( |
| ... | ) |
|
◆ MkBufferLogS
#define MkBufferLogS |
( |
| ... | ) |
|
Value:
void MkBufferLogS_RT(MK_RT mkrt, MK_BUFN const buf, MK_STRN const varname, MK_OBJN fmtobj, MK_STRN const callfunc)
log the short MkBufferC object data to the MkLogFileC (default: stderr) …
Definition at line 187 of file kernel_overload_mk.h.
◆ MkBufferLogS_1
#define MkBufferLogS_1 |
( |
| buf | ) |
|
◆ MkBufferLogS_2
#define MkBufferLogS_2 |
( |
| buf, |
|
|
| varname ) |
◆ MkBufferLogS_2V
#define MkBufferLogS_2V |
( |
| buf, |
|
|
| fmt ) |
Value:
#define MkBufferLogS_3(buf, varname, fmtobj)
#define MkOBJ(x)
cast a known-object into an MkObjectS pointer
Definition at line 7017 of file LibMkKernel_mk.h.
◆ MkBufferLogS_3
#define MkBufferLogS_3 |
( |
| buf, |
|
|
| varname, |
|
|
| fmtobj ) |
◆ MkBufferLogS_NULL
#define MkBufferLogS_NULL |
( |
| ... | ) |
|
◆ MkBufferLogSS
#define MkBufferLogSS |
( |
| ... | ) |
|
Value:
void MkBufferLogSS_RT(MK_RT mkrt, MK_BUFN const buf, MK_STRN const varname, MK_OBJN fmtobj, MK_STRN const callfunc)
log the whole MkBufferC object to the MkLogFileC (default: stderr) …
Definition at line 192 of file kernel_overload_mk.h.
◆ MkBufferLogSS_1
#define MkBufferLogSS_1 |
( |
| buf | ) |
|
◆ MkBufferLogSS_2
#define MkBufferLogSS_2 |
( |
| buf, |
|
|
| varname ) |
◆ MkBufferLogSS_3
#define MkBufferLogSS_3 |
( |
| buf, |
|
|
| varname, |
|
|
| fmtobj ) |
◆ MkBufferLogSS_NULL
#define MkBufferLogSS_NULL |
( |
| ... | ) |
|
◆ MkBufferGetType1_RT()
return the type from a MkBufferC as single character value …
)
{
switch (buf->var.type) {
}
return '*';
}
◆ MkBufferGetType2_RT()
◆ MkBufferGetType3_RT()
return the type from a MkBufferC as single character string …
) {
switch (buf->var.type) {
}
return "*";
}
◆ MkBufferIsLocal_RT()
Check if the MkBufferC is local (temporary), not local mean global …
- Parameters
-
- Returns
- a boolean value… yes or no
◆ MkBufferLog_RT()
log the MkBufferC …
- Parameters
-
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | buf | the MkBufferS instance to work on |
[in] | fmtobj | managed object used to format the log-message (default=MK_NULL → use default-format) |
[in] | debug | the debug level from MkRuntimeS::debug, use 0 <= debug <= 9 (default=0 ) |
[in] | callfunc | a user-defined postfix to identify the calling function or the environment (default=name-of-function ) |
[in] | lvl | a user-defined prefix starting with "" for lvl=0 and increase with " " for lvl+1 (default=0 ) |
- See also
- MkBufferC
◆ MkBufferLogS_RT()
log the short MkBufferC object data to the MkLogFileC (default: stderr) …
- Parameters
-
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | buf | the MkBufferS instance to work on |
[in] | varname | The name of the argument to report |
[in] | fmtobj | managed object used to format the log-message (default=MK_NULL → use default-format) |
[in] | callfunc | a user-defined postfix to identify the calling function or the environment (default=name-of-function ) |
◆ MkBufferLogSS_RT()
log the whole MkBufferC object to the MkLogFileC (default: stderr) …
- Parameters
-
[in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
[in] | buf | the MkBufferS instance to work on |
[in] | varname | The name of the argument to report |
[in] | fmtobj | managed object used to format the log-message (default=MK_NULL → use default-format) |
[in] | callfunc | a user-defined postfix to identify the calling function or the environment (default=name-of-function ) |