theKernel 10.0
Loading...
Searching...
No Matches
MkBufferListC_Index_ATL_API

MkBufferListC - various functions to access a MkBufferListS by indexMore...

+ Collaboration diagram for MkBufferListC_Index_ATL_API:

Functions

static OT_ProcRet atlmkkernel_MkBufferListC_IndexGetBUF (MkBufferListC_ARGS)
  Atl: MkBufferC [MkBufferListC::IndexGetBUF $bfl index:int32] C-API
get the index element from MkBufferListC ... if not available… create it. …
 
static OT_ProcRet atlmkkernel_MkBufferListC_IndexExtract (MkBufferListC_ARGS)
  Atl: MkBufferC [MkBufferListC::IndexExtract $bfl ?index:int32=0?] C-API
extract (read & delete) the index object from bfl
 
static OT_ProcRet atlmkkernel_MkBufferListC_IndexGet (MkBufferListC_ARGS)
  Atl: MkBufferC [MkBufferListC::IndexGet $bfl index:int32] C-API
get (read only) the index object from bfl
 
static OT_ProcRet atlmkkernel_MkBufferListC_IndexDelete (MkBufferListC_ARGS)
  Atl: MkBufferListC::IndexDelete $bfl index:int32 ?numitems:int32=1? ?doDelete:bool=true? C-API
delete the index'th list item from the MkBufferListS object …
 
static OT_ProcRet atlmkkernel_MkBufferListC_IndexGetSTR (MkBufferListC_ARGS)
  Atl: string [MkBufferListC::IndexGetSTR $bfl index:int32] C-API
get the index element from MkBufferListC ... as string. …
 
static OT_ProcRet atlmkkernel_MkBufferListC_IndexSet (MkBufferListC_ARGS)
  Atl: MkBufferListC::IndexSet $bfl index:int32 buf:MkBufferC C-API
set the index object from bfl
 
static OT_ProcRet atlmkkernel_MkBufferListC_IndexSetBUF (MkBufferListC_ARGS)
  Atl: MkBufferListC::IndexSetBUF $bfl index:int32 buf:MkBufferC C-API
set the index element from MkBufferListC ... if not available… createspace …
 
static OT_ProcRet atlmkkernel_MkBufferListC_IndexSetSTR (MkBufferListC_ARGS)
  Atl: MkBufferListC::IndexSetSTR $bfl index:int32 str:string C-API
set the index element from MkBufferListC ... to string… if not available… create space …
 

Detailed Description

MkBufferListC - various functions to access a MkBufferListS by index

Function Documentation

◆ atlmkkernel_MkBufferListC_IndexDelete()

static OT_ProcRet atlmkkernel_MkBufferListC_IndexDelete ( MkBufferListC_ARGS )
static

Atl: MkBufferListC::IndexDelete $bfl index:int32 ?numitems:int32=1? ?doDelete:bool=true? C-API
delete the index'th list item from the MkBufferListS object …

Definition at line 836 of file MkBufferListC_atl.c.

