theKernel 10.0
Loading...
Searching...
No Matches
MkBufferStreamC_Read_ATL_API

MkBufferStreamC - various functions to 'read' data from a MkBufferStreamSMore...

+ Collaboration diagram for MkBufferStreamC_Read_ATL_API:

Functions

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadALL (MkBufferStreamC_ARGS)
  Atl: MkBufferListC [MkBufferStreamC::ReadALL $bus ?val_inout:MkBufferListC=NULL?] C-API
get a temporary MkBufferListC from all data in the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadBFL (MkBufferStreamC_ARGS)
  Atl: MkBufferListC [MkBufferStreamC::ReadBFL $bus] C-API
read a MkBufferListC from the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadBUF (MkBufferStreamC_ARGS)
  Atl: MkBufferC [MkBufferStreamC::ReadBUF $bus] C-API
read a val_out from the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadGetNextType (MkBufferStreamC_ARGS)
  Atl: MkTypeE [MkBufferStreamC::ReadGetNextType $bus] C-API
get the type (MkTypeE) of the next Item in the MkBufferStreamC or "0" if not available
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadGetNumItems (MkBufferStreamC_ARGS)
  Atl: int32 [MkBufferStreamC::ReadGetNumItems $bus] C-API
get the number of items left in the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadItemExists (MkBufferStreamC_ARGS)
  Atl: bool [MkBufferStreamC::ReadItemExists $bus] C-API
check if an item exists in the read-data-package
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadL_END (MkBufferStreamC_ARGS)
  Atl: MkBufferStreamC::ReadL_END $bus C-API
END read a list-item-type from the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadL_START (MkBufferStreamC_ARGS)
  Atl: MkBufferStreamC::ReadL_START $bus ?buf:MkBufferC=NULL? C-API
START read a list-item-type from the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadUndo (MkBufferStreamC_ARGS)
  Atl: MkBufferStreamC::ReadUndo $bus C-API
undo the last MkBufferStreamC READ function call …
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadBIN (MkBufferStreamC_ARGS)
  Atl: doc_mk_atl_BufferStreamReadBIN C-API
read a val_out from the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadBOL (MkBufferStreamC_ARGS)
  Atl: doc_mk_atl_BufferStreamReadBOL C-API
read a val_out from the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadDBL (MkBufferStreamC_ARGS)
  Atl: doc_mk_atl_BufferStreamReadDBL C-API
read a val_out from the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadFLT (MkBufferStreamC_ARGS)
  Atl: doc_mk_atl_BufferStreamReadFLT C-API
read a val_out from the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadI32 (MkBufferStreamC_ARGS)
  Atl: doc_mk_atl_BufferStreamReadI32 C-API
read a val_out from the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadI64 (MkBufferStreamC_ARGS)
  Atl: doc_mk_atl_BufferStreamReadI64 C-API
read a val_out from the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadI8 (MkBufferStreamC_ARGS)
  Atl: doc_mk_atl_BufferStreamReadI8 C-API
read a val_out from the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadLONG (MkBufferStreamC_ARGS)
  Atl: long [MkBufferStreamC::ReadLONG $bus] C-API
read the long native object from the MkBufferStreamC
 
static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadSTR (MkBufferStreamC_ARGS)
  Atl: doc_mk_atl_BufferStreamReadSTR C-API
read a val_out from the MkBufferStreamC
 

Detailed Description

MkBufferStreamC - various functions to 'read' data from a MkBufferStreamS

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

Function Documentation

◆ atlmkkernel_MkBufferStreamC_ReadALL()

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadALL ( MkBufferStreamC_ARGS )
static

Atl: MkBufferListC [MkBufferStreamC::ReadALL $bus ?val_inout:MkBufferListC=NULL?] C-API
get a temporary MkBufferListC from all data in the MkBufferStreamC

Definition at line 382 of file MkBufferStreamC_atl.c.

