theLink 10.0
Loading...
Searching...
No Matches
MqDumpC_TOR_PY_API

MqDumpC - various functions to create, initialize and destroy a dumpMore...

+ Collaboration diagram for MqDumpC_TOR_PY_API:

Functions

static OT_ProcRet pymqmsgque_MqDumpC_Error (OtClass_ARGS)
  Python: [constructor,static] MqDumpC MqDumpC.Error(error:MqContextC, ?dumpP_inout:MqDumpC=None?) C-API
export the context->error into the dump-package
 
static OT_ProcRet pymqmsgque_MqDumpC_Export (OtClass_ARGS)
  Python: [constructor,static] MqDumpC MqDumpC.Export(ctx:MqContextC, ?dumpP_inout:MqDumpC=None?) C-API
create a MqDumpC as export of the ctx-read-data-package
 
static OT_ProcRet pymqmsgque_MqDumpC_new (CONSTR_ARGS)
  Python: [constructor,static] MqDumpC MqDumpC.new(ctx:MqContextC, ?dumpP_inout:MqDumpC=None?) C-API
create a MqDumpC as export of the ctx-read-data-package
 
static OT_ProcRet pymqmsgque_MqDumpC_BinSet (OtClass_ARGS)
  Python: [constructor,static] MqDumpC MqDumpC.BinSet(data:binary) C-API
create an MqDumpS object from binary data
 
static OT_ProcRet pymqmsgque_MqDumpC_BinGet (MqDumpC_ARGS)
  Python: binary dump.BinGet() C-API
export the binary data from an MqDumpS object
 
static OT_ProcRet pymqmsgque_MqDumpC_Import (MqDumpC_ARGS)
  Python: dump.Import(ctx:MqContextC) C-API
import the dump-package into the ctx-read-data-package
 

Detailed Description

MqDumpC - various functions to create, initialize and destroy a dump

Function Documentation

◆ pymqmsgque_MqDumpC_BinGet()

static OT_ProcRet pymqmsgque_MqDumpC_BinGet ( MqDumpC_ARGS )
static

Python: binary dump.BinGet() C-API
export the binary data from an MqDumpS object

Definition at line 360 of file MqDumpC_py.c.

360 {
364 MkBinaryR retVal = MqDumpBinGet (hdl);
366 goto end;
367 error:
369 end:
371}
#define OT_SETUP_NOARG(d)
#define OT_retObj_SET_Error
#define OT_GET__ME_REF_MkBinaryR(b)
#define OT_retObj_RETURN
#define OT_retObj_SET(val)
#define OT_CHECK_NOARGS
#define OT_SETUP_hdl
Definition MqDumpC_py.c:23
#define BinGet_doc
Definition MqDumpC_py.c:114
#define error
Definition high_lng.h:339
MkBinaryR MqDumpBinGet(MQ_DMPN const dump)
export the binary data from an MqDumpS object

◆ pymqmsgque_MqDumpC_BinSet()

static OT_ProcRet pymqmsgque_MqDumpC_BinSet ( OtClass_ARGS )
static

Python: [constructor,static] MqDumpC MqDumpC.BinSet(data:binary) C-API
create an MqDumpS object from binary data

Definition at line 341 of file MqDumpC_py.c.

341 {
344 MkBinaryR data = {0};
347 MQ_DMP dmp_out;
349 OT_retObj_SET_DMP(dmp_out);
350 goto end;
351 error:
353 end:
355}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_REQUIRED(val)
#define OT_CHECK__ME_REF_MkBinaryR(val)
#define MkErrorC_Check(mng, PROC)
#define OT_retObj_SET_DMP(nat)
#define OT_SETUP_hdl_static_constr
Definition MqDumpC_py.c:31
#define BinSet_doc
Definition MqDumpC_py.c:102
#define MK_ERROR_FORMAT
#define MqDumpBinSet(...)
MqDumpC - the class known as dmp or dump is used to export a pymqmsgque data package as binary …

◆ pymqmsgque_MqDumpC_Error()

static OT_ProcRet pymqmsgque_MqDumpC_Error ( OtClass_ARGS )
static

Python: [constructor,static] MqDumpC MqDumpC.Error(error:MqContextC, ?dumpP_inout:MqDumpC=None?) C-API
export the context->error into the dump-package

Definition at line 284 of file MqDumpC_py.c.

284 {
287 MQ_CTX error = 0;
289 MQ_DMP dumpP_inout = NULL;
292 MkErrorC_Check(error,MqDumpError (error, &dumpP_inout));
293 OT_retObj_SET_DMP(dumpP_inout);
294 goto end;
295 error:
297 end:
299}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_OPTIONAL(val)
#define Error_doc
Definition MqDumpC_py.c:97
#define MK_NULL_NO
#define MK_NULL_YES
#define MqDumpError(...)
#define OT_CHECK_CTX(val, nullB)
#define OT_CHECK_DMP(val, nullB)
PUBLIC data structure for the pymqmsgque-specific-data

◆ pymqmsgque_MqDumpC_Export()

static OT_ProcRet pymqmsgque_MqDumpC_Export ( OtClass_ARGS )
static

Python: [constructor,static] MqDumpC MqDumpC.Export(ctx:MqContextC, ?dumpP_inout:MqDumpC=None?) C-API
create a MqDumpC as export of the ctx-read-data-package

Definition at line 302 of file MqDumpC_py.c.

302 {
305 MQ_CTX ctx = 0;
307 MQ_DMP dumpP_inout = NULL;
310 MkErrorC_Check(ctx,MqDumpExport (ctx, &dumpP_inout));
311 OT_CONSTRUCTOR_POST(dumpP_inout)
312 OT_retObj_SET_DMP(dumpP_inout);
313 goto end;
314 error:
316 end:
318}
#define OT_CONSTRUCTOR_POST(x)
#define Export_doc
Definition MqDumpC_py.c:98
#define MqDumpExport(...)

◆ pymqmsgque_MqDumpC_Import()

static OT_ProcRet pymqmsgque_MqDumpC_Import ( MqDumpC_ARGS )
static

Python: dump.Import(ctx:MqContextC) C-API
import the dump-package into the ctx-read-data-package

Definition at line 374 of file MqDumpC_py.c.

374 {
377 MQ_CTX ctx = 0;
380 MkErrorC_Check(hdl,MqDumpImport (hdl, ctx));
382 goto end;
383 error:
385 end:
387}
#define OT_retObj_SET_None
#define Import_doc
Definition MqDumpC_py.c:116
#define MqDumpImport(...)

◆ pymqmsgque_MqDumpC_new()

static OT_ProcRet pymqmsgque_MqDumpC_new ( CONSTR_ARGS )
static

Python: [constructor,static] MqDumpC MqDumpC.new(ctx:MqContextC, ?dumpP_inout:MqDumpC=None?) C-API
create a MqDumpC as export of the ctx-read-data-package

Definition at line 321 of file MqDumpC_py.c.

321 {
324 MQ_CTX ctx = 0;
326 MQ_DMP dumpP_inout = NULL;
328 MkErrorC_Check(ctx,MqDumpExport (ctx, &dumpP_inout));
329 OT_CONSTRUCTOR_POST(dumpP_inout)
330 OT_retObj_CONSTR(dumpP_inout);
331 goto end;
332 error:
334 end:
336}
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
#define OT_retObj_CONSTR(mng)
Definition MqDumpC_py.c:21
#define OT_SETUP_hdl_constr
Definition MqDumpC_py.c:25
#define new_doc
Definition MqDumpC_py.c:99