theKernel 10.0
Loading...
Searching...
No Matches
MkBufferStreamC_Write_ATL_API

MkBufferStreamC - various functions to write into a MkBufferStreamSMore...

+ Collaboration diagram for MkBufferStreamC_Write_ATL_API:

Functions

static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteBFL (MkBufferStreamC_ARGS)
  Atl: MkBufferStreamC::WriteBFL $bus bfl:MkBufferListC C-API
write a MkBufferListC into the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteBIN (MkBufferStreamC_ARGS)
  Atl: doc_mk_atl_BufferStreamWriteBIN C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteBOL (MkBufferStreamC_ARGS)
  Atl: doc_mk_atl_BufferStreamWriteBOL C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteBUF (MkBufferStreamC_ARGS)
  Atl: MkBufferStreamC::WriteBUF $bus val:MkBufferC C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteBUS_FLAT (MkBufferStreamC_ARGS)
  Atl: MkBufferStreamC::WriteBUS_FLAT $bus add:MkBufferStreamC C-API
write a MkBufferStreamC into the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteDBL (MkBufferStreamC_ARGS)
  Atl: doc_mk_atl_BufferStreamWriteDBL C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteFLT (MkBufferStreamC_ARGS)
  Atl: doc_mk_atl_BufferStreamWriteFLT C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteHDL (MkBufferStreamC_ARGS)
  Atl: MkBufferStreamC::WriteHDL $bus val:int32 C-API
write the handle into the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteI32 (MkBufferStreamC_ARGS)
  Atl: doc_mk_atl_BufferStreamWriteI32 C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteI64 (MkBufferStreamC_ARGS)
  Atl: doc_mk_atl_BufferStreamWriteI64 C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteI8 (MkBufferStreamC_ARGS)
  Atl: doc_mk_atl_BufferStreamWriteI8 C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteLONG (MkBufferStreamC_ARGS)
  Atl: MkBufferStreamC::WriteLONG $bus val:long C-API
write the long native object into the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteL_END (MkBufferStreamC_ARGS)
  Atl: MkBufferStreamC::WriteL_END $bus C-API
END write a list-item-type into the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteL_FLAT (MkBufferStreamC_ARGS)
  Atl: MkBufferStreamC::WriteL_FLAT $bus bfl:MkBufferListC C-API
write a MkBufferListC FLAT into the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteL_START (MkBufferStreamC_ARGS)
  Atl: MkBufferStreamC::WriteL_START $bus C-API
START write a list-item-type into the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteSTR (MkBufferStreamC_ARGS)
  Atl: doc_mk_atl_BufferStreamWriteSTR C-API
write a PRIMITIVE TYPE into the MkBufferStreamC
 

Detailed Description

MkBufferStreamC - various functions to write into a MkBufferStreamS

Write is done at the position of MkBufferStreamS::storage->cur. After write the cur is incemented with write-sizeof characters.

Function Documentation

◆ atlmkkernel_MkBufferStreamC_WriteBFL()

static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteBFL ( MkBufferStreamC_ARGS )
static

Atl: MkBufferStreamC::WriteBFL $bus bfl:MkBufferListC C-API
write a MkBufferListC into the MkBufferStreamC

Definition at line 852 of file MkBufferStreamC_atl.c.

852 {
860 goto end;
861 error:
863 end:
865}
#define OT_SETUP_ONEARG(d)
#define OT_retObj_SET_Error
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define MkErrorC_Check(mng, PROC)
#define OT_SETUP_hdl
#define WriteBFL_doc
#define MkBufferListCreateTLS_T(name, num)
create a MkBufferListC instance as thread-local-storage …
#define MkBufferStreamWriteBFL(...)
#define MK_NULL_NO
flag, not allow NULL
#define OT_CHECK_BFLN(val, nullB)

◆ atlmkkernel_MkBufferStreamC_WriteBIN()

static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteBIN ( MkBufferStreamC_ARGS )
static

Atl: doc_mk_atl_BufferStreamWriteBIN C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 868 of file MkBufferStreamC_atl.c.

868 {
871 MkBinaryR val = {0};
876 goto end;
877 error:
879 end:
881}
#define OT_CHECK__ME_REF_MkBinaryR(val)
#define WriteBIN_doc
#define MkBufferStreamWriteBIN(...)
binary data default format …