382 {
385 MkBufferListCreateTLS_T(val_inout,10);
388 MkErrorC_Check(hdl,MkBufferStreamReadALL (hdl, &val_inout));
389 OT_retObj_SET_BFL(val_inout);
390 goto end;
391 error:
393 end:
395}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_Error
#define OT_retObj_SET_BFL(nat)
#define OT_retObj_RETURN
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_NOARGS
#define MkErrorC_Check(mng, PROC)
#define OT_SETUP_hdl
#define ReadALL_doc
#define MkBufferListCreateTLS_T(name, num)
create a MkBufferListC instance as thread-local-storage …
#define MkBufferStreamReadALL(...)
#define MK_NULL_YES
flag, allow NULL
#define OT_CHECK_BFL(val, nullB)

◆ atlmkkernel_MkBufferStreamC_ReadBFL()

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadBFL ( MkBufferStreamC_ARGS )
static

Atl: MkBufferListC [MkBufferStreamC::ReadBFL $bus] C-API
read a MkBufferListC from the MkBufferStreamC

Definition at line 400 of file MkBufferStreamC_atl.c.

400 {
404 MK_BFL val_out;
405 MkErrorC_Check(hdl,MkBufferStreamReadBFL (hdl, &val_out));
406 OT_retObj_SET_BFL(val_out);
407 goto end;
408 error:
410 end:
412}
#define OT_SETUP_NOARG(d)
#define ReadBFL_doc
#define MkBufferStreamReadBFL(...)
The CLASS used to store a list of MkBufferS items into a flat array…

◆ atlmkkernel_MkBufferStreamC_ReadBIN()

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadBIN ( MkBufferStreamC_ARGS )
static

Atl: doc_mk_atl_BufferStreamReadBIN C-API
read a val_out from the MkBufferStreamC

Definition at line 517 of file MkBufferStreamC_atl.c.

517 {
521 MkBinaryR val_out;
522 MkErrorC_Check(hdl,MkBufferStreamReadBIN (hdl, &val_out));
523 MkBinaryR retVal = val_out;
525 goto end;
526 error:
528 end:
530}
#define OT_GET__ME_REF_MkBinaryR(b)
#define OT_retObj_SET(val)
#define ReadBIN_doc
#define MkBufferStreamReadBIN(...)
binary data default format …

◆ atlmkkernel_MkBufferStreamC_ReadBOL()

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadBOL ( MkBufferStreamC_ARGS )
static

Atl: doc_mk_atl_BufferStreamReadBOL C-API
read a val_out from the MkBufferStreamC

Definition at line 533 of file MkBufferStreamC_atl.c.

533 {
537 MK_BOL val_out;
538 MkErrorC_Check(hdl,MkBufferStreamReadBOL (hdl, &val_out));
539 OT_retObj_SET_BOL(val_out == 1);
540 goto end;
541 error:
543 end:
545}
#define OT_retObj_SET_BOL(nat)
#define ReadBOL_doc
#define MkBufferStreamReadBOL(...)
unsigned char MK_BOL
1 byte boolean data-type

◆ atlmkkernel_MkBufferStreamC_ReadBUF()

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadBUF ( MkBufferStreamC_ARGS )
static

Atl: MkBufferC [MkBufferStreamC::ReadBUF $bus] C-API
read a val_out from the MkBufferStreamC

Definition at line 415 of file MkBufferStreamC_atl.c.

415 {
419 MK_BUF val_out;
420 MkErrorC_Check(hdl,MkBufferStreamReadBUF (hdl, &val_out));
421 OT_retObj_SET_BUF(val_out);
422 goto end;
423 error:
425 end:
427}
#define OT_retObj_SET_BUF(nat)
#define ReadBUF_doc
#define MkBufferStreamReadBUF(...)
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE …

◆ atlmkkernel_MkBufferStreamC_ReadDBL()

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadDBL ( MkBufferStreamC_ARGS )
static

Atl: doc_mk_atl_BufferStreamReadDBL C-API
read a val_out from the MkBufferStreamC

Definition at line 548 of file MkBufferStreamC_atl.c.

