theKernel 10.0
Loading...
Searching...
No Matches
MkBufferListC_Index_TCL_API

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

+ Collaboration diagram for MkBufferListC_Index_TCL_API:

Functions

static OT_ProcRet tclmkkernel_MkBufferListC_IndexGetBUF (MkBufferListC_ARGS)
  Tcl: MkBufferC [$bfl IndexGetBUF index:int32] C-API
get the index element from MkBufferListC ... if not available… create it. …
 
static OT_ProcRet tclmkkernel_MkBufferListC_IndexExtract (MkBufferListC_ARGS)
  Tcl: MkBufferC [$bfl IndexExtract ?index:int32=0?] C-API
extract (read & delete) the index object from bfl
 
static OT_ProcRet tclmkkernel_MkBufferListC_IndexGet (MkBufferListC_ARGS)
  Tcl: MkBufferC [$bfl IndexGet index:int32] C-API
get (read only) the index object from bfl
 
static OT_ProcRet tclmkkernel_MkBufferListC_IndexDelete (MkBufferListC_ARGS)
  Tcl: $bfl IndexDelete index:int32 ?numitems:int32=1? ?doDelete:bool=true? C-API
delete the index'th list item from the MkBufferListS object …
 
static OT_ProcRet tclmkkernel_MkBufferListC_IndexGetSTR (MkBufferListC_ARGS)
  Tcl: string [$bfl IndexGetSTR index:int32] C-API
get the index element from MkBufferListC ... as string. …
 
static OT_ProcRet tclmkkernel_MkBufferListC_IndexSet (MkBufferListC_ARGS)
  Tcl: $bfl IndexSet index:int32 buf:MkBufferC C-API
set the index object from bfl
 
static OT_ProcRet tclmkkernel_MkBufferListC_IndexSetBUF (MkBufferListC_ARGS)
  Tcl: $bfl IndexSetBUF index:int32 buf:MkBufferC C-API
set the index element from MkBufferListC ... if not available… createspace …
 
static OT_ProcRet tclmkkernel_MkBufferListC_IndexSetSTR (MkBufferListC_ARGS)
  Tcl: $bfl IndexSetSTR 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

◆ tclmkkernel_MkBufferListC_IndexDelete()

static OT_ProcRet tclmkkernel_MkBufferListC_IndexDelete ( MkBufferListC_ARGS )
static

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

Definition at line 857 of file MkBufferListC_tcl.c.

857 {
860 MK_NUM index = 0;
862 MK_NUM numitems = 1;
864 MK_BOOL doDelete = true;
867 MkErrorC_Check(hdl,MkBufferListIndexDelete (hdl, index, numitems, doDelete));
869 goto end;
870 error:
872 end:
874}
#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

◆ tclmkkernel_MkBufferListC_IndexExtract()

static OT_ProcRet tclmkkernel_MkBufferListC_IndexExtract ( MkBufferListC_ARGS )
static

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

Definition at line 821 of file MkBufferListC_tcl.c.

821 {
824 MK_NUM index = 0;
827 MK_BUF val_out;
828 MkErrorC_Check(hdl,MkBufferListIndexExtract (hdl, index, &val_out));
829 OT_retObj_SET_BUF(val_out);
830 goto end;
831 error:
833 end:
835}
#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 …

◆ tclmkkernel_MkBufferListC_IndexGet()

static OT_ProcRet tclmkkernel_MkBufferListC_IndexGet ( MkBufferListC_ARGS )
static

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

Definition at line 838 of file MkBufferListC_tcl.c.

838 {
841 MK_NUM index = 0;
844 MK_BUF val_out;
845 MkErrorC_Check(hdl,MkBufferListIndexGet (hdl, index, &val_out));
846 OT_retObj_SET_BUF(val_out);
847 goto end;
848 error:
850 end:
852}
#define OT_SETUP_ONEARG(d)
#define IndexGet_doc
#define MkBufferListIndexGet(...)

◆ tclmkkernel_MkBufferListC_IndexGetBUF()

static OT_ProcRet tclmkkernel_MkBufferListC_IndexGetBUF ( MkBufferListC_ARGS )
static

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

Definition at line 803 of file MkBufferListC_tcl.c.

803 {
806 MK_NUM index = 0;
809 MK_BUF retVal = MkBufferListIndexGetBUF (hdl, index);
810 OT_retObj_SET_BUF(retVal);
811 goto end;
812 error:
814 end:
816}
#define IndexGetBUF_doc
#define MkBufferListIndexGetBUF(...)

◆ tclmkkernel_MkBufferListC_IndexGetSTR()

static OT_ProcRet tclmkkernel_MkBufferListC_IndexGetSTR ( MkBufferListC_ARGS )
static

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

Definition at line 877 of file MkBufferListC_tcl.c.

877 {
880 MK_NUM index = 0;
884 goto end;
885 error:
887 end:
889}
#define OT_retObj_SET_STR(nat)
#define IndexGetSTR_doc
#define MkBufferListIndexGetSTR(...)

◆ tclmkkernel_MkBufferListC_IndexSet()

static OT_ProcRet tclmkkernel_MkBufferListC_IndexSet ( MkBufferListC_ARGS )
static

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

Definition at line 892 of file MkBufferListC_tcl.c.

892 {
895 MK_NUM index = 0;
897 MK_BUF buf = 0;
900 MkErrorC_Check(hdl,MkBufferListIndexSet (hdl, index, buf));
902 goto end;
903 error:
905 end:
907}
#define IndexSet_doc
#define MkBufferListIndexSet(...)
#define MK_NULL_NO
flag, not allow NULL
#define OT_CHECK_BUF(val, nullB)

◆ tclmkkernel_MkBufferListC_IndexSetBUF()

static OT_ProcRet tclmkkernel_MkBufferListC_IndexSetBUF ( MkBufferListC_ARGS )
static

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

Definition at line 910 of file MkBufferListC_tcl.c.

910 {
913 MK_NUM index = 0;
915 MK_BUF buf = 0;
918 MkBufferListIndexSetBUF (hdl, index, buf);
920 goto end;
921 error:
923 end:
925}
#define IndexSetBUF_doc
#define MkBufferListIndexSetBUF(...)

◆ tclmkkernel_MkBufferListC_IndexSetSTR()

static OT_ProcRet tclmkkernel_MkBufferListC_IndexSetSTR ( MkBufferListC_ARGS )
static

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

Definition at line 928 of file MkBufferListC_tcl.c.

928 {
931 MK_NUM index = 0;
933 MK_STRN str = 0;
936 MkBufferListIndexSetSTR (hdl, index, str);
938 goto end;
939 error:
941 end:
943}
#define str(s)
#define OT_CHECK_STRN(val)
#define IndexSetSTR_doc
#define MkBufferListIndexSetSTR(...)
const MK_STRB * MK_STRN
constant string pointer data-type