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 py_mqmsgque_MqContextC_ReadDbg (MqContextC_ARGS)
 internal function: MqReadDbg
 
static OT_ProcRet py_mqmsgque_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 py_mqmsgque_MqContextC_ReadGetNumItems (MqContextC_ARGS)
  Python: int32 ctx.ReadGetNumItems() C-API
get the number of items left in the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadItemExists (MqContextC_ARGS)
  Python: bool ctx.ReadItemExists() C-API
check if an item exists in the read-data-package
 
static OT_ProcRet py_mqmsgque_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

◆ py_mqmsgque_MqContextC_ReadDbg()

static OT_ProcRet py_mqmsgque_MqContextC_ReadDbg ( MqContextC_ARGS )
static

internal function: MqReadDbg

Definition at line 2291 of file MqContextC_py.c.

2291 {
2293 OT_SETUP_NOARG(ReadDbg_doc)
2294 OT_CHECK_NOARGS
2295 MqReadDbg (hdl);
2296 OT_retObj_SET_None
2297 goto end;
2298 error:
2299 OT_retObj_SET_Error
2300 end:
2302}
#define OT_SETUP_hdl
#define ReadDbg_doc
#define OT_retObj_RETURN
#define error
#define MqReadDbg(...)

◆ py_mqmsgque_MqContextC_ReadGetNextType()

static OT_ProcRet py_mqmsgque_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 2305 of file MqContextC_py.c.

2305 {
2307 OT_SETUP_NOARG(ReadGetNextType_doc)
2308 OT_CHECK_NOARGS
2309 OT_retObj_SET(OT_NEW_Mk_enum_OBJ(TypeE,MqReadGetNextType (hdl)))
2310 goto end;
2311 error:
2312 OT_retObj_SET_Error
2313 end:
2315}
#define ReadGetNextType_doc
MQ_EXTERN enum MkTypeE MqReadGetNextType(MQ_CTX const ctx) MK_ATTR_HDL
get the type (MkTypeE) of the next Item in the read-data-buffer or "0" if not available

◆ py_mqmsgque_MqContextC_ReadGetNumItems()

static OT_ProcRet py_mqmsgque_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 2318 of file MqContextC_py.c.

2318 {
2320 OT_SETUP_NOARG(ReadGetNumItems_doc)
2321 OT_CHECK_NOARGS
2322 OT_retObj_SET_I32(MqReadGetNumItems (hdl))
2323 goto end;
2324 error:
2325 OT_retObj_SET_Error
2326 end:
2328}
#define ReadGetNumItems_doc
MQ_EXTERN MK_NUM MqReadGetNumItems(MQ_CTX const ctx) MK_ATTR_HDL
get the number of items left in the read-data-package …

◆ py_mqmsgque_MqContextC_ReadItemExists()

static OT_ProcRet py_mqmsgque_MqContextC_ReadItemExists ( MqContextC_ARGS )
static

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

Definition at line 2331 of file MqContextC_py.c.

2331 {
2333 OT_SETUP_NOARG(ReadItemExists_doc)
2334 OT_CHECK_NOARGS
2335 OT_retObj_SET_BOL(MqReadItemExists (hdl))
2336 goto end;
2337 error:
2338 OT_retObj_SET_Error
2339 end:
2341}
#define ReadItemExists_doc
MQ_EXTERN bool MqReadItemExists(MQ_CTX const ctx) MK_ATTR_HDL
check if an item exists in the read-data-package …

◆ py_mqmsgque_MqContextC_ReadUndo()

static OT_ProcRet py_mqmsgque_MqContextC_ReadUndo ( MqContextC_ARGS )
static

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

Definition at line 2344 of file MqContextC_py.c.

2344 {
2346 OT_SETUP_NOARG(ReadUndo_doc)
2347 OT_CHECK_NOARGS
2348 MkErrorC_Check(hdl,MqReadUndo (hdl));
2349 OT_retObj_SET_None
2350 goto end;
2351 error:
2352 OT_retObj_SET_Error
2353 end:
2355}
#define ReadUndo_doc
#define MqReadUndo(...)