◆ atlmkkernel_MkBufferStreamC_WriteBOL()

static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteBOL ( MkBufferStreamC_ARGS )
static

Atl: doc_mk_atl_BufferStreamWriteBOL C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 884 of file MkBufferStreamC_atl.c.

884 {
887 MK_BOL val = 0;
890 MkErrorC_Check(hdl,MkBufferStreamWriteBOL (hdl, (MK_BOL)(val?1:0)));
892 goto end;
893 error:
895 end:
897}
#define OT_CHECK_NB1(val)
#define WriteBOL_doc
#define MkBufferStreamWriteBOL(...)
unsigned char MK_BOL
1 byte boolean data-type

◆ atlmkkernel_MkBufferStreamC_WriteBUF()

static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteBUF ( MkBufferStreamC_ARGS )
static

Atl: MkBufferStreamC::WriteBUF $bus val:MkBufferC C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 900 of file MkBufferStreamC_atl.c.

900 {
903 MK_BUFN val = 0;
908 goto end;
909 error:
911 end:
913}
#define WriteBUF_doc
#define MkBufferStreamWriteBUF(...)
#define OT_CHECK_BUFN(val, nullB)
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE …

◆ atlmkkernel_MkBufferStreamC_WriteBUS_FLAT()

static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteBUS_FLAT ( MkBufferStreamC_ARGS )
static

Atl: MkBufferStreamC::WriteBUS_FLAT $bus add:MkBufferStreamC C-API
write a MkBufferStreamC into the MkBufferStreamC

Definition at line 916 of file MkBufferStreamC_atl.c.

916 {
919 MK_BUSN add = 0;
924 goto end;
925 error:
927 end:
929}
#define WriteBUS_FLAT_doc
#define MkBufferStreamWriteBUS_FLAT(...)
#define OT_CHECK_BUSN(val, nullB)
The ABSTRACT-CLASS MkBufferStreamS is used for package-based serialized IO …

◆ atlmkkernel_MkBufferStreamC_WriteDBL()

static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteDBL ( MkBufferStreamC_ARGS )
static

Atl: doc_mk_atl_BufferStreamWriteDBL C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 932 of file MkBufferStreamC_atl.c.

932 {
935 MK_DBL val = 0;
940 goto end;
941 error:
943 end:
945}
#define OT_CHECK_NF8(val)
#define WriteDBL_doc
#define MkBufferStreamWriteDBL(...)
double MK_DBL
8 byte double data-type

◆ atlmkkernel_MkBufferStreamC_WriteFLT()

static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteFLT ( MkBufferStreamC_ARGS )
static

Atl: doc_mk_atl_BufferStreamWriteFLT C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 948 of file MkBufferStreamC_atl.c.

948 {
951 MK_FLT val = 0;
956 goto end;
957 error:
959 end:
961}
#define OT_CHECK_NF4(val)
#define WriteFLT_doc
#define MkBufferStreamWriteFLT(...)
float MK_FLT
4 byte float data-type

◆ atlmkkernel_MkBufferStreamC_WriteHDL()

static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteHDL ( MkBufferStreamC_ARGS )
static

Atl: MkBufferStreamC::WriteHDL $bus val:int32 C-API
write the handle into the MkBufferStreamC

Definition at line 964 of file MkBufferStreamC_atl.c.

964 {
967 MK_I32 val = 0;
972 goto end;
973 error:
975 end:
977}
#define OT_CHECK_NI4(val)
#define WriteHDL_doc
#define MkBufferStreamWriteHDL(...)
signed int MK_I32
4 byte integer data-type

◆ atlmkkernel_MkBufferStreamC_WriteI32()

static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteI32 ( MkBufferStreamC_ARGS )
static

Atl: doc_mk_atl_BufferStreamWriteI32 C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 980 of file MkBufferStreamC_atl.c.

980 {
983 MK_I32 val = 0;
988 goto end;
989 error:
991 end:
993}
#define WriteI32_doc
#define MkBufferStreamWriteI32(...)

◆ atlmkkernel_MkBufferStreamC_WriteI64()

static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteI64 ( MkBufferStreamC_ARGS )
static