548 {
552 MK_DBL val_out;
553 MkErrorC_Check(hdl,MkBufferStreamReadDBL (hdl, &val_out));
554 OT_retObj_SET_DBL(val_out);
555 goto end;
556 error:
558 end:
560}
#define OT_retObj_SET_DBL(nat)
#define ReadDBL_doc
#define MkBufferStreamReadDBL(...)
double MK_DBL
8 byte double data-type

◆ atlmkkernel_MkBufferStreamC_ReadFLT()

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadFLT ( MkBufferStreamC_ARGS )
static

Atl: doc_mk_atl_BufferStreamReadFLT C-API
read a val_out from the MkBufferStreamC

Definition at line 563 of file MkBufferStreamC_atl.c.

563 {
567 MK_FLT val_out;
568 MkErrorC_Check(hdl,MkBufferStreamReadFLT (hdl, &val_out));
569 OT_retObj_SET_FLT(val_out);
570 goto end;
571 error:
573 end:
575}
#define OT_retObj_SET_FLT(nat)
#define ReadFLT_doc
#define MkBufferStreamReadFLT(...)
float MK_FLT
4 byte float data-type

◆ atlmkkernel_MkBufferStreamC_ReadGetNextType()

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadGetNextType ( MkBufferStreamC_ARGS )
static

Atl: MkTypeE [MkBufferStreamC::ReadGetNextType $bus] C-API
get the type (MkTypeE) of the next Item in the MkBufferStreamC or "0" if not available

Definition at line 432 of file MkBufferStreamC_atl.c.

432 {
437 goto end;
438 error:
440 end:
442}
#define OT_NEW_Mk_enum_OBJ(typ, val)
#define ReadGetNextType_doc
#define MkBufferStreamReadGetNextType(...)

◆ atlmkkernel_MkBufferStreamC_ReadGetNumItems()

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadGetNumItems ( MkBufferStreamC_ARGS )
static

Atl: int32 [MkBufferStreamC::ReadGetNumItems $bus] C-API
get the number of items left in the MkBufferStreamC

Definition at line 445 of file MkBufferStreamC_atl.c.

445 {
450 goto end;
451 error:
453 end:
455}
#define OT_retObj_SET_I32(nat)
#define ReadGetNumItems_doc
#define MkBufferStreamReadGetNumItems(...)

◆ atlmkkernel_MkBufferStreamC_ReadI32()

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadI32 ( MkBufferStreamC_ARGS )
static

Atl: doc_mk_atl_BufferStreamReadI32 C-API
read a val_out from the MkBufferStreamC

Definition at line 578 of file MkBufferStreamC_atl.c.

578 {
582 MK_I32 val_out;
583 MkErrorC_Check(hdl,MkBufferStreamReadI32 (hdl, &val_out));
584 OT_retObj_SET_I32(val_out);
585 goto end;
586 error:
588 end:
590}
#define ReadI32_doc
#define MkBufferStreamReadI32(...)
signed int MK_I32
4 byte integer data-type

◆ atlmkkernel_MkBufferStreamC_ReadI64()

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadI64 ( MkBufferStreamC_ARGS )
static

Atl: doc_mk_atl_BufferStreamReadI64 C-API
read a val_out from the MkBufferStreamC

Definition at line 593 of file MkBufferStreamC_atl.c.

593 {
597 MK_I64 val_out;
598 MkErrorC_Check(hdl,MkBufferStreamReadI64 (hdl, &val_out));
599 OT_retObj_SET_I64(val_out);
600 goto end;
601 error:
603 end:
605}
#define OT_retObj_SET_I64(nat)
#define ReadI64_doc
#define MkBufferStreamReadI64(...)
signed long long MK_I64
8 byte wide integer data-type

◆ atlmkkernel_MkBufferStreamC_ReadI8()

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadI8 ( MkBufferStreamC_ARGS )
static

Atl: doc_mk_atl_BufferStreamReadI8 C-API
read a val_out from the MkBufferStreamC

Definition at line 608 of file MkBufferStreamC_atl.c.

