theLink 10.0
Loading...
Searching...
No Matches
MqContextC_ReadApi_Misc_PY_API

MqContextC - various functions to work on a read-data-packageMore...

+ Collaboration diagram for MqContextC_ReadApi_Misc_PY_API:

Functions

static OT_ProcRet pymqmsgque_MqContextC_ReadDbg (MqContextC_ARGS)
 internal function: MqReadDbg
 
static OT_ProcRet pymqmsgque_MqContextC_ReadGetNextType (MqContextC_ARGS)
  Python: MkTypeE ctx.ReadGetNextType() C-API
get the type (MkTypeE) of the next Item in the read-data-buffer or "0" if not available
 
static OT_ProcRet pymqmsgque_MqContextC_ReadGetNumItems (MqContextC_ARGS)
  Python: int32 ctx.ReadGetNumItems() C-API
get the number of items left in the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadItemExists (MqContextC_ARGS)
  Python: bool ctx.ReadItemExists() C-API
check if an item exists in the read-data-package
 
static OT_ProcRet pymqmsgque_MqContextC_ReadUndo (MqContextC_ARGS)
  Python: ctx.ReadUndo() C-API
undo the last MqContextC READ API function call …
 

Detailed Description

MqContextC - various functions to work on a read-data-package

Function Documentation

◆ pymqmsgque_MqContextC_ReadDbg()

static OT_ProcRet pymqmsgque_MqContextC_ReadDbg ( MqContextC_ARGS )
static

internal function: MqReadDbg

Definition at line 2266 of file MqContextC_py.c.

2266 {
2270 MqReadDbg (hdl);
2272 goto end;
2273 error:
2275 end:
2277}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#define OT_retObj_SET_None
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl
#define ReadDbg_doc
#define error
Definition high_lng.h:339
#define MqReadDbg(...)

◆ pymqmsgque_MqContextC_ReadGetNextType()

static OT_ProcRet pymqmsgque_MqContextC_ReadGetNextType ( MqContextC_ARGS )
static

Python: MkTypeE ctx.ReadGetNextType() C-API
get the type (MkTypeE) of the next Item in the read-data-buffer or "0" if not available

Definition at line 2280 of file MqContextC_py.c.

2280 {
2285 goto end;
2286 error:
2288 end:
2290}
#define OT_NEW_Mk_enum_OBJ(typ, val)
#define OT_retObj_SET(val)
#define ReadGetNextType_doc
enum MkTypeE MqReadGetNextType(MQ_CTX const ctx)
get the type (MkTypeE) of the next Item in the read-data-buffer or "0" if not available

◆ pymqmsgque_MqContextC_ReadGetNumItems()

static OT_ProcRet pymqmsgque_MqContextC_ReadGetNumItems ( MqContextC_ARGS )
static

Python: int32 ctx.ReadGetNumItems() C-API
get the number of items left in the read-data-package

Definition at line 2293 of file MqContextC_py.c.

2293 {
2298 goto end;
2299 error:
2301 end:
2303}
#define OT_retObj_SET_I32(nat)
#define ReadGetNumItems_doc
MK_NUM MqReadGetNumItems(MQ_CTX const ctx)
get the number of items left in the read-data-package …

◆ pymqmsgque_MqContextC_ReadItemExists()

static OT_ProcRet pymqmsgque_MqContextC_ReadItemExists ( MqContextC_ARGS )
static

Python: bool ctx.ReadItemExists() C-API
check if an item exists in the read-data-package

Definition at line 2306 of file MqContextC_py.c.

2306 {
2311 goto end;
2312 error:
2314 end:
2316}
#define OT_retObj_SET_BOL(nat)
#define ReadItemExists_doc
bool MqReadItemExists(MQ_CTX const ctx)
check if an item exists in the read-data-package …

◆ pymqmsgque_MqContextC_ReadUndo()

static OT_ProcRet pymqmsgque_MqContextC_ReadUndo ( MqContextC_ARGS )
static

Python: ctx.ReadUndo() C-API
undo the last MqContextC READ API function call …

Definition at line 2319 of file MqContextC_py.c.

2319 {
2323 MkErrorC_Check(hdl,MqReadUndo (hdl));
2325 goto end;
2326 error:
2328 end:
2330}
#define MkErrorC_Check(mng, PROC)
#define ReadUndo_doc
#define MqReadUndo(...)