MkBufferStreamC - various functions to create and destroy a MkBufferStreamS … More...
Collaboration diagram for MkBufferStreamC_Misc_C_API:Macros | |
| #define | MkBufferStreamLog_5F(bus, fmt, ...) |
| #define | MkBufferStreamLog_2F(bus, fmt) |
| #define | MkBufferStreamLog_3F(bus, fmt, pfx) |
Functions | |
| MK_BUS | MkBufferStreamCopy_RT (MK_RT mkrt, MK_BUS const bus, MK_BUSN const src) |
| copy the MkBufferStreamC from src to bus … | |
| MK_BUS | MkBufferStreamReset_RT (MK_RT mkrt, MK_BUS const bus) |
| reset a MkBufferStreamC to the length zero … | |
| void | MkBufferStreamResetFull_RT (MK_RT mkrt, MK_BUS const bus) |
| reset a MkBufferStreamC to the length zero and free allocated storage… | |
| void | MkBufferStreamLogS_RT (MK_RT mkrt, MK_BUS const bus, MK_OBJ fmtobj, MK_STRN const callfunc) |
| void | MkBufferStreamLog_RT (MK_RT mkrt, MK_BUS const bus, MK_OBJN fmtobj, MK_DBG const debug, MK_STRN const callfunc, MK_I32 const lvl) |
| log the MkBufferStreamC … | |
| void | MkBufferStreamPosToStart_RT (MK_RT mkrt, MK_BUS const bus) |
| set the current-access-position to the start of MkBufferStreamC … | |
| MK_STRN | MkBufferStreamToString_RT (MK_RT mkrt, MK_BUSN const inst) |
| String-Slot - returns the string representation of the inst … | |
| MK_BFL | MkBufferStreamToBFL_RT (MK_RT mkrt, MK_BUSN const bus) |
| convert the bus into a MkBufferListC … | |
MkBufferStreamC - MkBufferStreamC_Misc_C_API - overload | |
| #define | MkBufferStreamCopy_NULL(...) |
| #define | MkBufferStreamCopy(...) |
| #define | MkBufferStreamReset_NULL(...) |
| #define | MkBufferStreamReset(...) |
| #define | MkBufferStreamToBFL_NULL(...) |
| #define | MkBufferStreamToBFL(...) |
| #define | MkBufferStreamLog_NULL(...) |
| #define | MkBufferStreamLog(...) |
| #define | MkBufferStreamLog_4(bus, fmtobj, debug, callfunc) |
| #define | MkBufferStreamLog_3(bus, fmtobj, debug) |
| #define | MkBufferStreamLog_2(bus, fmtobj) |
| #define | MkBufferStreamLog_1(bus) |
| #define | MkBufferStreamLogS_NULL(...) |
| #define | MkBufferStreamLogS(...) |
| #define | MkBufferStreamLogS_2(bus, fmtobj) |
| #define | MkBufferStreamLogS_1(bus) |
| #define | MkBufferStreamPosToStart_NULL(...) |
| #define | MkBufferStreamPosToStart(...) |
| #define | MkBufferStreamResetFull_NULL(...) |
| #define | MkBufferStreamResetFull(...) |
| #define | MkBufferStreamToString_NULL(...) |
| #define | MkBufferStreamToString(...) |
MkBufferStreamC - various functions to create and destroy a MkBufferStreamS …
| #define MkBufferStreamCopy | ( | ... | ) |
Definition at line 686 of file kernel_overload_mk.h.
| #define MkBufferStreamCopy_NULL | ( | ... | ) |
Definition at line 685 of file kernel_overload_mk.h.
| #define MkBufferStreamLog | ( | ... | ) |
Definition at line 694 of file kernel_overload_mk.h.
| #define MkBufferStreamLog_1 | ( | bus | ) |
Definition at line 698 of file kernel_overload_mk.h.
| #define MkBufferStreamLog_2 | ( | bus, | |
| fmtobj ) |
Definition at line 697 of file kernel_overload_mk.h.
| #define MkBufferStreamLog_2F | ( | bus, | |
| fmt ) |
Definition at line 8543 of file LibMkKernel_mk.h.
| #define MkBufferStreamLog_3 | ( | bus, | |
| fmtobj, | |||
| debug ) |
Definition at line 696 of file kernel_overload_mk.h.
| #define MkBufferStreamLog_3F | ( | bus, | |
| fmt, | |||
| pfx ) |
Definition at line 8544 of file LibMkKernel_mk.h.
| #define MkBufferStreamLog_4 | ( | bus, | |
| fmtobj, | |||
| debug, | |||
| callfunc ) |
Definition at line 695 of file kernel_overload_mk.h.
| #define MkBufferStreamLog_5F | ( | bus, | |
| fmt, | |||
| ... ) |
Definition at line 8542 of file LibMkKernel_mk.h.
| #define MkBufferStreamLog_NULL | ( | ... | ) |
Definition at line 693 of file kernel_overload_mk.h.
| #define MkBufferStreamLogS | ( | ... | ) |
Definition at line 700 of file kernel_overload_mk.h.
| #define MkBufferStreamLogS_1 | ( | bus | ) |
Definition at line 702 of file kernel_overload_mk.h.
| #define MkBufferStreamLogS_2 | ( | bus, | |
| fmtobj ) |
Definition at line 701 of file kernel_overload_mk.h.
| #define MkBufferStreamLogS_NULL | ( | ... | ) |
Definition at line 699 of file kernel_overload_mk.h.
| #define MkBufferStreamPosToStart | ( | ... | ) |
Definition at line 704 of file kernel_overload_mk.h.
| #define MkBufferStreamPosToStart_NULL | ( | ... | ) |
Definition at line 703 of file kernel_overload_mk.h.
| #define MkBufferStreamReset | ( | ... | ) |
Definition at line 688 of file kernel_overload_mk.h.
| #define MkBufferStreamReset_NULL | ( | ... | ) |
Definition at line 687 of file kernel_overload_mk.h.
| #define MkBufferStreamResetFull | ( | ... | ) |
Definition at line 706 of file kernel_overload_mk.h.
| #define MkBufferStreamResetFull_NULL | ( | ... | ) |
Definition at line 705 of file kernel_overload_mk.h.
| #define MkBufferStreamToBFL | ( | ... | ) |
Definition at line 690 of file kernel_overload_mk.h.
| #define MkBufferStreamToBFL_NULL | ( | ... | ) |
Definition at line 689 of file kernel_overload_mk.h.
| #define MkBufferStreamToString | ( | ... | ) |
Definition at line 708 of file kernel_overload_mk.h.
| #define MkBufferStreamToString_NULL | ( | ... | ) |
Definition at line 707 of file kernel_overload_mk.h.
copy the MkBufferStreamC from src to bus …
| [in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
| [in] | bus | the MkBufferStreamS instance to work on |
| src | source of the copy |
| void MkBufferStreamLog_RT | ( | MK_RT | mkrt, |
| MK_BUS const | bus, | ||
| MK_OBJN | fmtobj, | ||
| MK_DBG const | debug, | ||
| MK_STRN const | callfunc, | ||
| MK_I32 const | lvl ) |
log the MkBufferStreamC …
| [in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
| [in] | bus | the MkBufferStreamS 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, MK_NULL = resolve-own-name) |
| [in] | lvl | a user-defined prefix starting with "" for lvl=0 and increase with " " for lvl+1 (default=0) |
set the current-access-position to the start of MkBufferStreamC …
reset a MkBufferStreamC to the length zero …
| [in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
| [in] | bus | the MkBufferStreamS instance to work on |
reset a MkBufferStreamC to the length zero and free allocated storage…
In addition to (runtime) MK_BUS MkBufferStreamReset(MK_BUS const bus) the allocated storage is freed and reset to ILS. This is usefull if the internal storage was filled once with a huge amount of data.
| [in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
| [in] | bus | the MkBufferStreamS instance to work on |
convert the bus into a MkBufferListC …
| [in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
| [in] | bus | the MkBufferStreamS instance to work on |
MK_NULL for a non-error result.String-Slot - returns the string representation of the inst …
The string is a human-readable form of the data stored in the object.
ToString function by default.| [in] | mkrt | the MkRuntimeS instance to work on - the runtime argument, used by MK_RT_CALL (C-only) |
| [in] | inst | - the instance to work on |
"MK_NULL" on error MK_NULL for a non-error result.