608 {
612 MK_I8 val_out;
613 MkErrorC_Check(hdl,MkBufferStreamReadI8 (hdl, &val_out));
614 OT_retObj_SET_I8(val_out);
615 goto end;
616 error:
618 end:
620}
#define OT_retObj_SET_I8(nat)
#define ReadI8_doc
#define MkBufferStreamReadI8(...)
signed char MK_I8
1 byte byte data-type

◆ atlmkkernel_MkBufferStreamC_ReadItemExists()

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadItemExists ( MkBufferStreamC_ARGS )
static

Atl: bool [MkBufferStreamC::ReadItemExists $bus] C-API
check if an item exists in the read-data-package

Definition at line 458 of file MkBufferStreamC_atl.c.

458 {
463 goto end;
464 error:
466 end:
468}
#define ReadItemExists_doc
#define MkBufferStreamReadItemExists(...)

◆ atlmkkernel_MkBufferStreamC_ReadL_END()

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadL_END ( MkBufferStreamC_ARGS )
static

Atl: MkBufferStreamC::ReadL_END $bus C-API
END read a list-item-type from the MkBufferStreamC

Definition at line 471 of file MkBufferStreamC_atl.c.

471 {
477 goto end;
478 error:
480 end:
482}
#define OT_retObj_SET_None
#define ReadL_END_doc
#define MkBufferStreamReadL_END(...)

◆ atlmkkernel_MkBufferStreamC_ReadL_START()

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadL_START ( MkBufferStreamC_ARGS )
static

Atl: MkBufferStreamC::ReadL_START $bus ?buf:MkBufferC=NULL? C-API
START read a list-item-type from the MkBufferStreamC

Definition at line 485 of file MkBufferStreamC_atl.c.

485 {
488 MK_BUF buf = NULL;
493 goto end;
494 error:
496 end:
498}
#define ReadL_START_doc
#define MkBufferStreamReadL_START(...)
#define OT_CHECK_BUF(val, nullB)

◆ atlmkkernel_MkBufferStreamC_ReadLONG()

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadLONG ( MkBufferStreamC_ARGS )
static

Atl: long [MkBufferStreamC::ReadLONG $bus] C-API
read the long native object from the MkBufferStreamC

Definition at line 623 of file MkBufferStreamC_atl.c.

623 {
627 MK_LONG val_out;
628 MkErrorC_Check(hdl,MkBufferStreamReadLONG (hdl, &val_out));
629 OT_retObj_SET_LONG(val_out);
630 goto end;
631 error:
633 end:
635}
#define OT_retObj_SET_LONG(nat)
#define ReadLONG_doc
#define MkBufferStreamReadLONG(...)
long MK_LONG
4/8 byte long data-type

◆ atlmkkernel_MkBufferStreamC_ReadSTR()

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadSTR ( MkBufferStreamC_ARGS )
static

Atl: doc_mk_atl_BufferStreamReadSTR C-API
read a val_out from the MkBufferStreamC

Definition at line 638 of file MkBufferStreamC_atl.c.

638 {
642 MK_STRN val_out;
643 MkErrorC_Check(hdl,MkBufferStreamReadSTR (hdl, &val_out));
644 OT_retObj_SET_STR(val_out);
645 goto end;
646 error:
648 end:
650}
#define OT_retObj_SET_STR(nat)
#define ReadSTR_doc
#define MkBufferStreamReadSTR(...)
const MK_STRB * MK_STRN
constant string pointer data-type

◆ atlmkkernel_MkBufferStreamC_ReadUndo()

static OT_ProcRet atlmkkernel_MkBufferStreamC_ReadUndo ( MkBufferStreamC_ARGS )
static

Atl: MkBufferStreamC::ReadUndo $bus C-API
undo the last MkBufferStreamC READ function call …

Definition at line 501 of file MkBufferStreamC_atl.c.

501 {
507 goto end;
508 error:
510 end:
512}
#define ReadUndo_doc
#define MkBufferStreamReadUndo(...)