MkKernel PACKAGE - a collection of common used data types and definitions … More...
Classes | |
struct | libmkkernel::MK_STRN_A |
array of libmkkernel::MK_STRN values … More... | |
Macros | |
#define | MK_ALFA '@' |
MK_ALFA the command-line separator between server and client … | |
#define | MK_ALFA_STR ((MkStringR){1,"@"}) |
MK_ALFA the command-line separator as string … | |
Typedefs | |
typedef void(* | libmkkernel::MkMarkF) (MK_RT const mkrt, MK_PTR data) |
prototype for a Garbage-Collection mark function … | |
boolean data-type | |
typedef unsigned char | libmkkernel::MK_BOL |
1 byte boolean data-type | |
typedef bool | libmkkernel::MK_BOOL |
real bool data-type | |
#define | bool2str(_bool) |
signed integer data-type | |
typedef signed char | libmkkernel::MK_I8 |
1 byte byte data-type | |
typedef signed short int | libmkkernel::MK_I16 |
2 byte short data-type | |
typedef signed int | libmkkernel::MK_I32 |
4 byte integer data-type | |
typedef signed long long | libmkkernel::MK_I64 |
8 byte wide integer data-type | |
typedef long | libmkkernel::MK_LONG |
4/8 byte long data-type | |
unsigned integer data-type | |
typedef unsigned char | libmkkernel::MK_U8 |
typedef unsigned short | libmkkernel::MK_U16 |
typedef unsigned int | libmkkernel::MK_U32 |
typedef unsigned long long | libmkkernel::MK_U64 |
typedef unsigned long | libmkkernel::MK_ULN |
float data-type | |
typedef float | libmkkernel::MK_FLT |
4 byte float data-type | |
typedef double | libmkkernel::MK_DBL |
8 byte double data-type | |
"handle" data-type | |
4 byte int handle data-type The handle is a special type to represent an object as numeric-type able to be stored into an external-software. The handle support the following API:
| |
typedef int32_t | libmkkernel::MK_HDL |
4 byte int handle data-type | |
#define | MK_HDL_REF_S3(__prefix) |
#define | MK_HDL_REF_S1(__prefix) |
#define | MK_HDLT MK_I32T |
misc data-type | |
typedef long | libmkkernel::MK_SIZE |
typedef union MkBufferAtomU | libmkkernel::MK_ATO |
8 byte atom data-type | |
typedef int32_t | libmkkernel::MK_NUM |
array size data-type ('num' items in array … | |
typedef int | libmkkernel::MK_DBG |
debug-level data-type … | |
typedef unsigned int | libmkkernel::MK_SIG |
signature datatype | |
#define | MK_FORMAT_N "%i" |
OS wide MK_TIME_T | |
timeout in seconds as "integer" value | |
typedef time_t | libmkkernel::MK_TIME_T |
#define | MK_FORMAT_TIME "%li" |
#define | MK_TIME ((MK_TIME_T)time(NULL)) |
#define | MK_TIME_MAX (365*24*60*60) |
one year | |
pointer data-type | |
typedef void | libmkkernel::MK_PTRB |
pointer type data-type | |
typedef MK_PTRB * | libmkkernel::MK_PTR |
generic pointer data-type | |
typedef const MK_PTRB * | libmkkernel::MK_PTRN |
const generic pointer data-type | |
typedef MK_PTRB * | libmkkernel::MK_CCP |
class constructor/destructor data type | |
typedef MK_PTRB * | libmkkernel::MK_CBP |
generic pointer to call-back data | |
typedef MK_PTRB * | libmkkernel::MK_MNG |
managed object pointer, datatype will be checked at runtime | |
typedef const MK_PTRB * | libmkkernel::MK_MNGN |
const - a managed object pointer, datatype will be checked at runtime | |
typedef MK_PTRB const * | libmkkernel::MK_EXP |
exception object pointer | |
typedef MK_PTRB * | libmkkernel::MK_MXP |
MkExceptionC object pointer. | |
list data-type | |
typedef unsigned char | libmkkernel::MK_LSTB |
list type data-type | |
typedef MK_LSTB * | libmkkernel::MK_LST |
list pointer data-type | |
binary data-type | |
typedef unsigned char | libmkkernel::MK_BINB |
byte-array type data-type | |
typedef MK_BINB * | libmkkernel::MK_BIN |
byte-array pointer data-type with binary encoding (MK_BINN) | |
typedef MK_BINB const * | libmkkernel::MK_BINN |
const byte-array pointer data-type | |
primitive string data-type | |
typedef char | libmkkernel::MK_STRB |
string type data-type | |
typedef MK_STRB * | libmkkernel::MK_STR |
string pointer data-type with UTF8 ecoding (MK_STR) | |
typedef const MK_STRB * | libmkkernel::MK_STRN |
constant string pointer data-type | |
typedef MK_STRB const * | libmkkernel::MK_FST |
const format string pointer data-type | |
MK_UNUSED static const MK_STRN_A | libmkkernel::MK_STRN_A_NULL = (MK_STRN_A) {0,0} |
helper type for target language implementation | |
typedef void * | libmkkernel::MK_NAT_OBJECT |
typedef void * | libmkkernel::MK_NAT_LIST |
MkKernel PACKAGE - a collection of common used data types and definitions …
#define bool2str | ( | _bool | ) |
Definition at line 1069 of file LibMkKernel_mk.h.
#define MK_ALFA '@' |
MK_ALFA the command-line separator between server and client …
Definition at line 1052 of file LibMkKernel_mk.h.
#define MK_ALFA_STR ((MkStringR){1,"@"}) |
MK_ALFA the command-line separator as string …
Definition at line 1054 of file LibMkKernel_mk.h.
#define MK_FORMAT_N "%i" |
Definition at line 1181 of file LibMkKernel_mk.h.
#define MK_FORMAT_TIME "%li" |
Definition at line 1257 of file LibMkKernel_mk.h.
#define MK_HDL_REF_S1 | ( | __prefix | ) |
Definition at line 1155 of file LibMkKernel_mk.h.
#define MK_HDL_REF_S3 | ( | __prefix | ) |
Definition at line 1154 of file LibMkKernel_mk.h.
#define MK_HDLT MK_I32T |
Definition at line 1156 of file LibMkKernel_mk.h.
#define MK_TIME ((MK_TIME_T)time(NULL)) |
Definition at line 1258 of file LibMkKernel_mk.h.
#define MK_TIME_MAX (365*24*60*60) |
one year
Definition at line 1259 of file LibMkKernel_mk.h.
typedef union MkBufferAtomU libmkkernel::MK_ATO |
8 byte atom data-type
Definition at line 1175 of file LibMkKernel_mk.h.
typedef MK_BINB* libmkkernel::MK_BIN |
byte-array pointer data-type with binary encoding (MK_BINN)
Definition at line 1326 of file LibMkKernel_mk.h.
typedef unsigned char libmkkernel::MK_BINB |
byte-array type data-type
Definition at line 1322 of file LibMkKernel_mk.h.
typedef MK_BINB const* libmkkernel::MK_BINN |
const byte-array pointer data-type
Definition at line 1330 of file LibMkKernel_mk.h.
typedef unsigned char libmkkernel::MK_BOL |
1 byte boolean data-type
Definition at line 1063 of file LibMkKernel_mk.h.
typedef bool libmkkernel::MK_BOOL |
real bool data-type
Definition at line 1068 of file LibMkKernel_mk.h.
typedef MK_PTRB* libmkkernel::MK_CBP |
generic pointer to call-back data
Definition at line 1284 of file LibMkKernel_mk.h.
typedef MK_PTRB* libmkkernel::MK_CCP |
class constructor/destructor data type
Definition at line 1281 of file LibMkKernel_mk.h.
typedef int libmkkernel::MK_DBG |
debug-level data-type …
Definition at line 1185 of file LibMkKernel_mk.h.
typedef double libmkkernel::MK_DBL |
8 byte double data-type
Definition at line 1131 of file LibMkKernel_mk.h.
typedef MK_PTRB const* libmkkernel::MK_EXP |
exception object pointer
Definition at line 1293 of file LibMkKernel_mk.h.
typedef float libmkkernel::MK_FLT |
4 byte float data-type
Definition at line 1128 of file LibMkKernel_mk.h.
typedef MK_STRB const* libmkkernel::MK_FST |
const format string pointer data-type
Definition at line 1363 of file LibMkKernel_mk.h.
typedef int32_t libmkkernel::MK_HDL |
4 byte int handle data-type
The handle is a special type to represent an object as numeric-type able to be stored into an external-software.
The handle support the following API:
Definition at line 1153 of file LibMkKernel_mk.h.
typedef signed short int libmkkernel::MK_I16 |
2 byte short data-type
Definition at line 1083 of file LibMkKernel_mk.h.
typedef signed int libmkkernel::MK_I32 |
4 byte integer data-type
Definition at line 1086 of file LibMkKernel_mk.h.
typedef signed long long libmkkernel::MK_I64 |
8 byte wide integer data-type
Definition at line 1093 of file LibMkKernel_mk.h.
typedef signed char libmkkernel::MK_I8 |
1 byte byte data-type
Definition at line 1080 of file LibMkKernel_mk.h.
typedef long libmkkernel::MK_LONG |
4/8 byte long data-type
Definition at line 1098 of file LibMkKernel_mk.h.
typedef MK_LSTB* libmkkernel::MK_LST |
list pointer data-type
Definition at line 1311 of file LibMkKernel_mk.h.
typedef unsigned char libmkkernel::MK_LSTB |
list type data-type
Definition at line 1307 of file LibMkKernel_mk.h.
typedef MK_PTRB* libmkkernel::MK_MNG |
managed object pointer, datatype will be checked at runtime
Definition at line 1287 of file LibMkKernel_mk.h.
typedef const MK_PTRB* libmkkernel::MK_MNGN |
const - a managed object pointer, datatype will be checked at runtime
Definition at line 1290 of file LibMkKernel_mk.h.
typedef MK_PTRB* libmkkernel::MK_MXP |
MkExceptionC object pointer.
Definition at line 1296 of file LibMkKernel_mk.h.
typedef void* libmkkernel::MK_NAT_LIST |
Definition at line 1374 of file LibMkKernel_mk.h.
typedef void* libmkkernel::MK_NAT_OBJECT |
Definition at line 1372 of file LibMkKernel_mk.h.
typedef int32_t libmkkernel::MK_NUM |
array size data-type ('num' items in array …
Definition at line 1180 of file LibMkKernel_mk.h.
typedef MK_PTRB* libmkkernel::MK_PTR |
generic pointer data-type
Definition at line 1275 of file LibMkKernel_mk.h.
typedef void libmkkernel::MK_PTRB |
pointer type data-type
Definition at line 1271 of file LibMkKernel_mk.h.
typedef const MK_PTRB* libmkkernel::MK_PTRN |
const generic pointer data-type
Definition at line 1278 of file LibMkKernel_mk.h.
typedef unsigned int libmkkernel::MK_SIG |
signature datatype
The MOT-class is identified by a signature and a mask.
The signature and the mask are an 32bit unsigned integer value of type libmkkernel::MK_SIG.
The class-type is the storage for the signature and the mask
The instance-type is initialized by the class-type
instance.super.obj.signature
.instance.super.obj.signature
is the MkObjectS::signature attribute of the MkObjectS instance-type.The signature check is done at runtime with MyClassC_Check(instancePtr)
(example: MkBufferC_Check).
true
if the instance belongs to the class MyClassC
or has MyClassC
as base-class.To check an instance on the instance-type without instance-base use:
To check an instance on the instance-type and instance-base use:
Definition at line 1246 of file LibMkKernel_mk.h.
typedef long libmkkernel::MK_SIZE |
Definition at line 1172 of file LibMkKernel_mk.h.
typedef MK_STRB* libmkkernel::MK_STR |
string pointer data-type with UTF8
ecoding (MK_STR)
Definition at line 1345 of file LibMkKernel_mk.h.
typedef char libmkkernel::MK_STRB |
string type data-type
Definition at line 1341 of file LibMkKernel_mk.h.
typedef const MK_STRB* libmkkernel::MK_STRN |
constant string pointer data-type
Definition at line 1349 of file LibMkKernel_mk.h.
typedef time_t libmkkernel::MK_TIME_T |
Definition at line 1256 of file LibMkKernel_mk.h.
typedef unsigned short libmkkernel::MK_U16 |
Definition at line 1110 of file LibMkKernel_mk.h.
typedef unsigned int libmkkernel::MK_U32 |
Definition at line 1112 of file LibMkKernel_mk.h.
typedef unsigned long long libmkkernel::MK_U64 |
Definition at line 1114 of file LibMkKernel_mk.h.
typedef unsigned char libmkkernel::MK_U8 |
Definition at line 1108 of file LibMkKernel_mk.h.
typedef unsigned long libmkkernel::MK_ULN |
Definition at line 1118 of file LibMkKernel_mk.h.
prototype for a Garbage-Collection mark function …
Definition at line 2191 of file LibMkKernel_mk.h.
Definition at line 1359 of file LibMkKernel_mk.h.