Atl: doc_mk_atl_BufferStreamWriteI64 C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 996 of file MkBufferStreamC_atl.c.

996 {
999 MK_I64 val = 0;
1002 MkErrorC_Check(hdl,MkBufferStreamWriteI64 (hdl, val));
1004 goto end;
1005 error:
1007 end:
1009}
#define OT_CHECK_NI8(val)
#define WriteI64_doc
#define MkBufferStreamWriteI64(...)
signed long long MK_I64
8 byte wide integer data-type

◆ atlmkkernel_MkBufferStreamC_WriteI8()

static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteI8 ( MkBufferStreamC_ARGS )
static

Atl: doc_mk_atl_BufferStreamWriteI8 C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 1012 of file MkBufferStreamC_atl.c.

1012 {
1015 MK_I8 val = 0;
1018 MkErrorC_Check(hdl,MkBufferStreamWriteI8 (hdl, (MK_I8)(val)));
1020 goto end;
1021 error:
1023 end:
1025}
#define OT_CHECK_NI1(val)
#define WriteI8_doc
#define MkBufferStreamWriteI8(...)
signed char MK_I8
1 byte byte data-type

◆ atlmkkernel_MkBufferStreamC_WriteL_END()

static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteL_END ( MkBufferStreamC_ARGS )
static

Atl: MkBufferStreamC::WriteL_END $bus C-API
END write a list-item-type into the MkBufferStreamC

Definition at line 1044 of file MkBufferStreamC_atl.c.

1044 {
1050 goto end;
1051 error:
1053 end:
1055}
#define OT_SETUP_NOARG(d)
#define WriteL_END_doc
#define MkBufferStreamWriteL_END(...)

◆ atlmkkernel_MkBufferStreamC_WriteL_FLAT()

static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteL_FLAT ( MkBufferStreamC_ARGS )
static

Atl: MkBufferStreamC::WriteL_FLAT $bus bfl:MkBufferListC C-API
write a MkBufferListC FLAT into the MkBufferStreamC

Definition at line 1058 of file MkBufferStreamC_atl.c.

1058 {
1066 goto end;
1067 error:
1069 end:
1071}
#define WriteL_FLAT_doc
#define MkBufferStreamWriteL_FLAT(...)
#define OT_CHECK_BFL(val, nullB)

◆ atlmkkernel_MkBufferStreamC_WriteL_START()

static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteL_START ( MkBufferStreamC_ARGS )
static

Atl: MkBufferStreamC::WriteL_START $bus C-API
START write a list-item-type into the MkBufferStreamC

Definition at line 1074 of file MkBufferStreamC_atl.c.

1074 {
1080 goto end;
1081 error:
1083 end:
1085}
#define WriteL_START_doc
#define MkBufferStreamWriteL_START(...)

◆ atlmkkernel_MkBufferStreamC_WriteLONG()

static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteLONG ( MkBufferStreamC_ARGS )
static

Atl: MkBufferStreamC::WriteLONG $bus val:long C-API
write the long native object into the MkBufferStreamC

Definition at line 1028 of file MkBufferStreamC_atl.c.

1028 {
1031 MK_LONG val = 0;
1036 goto end;
1037 error:
1039 end:
1041}
#define OT_CHECK_NIL(val)
#define WriteLONG_doc
#define MkBufferStreamWriteLONG(...)
long MK_LONG
4/8 byte long data-type

◆ atlmkkernel_MkBufferStreamC_WriteSTR()

static OT_ProcRet atlmkkernel_MkBufferStreamC_WriteSTR ( MkBufferStreamC_ARGS )
static

Atl: doc_mk_atl_BufferStreamWriteSTR C-API
write a PRIMITIVE TYPE into the MkBufferStreamC

Definition at line 1088 of file MkBufferStreamC_atl.c.

1088 {
1091 MK_STRN val = 0;
1093 MK_NUM len = -1;
1096 MkErrorC_Check(hdl,MkBufferStreamWriteSTR (hdl, val, len));
1098 goto end;
1099 error:
1101 end:
1103}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_STRN(val)
#define WriteSTR_doc
#define MkBufferStreamWriteSTR(...)
int32_t MK_NUM
array size data-type ('num' items in array …
const MK_STRB * MK_STRN
constant string pointer data-type