836 {
839 MK_NUM index = 0;
841 MK_NUM numitems = 1;
843 MK_BOOL doDelete = true;
846 MkErrorC_Check(hdl,MkBufferListIndexDelete (hdl, index, numitems, doDelete));
848 goto end;
849 error:
851 end:
853}
#define OT_CHECK_bool(val)
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_NI4(val)
#define OT_retObj_SET_Error
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_NOARGS
#define MkErrorC_Check(mng, PROC)
#define OT_SETUP_hdl
#define IndexDelete_doc
#define MkBufferListIndexDelete(...)
int32_t MK_NUM
array size data-type ('num' items in array …
bool MK_BOOL
real bool data-type

◆ atlmkkernel_MkBufferListC_IndexExtract()

static OT_ProcRet atlmkkernel_MkBufferListC_IndexExtract ( MkBufferListC_ARGS )
static

Atl: MkBufferC [MkBufferListC::IndexExtract $bfl ?index:int32=0?] C-API
extract (read & delete) the index object from bfl

Definition at line 800 of file MkBufferListC_atl.c.

800 {
803 MK_NUM index = 0;
806 MK_BUF val_out;
807 MkErrorC_Check(hdl,MkBufferListIndexExtract (hdl, index, &val_out));
808 OT_retObj_SET_BUF(val_out);
809 goto end;
810 error:
812 end:
814}
#define OT_retObj_SET_BUF(nat)
#define IndexExtract_doc
#define MkBufferListIndexExtract(...)
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE …

◆ atlmkkernel_MkBufferListC_IndexGet()

static OT_ProcRet atlmkkernel_MkBufferListC_IndexGet ( MkBufferListC_ARGS )
static

Atl: MkBufferC [MkBufferListC::IndexGet $bfl index:int32] C-API
get (read only) the index object from bfl

Definition at line 817 of file MkBufferListC_atl.c.

817 {
820 MK_NUM index = 0;
823 MK_BUF val_out;
824 MkErrorC_Check(hdl,MkBufferListIndexGet (hdl, index, &val_out));
825 OT_retObj_SET_BUF(val_out);
826 goto end;
827 error:
829 end:
831}
#define OT_SETUP_ONEARG(d)
#define IndexGet_doc
#define MkBufferListIndexGet(...)

◆ atlmkkernel_MkBufferListC_IndexGetBUF()

static OT_ProcRet atlmkkernel_MkBufferListC_IndexGetBUF ( MkBufferListC_ARGS )
static

Atl: MkBufferC [MkBufferListC::IndexGetBUF $bfl index:int32] C-API
get the index element from MkBufferListC ... if not available… create it. …

Definition at line 782 of file MkBufferListC_atl.c.

782 {
785 MK_NUM index = 0;
788 MK_BUF retVal = MkBufferListIndexGetBUF (hdl, index);
789 OT_retObj_SET_BUF(retVal);
790 goto end;
791 error:
793 end:
795}
#define IndexGetBUF_doc
#define MkBufferListIndexGetBUF(...)

◆ atlmkkernel_MkBufferListC_IndexGetSTR()

static OT_ProcRet atlmkkernel_MkBufferListC_IndexGetSTR ( MkBufferListC_ARGS )
static

Atl: string [MkBufferListC::IndexGetSTR $bfl index:int32] C-API
get the index element from MkBufferListC ... as string. …

Definition at line 856 of file MkBufferListC_atl.c.

856 {
859 MK_NUM index = 0;
863 goto end;
864 error:
866 end:
868}
#define OT_retObj_SET_STR(nat)
#define IndexGetSTR_doc
#define MkBufferListIndexGetSTR(...)

◆ atlmkkernel_MkBufferListC_IndexSet()

static OT_ProcRet atlmkkernel_MkBufferListC_IndexSet ( MkBufferListC_ARGS )
static

Atl: MkBufferListC::IndexSet $bfl index:int32 buf:MkBufferC C-API
set the index object from bfl

Definition at line 871 of file MkBufferListC_atl.c.

871 {
874 MK_NUM index = 0;
876 MK_BUF buf = 0;
879 MkErrorC_Check(hdl,MkBufferListIndexSet (hdl, index, buf));
881 goto end;
882 error:
884 end:
886}
#define IndexSet_doc
#define MkBufferListIndexSet(...)
#define MK_NULL_NO
flag, not allow NULL
#define OT_CHECK_BUF(val, nullB)

◆ atlmkkernel_MkBufferListC_IndexSetBUF()

static OT_ProcRet atlmkkernel_MkBufferListC_IndexSetBUF ( MkBufferListC_ARGS )
static

Atl: MkBufferListC::IndexSetBUF $bfl index:int32 buf:MkBufferC C-API
set the index element from MkBufferListC ... if not available… createspace …

Definition at line 889 of file MkBufferListC_atl.c.

889 {
892 MK_NUM index = 0;
894 MK_BUF buf = 0;
897 MkBufferListIndexSetBUF (hdl, index, buf);
899 goto end;
900 error:
902 end:
904}
#define IndexSetBUF_doc
#define MkBufferListIndexSetBUF(...)

◆ atlmkkernel_MkBufferListC_IndexSetSTR()

static OT_ProcRet atlmkkernel_MkBufferListC_IndexSetSTR ( MkBufferListC_ARGS )
static

Atl: MkBufferListC::IndexSetSTR $bfl index:int32 str:string C-API
set the index element from MkBufferListC ... to string… if not available… create space …

Definition at line 907 of file MkBufferListC_atl.c.

907 {
910 MK_NUM index = 0;
912 MK_STRN str = 0;
915 MkBufferListIndexSetSTR (hdl, index, str);
917 goto end;
918 error:
920 end:
922}
#define str(s)
#define OT_CHECK_STRN(val)
#define IndexSetSTR_doc
#define MkBufferListIndexSetSTR(...)
const MK_STRB * MK_STRN
constant string pointer data-type