theKernel 10.0
Loading...
Searching...
No Matches
MkBufferListC_Index_PY_API

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

+ Collaboration diagram for MkBufferListC_Index_PY_API:

Functions

static OT_ProcRet pymkkernel_MkBufferListC_IndexGetBUF (MkBufferListC_ARGS)
  Python: MkBufferC bfl.IndexGetBUF(index:int32) C-API
get the index element from MkBufferListC ... if not available… create it. …
 
static OT_ProcRet pymkkernel_MkBufferListC_IndexExtract (MkBufferListC_ARGS)
  Python: MkBufferC bfl.IndexExtract(?index:int32=0?) C-API
extract (read & delete) the index object from bfl
 
static OT_ProcRet pymkkernel_MkBufferListC_IndexGet (MkBufferListC_ARGS)
  Python: MkBufferC bfl.IndexGet(index:int32) C-API
get (read only) the index object from bfl
 
static OT_ProcRet pymkkernel_MkBufferListC_IndexDelete (MkBufferListC_ARGS)
  Python: 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 pymkkernel_MkBufferListC_IndexGetSTR (MkBufferListC_ARGS)
  Python: string bfl.IndexGetSTR(index:int32) C-API
get the index element from MkBufferListC ... as string. …
 
static OT_ProcRet pymkkernel_MkBufferListC_IndexSet (MkBufferListC_ARGS)
  Python: bfl.IndexSet(index:int32, buf:MkBufferC) C-API
set the index object from bfl
 
static OT_ProcRet pymkkernel_MkBufferListC_IndexSetBUF (MkBufferListC_ARGS)
  Python: bfl.IndexSetBUF(index:int32, buf:MkBufferC) C-API
set the index element from MkBufferListC ... if not available… createspace …
 
static OT_ProcRet pymkkernel_MkBufferListC_IndexSetSTR (MkBufferListC_ARGS)
  Python: 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

◆ pymkkernel_MkBufferListC_IndexDelete()

static OT_ProcRet pymkkernel_MkBufferListC_IndexDelete ( MkBufferListC_ARGS )
static

Python: 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 835 of file MkBufferListC_py.c.

835 {
838 MK_NUM index = 0;
840 MK_NUM numitems = 1;
842 MK_BOOL doDelete = true;
845 MkErrorC_Check(hdl,MkBufferListIndexDelete (hdl, index, numitems, doDelete));
847 goto end;
848 error:
850 end:
852}
#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

◆ pymkkernel_MkBufferListC_IndexExtract()

static OT_ProcRet pymkkernel_MkBufferListC_IndexExtract ( MkBufferListC_ARGS )
static

Python: MkBufferC bfl.IndexExtract(?index:int32=0?) C-API
extract (read & delete) the index object from bfl

Definition at line 799 of file MkBufferListC_py.c.

799 {
802 MK_NUM index = 0;
805 MK_BUF val_out;
806 MkErrorC_Check(hdl,MkBufferListIndexExtract (hdl, index, &val_out));
807 OT_retObj_SET_BUF(val_out);
808 goto end;
809 error:
811 end:
813}
#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 …

◆ pymkkernel_MkBufferListC_IndexGet()

static OT_ProcRet pymkkernel_MkBufferListC_IndexGet ( MkBufferListC_ARGS )
static

Python: MkBufferC bfl.IndexGet(index:int32) C-API
get (read only) the index object from bfl

Definition at line 816 of file MkBufferListC_py.c.

816 {
819 MK_NUM index = 0;
822 MK_BUF val_out;
823 MkErrorC_Check(hdl,MkBufferListIndexGet (hdl, index, &val_out));
824 OT_retObj_SET_BUF(val_out);
825 goto end;
826 error:
828 end:
830}
#define OT_SETUP_ONEARG(d)
#define IndexGet_doc
#define MkBufferListIndexGet(...)

◆ pymkkernel_MkBufferListC_IndexGetBUF()

static OT_ProcRet pymkkernel_MkBufferListC_IndexGetBUF ( MkBufferListC_ARGS )
static

Python: MkBufferC bfl.IndexGetBUF(index:int32) C-API
get the index element from MkBufferListC ... if not available… create it. …

Definition at line 781 of file MkBufferListC_py.c.

781 {
784 MK_NUM index = 0;
787 MK_BUF retVal = MkBufferListIndexGetBUF (hdl, index);
788 OT_retObj_SET_BUF(retVal);
789 goto end;
790 error:
792 end:
794}
#define IndexGetBUF_doc
#define MkBufferListIndexGetBUF(...)

◆ pymkkernel_MkBufferListC_IndexGetSTR()

static OT_ProcRet pymkkernel_MkBufferListC_IndexGetSTR ( MkBufferListC_ARGS )
static

Python: string bfl.IndexGetSTR(index:int32) C-API
get the index element from MkBufferListC ... as string. …

Definition at line 855 of file MkBufferListC_py.c.

855 {
858 MK_NUM index = 0;
862 goto end;
863 error:
865 end:
867}
#define OT_retObj_SET_STR(nat)
#define IndexGetSTR_doc
#define MkBufferListIndexGetSTR(...)

◆ pymkkernel_MkBufferListC_IndexSet()

static OT_ProcRet pymkkernel_MkBufferListC_IndexSet ( MkBufferListC_ARGS )
static

Python: bfl.IndexSet(index:int32, buf:MkBufferC) C-API
set the index object from bfl

Definition at line 870 of file MkBufferListC_py.c.

870 {
873 MK_NUM index = 0;
875 MK_BUF buf = 0;
878 MkErrorC_Check(hdl,MkBufferListIndexSet (hdl, index, buf));
880 goto end;
881 error:
883 end:
885}
#define IndexSet_doc
#define MkBufferListIndexSet(...)
#define MK_NULL_NO
flag, not allow NULL
#define OT_CHECK_BUF(val, nullB)

◆ pymkkernel_MkBufferListC_IndexSetBUF()

static OT_ProcRet pymkkernel_MkBufferListC_IndexSetBUF ( MkBufferListC_ARGS )
static

Python: bfl.IndexSetBUF(index:int32, buf:MkBufferC) C-API
set the index element from MkBufferListC ... if not available… createspace …

Definition at line 888 of file MkBufferListC_py.c.

888 {
891 MK_NUM index = 0;
893 MK_BUF buf = 0;
896 MkBufferListIndexSetBUF (hdl, index, buf);
898 goto end;
899 error:
901 end:
903}
#define IndexSetBUF_doc
#define MkBufferListIndexSetBUF(...)

◆ pymkkernel_MkBufferListC_IndexSetSTR()

static OT_ProcRet pymkkernel_MkBufferListC_IndexSetSTR ( MkBufferListC_ARGS )
static

Python: bfl.IndexSetSTR(index:int32, str:string) C-API
set the index element from MkBufferListC ... to string… if not available… create space …

Definition at line 906 of file MkBufferListC_py.c.

906 {
909 MK_NUM index = 0;
911 MK_STRN str = 0;
914 MkBufferListIndexSetSTR (hdl, index, str);
916 goto end;
917 error:
919 end:
921}
#define OT_CHECK_STRN(val)
#define IndexSetSTR_doc
#define MkBufferListIndexSetSTR(...)
const MK_STRB * MK_STRN
constant string pointer data-type