theLink 10.0
Loading...
Searching...
No Matches
MqDumpC_TOR_RB_API

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

+ Collaboration diagram for MqDumpC_TOR_RB_API:

Functions

static OT_ProcRet rbmqmsgque_MqDumpC_Error (OtClass_ARGS)
  Ruby: (constructor,static) MqDumpC MqDumpC.Error(error:MqContextC, ?dumpP_inout:MqDumpC=nil?) C-API
export the context->error into the dump-package
 
static OT_ProcRet rbmqmsgque_MqDumpC_Export (OtClass_ARGS)
  Ruby: (constructor,static) MqDumpC MqDumpC.Export(ctx:MqContextC, ?dumpP_inout:MqDumpC=nil?) C-API
create a MqDumpC as export of the ctx-read-data-package
 
static OT_ProcRet rbmqmsgque_MqDumpC_new (CONSTR_ARGS)
  Ruby: (constructor,static) MqDumpC MqDumpC.new(ctx:MqContextC, ?dumpP_inout:MqDumpC=nil?) C-API
create a MqDumpC as export of the ctx-read-data-package
 
static OT_ProcRet rbmqmsgque_MqDumpC_BinSet (OtClass_ARGS)
  Ruby: (constructor,static) MqDumpC MqDumpC.BinSet(data:binary) C-API
create an MqDumpS object from binary data
 
static OT_ProcRet rbmqmsgque_MqDumpC_BinGet (MqDumpC_ARGS)
  Ruby: binary dump.BinGet() C-API
export the binary data from an MqDumpS object
 
static OT_ProcRet rbmqmsgque_MqDumpC_Import (MqDumpC_ARGS)
  Ruby: 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

◆ rbmqmsgque_MqDumpC_BinGet()

static OT_ProcRet rbmqmsgque_MqDumpC_BinGet ( MqDumpC_ARGS )
static

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

Definition at line 343 of file MqDumpC_rb.c.

343 {
347 MkBinaryR retVal = MqDumpBinGet (hdl);
349 end: MK_UNUSED /* LONG JUMP on error */
351}
#define OT_SETUP_NOARG(d)
#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_rb.c:87
#define BinGet_doc
Definition MqDumpC_rb.c:130
#define MK_UNUSED
MkBinaryR MqDumpBinGet(MQ_DMPN const dump)
export the binary data from an MqDumpS object

◆ rbmqmsgque_MqDumpC_BinSet()

static OT_ProcRet rbmqmsgque_MqDumpC_BinSet ( OtClass_ARGS )
static

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

Definition at line 327 of file MqDumpC_rb.c.

327 {
330 MkBinaryR data = {0};
333 MQ_DMP dmp_out;
335 OT_retObj_SET_DMP(dmp_out);
336 end: MK_UNUSED /* LONG JUMP on error */
338}
#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_rb.c:95
#define BinSet_doc
Definition MqDumpC_rb.c:118
#define MK_ERROR_FORMAT
#define MqDumpBinSet(...)
MqDumpC - the class known as dmp or dump is used to export a rbmqmsgque data package as binary …

◆ rbmqmsgque_MqDumpC_Error()

static OT_ProcRet rbmqmsgque_MqDumpC_Error ( OtClass_ARGS )
static

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

Definition at line 279 of file MqDumpC_rb.c.

279 {
282 MQ_CTX error = 0;
284 MQ_DMP dumpP_inout = NULL;
287 MkErrorC_Check(error,MqDumpError (error, &dumpP_inout));
288 OT_retObj_SET_DMP(dumpP_inout);
289 end: MK_UNUSED /* LONG JUMP on error */
291}
#define OT_SETUP_VARARGS(min, max, d)
#define OT_CHECK_OPTIONAL(val)
#define Error_doc
Definition MqDumpC_rb.c:113
#define MK_NULL_NO
#define MK_NULL_YES
#define MqDumpError(...)
goto error
Definition high_lng.h:251
#define OT_CHECK_CTX(val, nullB)
#define OT_CHECK_DMP(val, nullB)
PUBLIC data structure for the rbmqmsgque-specific-data

◆ rbmqmsgque_MqDumpC_Export()

static OT_ProcRet rbmqmsgque_MqDumpC_Export ( OtClass_ARGS )
static

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

Definition at line 294 of file MqDumpC_rb.c.

294 {
297 MQ_CTX ctx = 0;
299 MQ_DMP dumpP_inout = NULL;
302 MkErrorC_Check(ctx,MqDumpExport (ctx, &dumpP_inout));
303 OT_CONSTRUCTOR_POST(dumpP_inout)
304 OT_retObj_SET_DMP(dumpP_inout);
305 end: MK_UNUSED /* LONG JUMP on error */
307}
#define OT_CONSTRUCTOR_POST(x)
#define Export_doc
Definition MqDumpC_rb.c:114
#define MqDumpExport(...)

◆ rbmqmsgque_MqDumpC_Import()

static OT_ProcRet rbmqmsgque_MqDumpC_Import ( MqDumpC_ARGS )
static

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

Definition at line 354 of file MqDumpC_rb.c.

354 {
357 MQ_CTX ctx = 0;
360 MkErrorC_Check(hdl,MqDumpImport (hdl, ctx));
362 end: MK_UNUSED /* LONG JUMP on error */
364}
#define OT_retObj_SET_None
#define Import_doc
Definition MqDumpC_rb.c:132
#define MqDumpImport(...)

◆ rbmqmsgque_MqDumpC_new()

static OT_ProcRet rbmqmsgque_MqDumpC_new ( CONSTR_ARGS )
static

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

Definition at line 310 of file MqDumpC_rb.c.

310 {
313 MQ_CTX ctx = 0;
315 MQ_DMP dumpP_inout = NULL;
317 MkErrorC_Check(ctx,MqDumpExport (ctx, &dumpP_inout));
318 OT_CONSTRUCTOR_POST(dumpP_inout)
319 OT_retObj_CONSTR(dumpP_inout);
320 end: MK_UNUSED /* LONG JUMP on error */
322}
#define OT_retObj_CONSTR(mng)
#define OT_SETUP_CONSTRUCTOR_ARGS(min, max, d)
#define OT_SETUP_hdl_constr
Definition MqDumpC_rb.c:89
#define new_doc
Definition MqDumpC_rb.c:115