theLink 10.0
Loading...
Searching...
No Matches
MqDumpC_TOR_ATL_API

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

+ Collaboration diagram for MqDumpC_TOR_ATL_API:

Functions

static OT_ProcRet atlmqmsgque_MqDumpC_CTOR (CONSTR_ARGS)
  Atl: (constructor,static) MqDumpC [MqDumpC::CTOR ctx:MqContextC ?dumpP_inout:MqDumpC=NULL?] C-API
create a MqDumpC as export of the ctx-read-data-package
 
static OT_ProcRet atlmqmsgque_MqDumpC_Error (OtClass_ARGS)
  Atl: (constructor,static) MqDumpC [MqDumpC::Error error:MqContextC ?dumpP_inout:MqDumpC=NULL?] C-API
export the context->error into the dump-package
 
static OT_ProcRet atlmqmsgque_MqDumpC_Export (OtClass_ARGS)
  Atl: (constructor,static) MqDumpC [MqDumpC::Export ctx:MqContextC ?dumpP_inout:MqDumpC=NULL?] C-API
create a MqDumpC as export of the ctx-read-data-package
 
static OT_ProcRet atlmqmsgque_MqDumpC_BinSet (OtClass_ARGS)
  Atl: (constructor,static) MqDumpC [MqDumpC::BinSet data:binary] C-API
create an MqDumpS object from binary data
 
static OT_ProcRet atlmqmsgque_MqDumpC_BinGet (MqDumpC_ARGS)
  Atl: binary [MqDumpC::BinGet $dump] C-API
export the binary data from an MqDumpS object
 
static OT_ProcRet atlmqmsgque_MqDumpC_Import (MqDumpC_ARGS)
  Atl: MqDumpC::Import $dump 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

◆ atlmqmsgque_MqDumpC_BinGet()

static OT_ProcRet atlmqmsgque_MqDumpC_BinGet ( MqDumpC_ARGS )
static

Atl: binary [MqDumpC::BinGet $dump] C-API
export the binary data from an MqDumpS object

Definition at line 357 of file MqDumpC_atl.c.

357 {
361 MkBinaryR retVal = MqDumpBinGet (hdl);
363 goto end;
364 error:
366 end:
368}
#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_atl.c:47
#define BinGet_doc
#define error
Definition high_lng.h:339
MkBinaryR MqDumpBinGet(MQ_DMPN const dump)
export the binary data from an MqDumpS object

◆ atlmqmsgque_MqDumpC_BinSet()

static OT_ProcRet atlmqmsgque_MqDumpC_BinSet ( OtClass_ARGS )
static

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

Definition at line 338 of file MqDumpC_atl.c.

338 {
341 MkBinaryR data = {0};
344 MQ_DMP dmp_out;
346 OT_retObj_SET_DMP(dmp_out);
347 goto end;
348 error:
350 end:
352}
#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_atl.c:51
#define BinSet_doc
Definition MqDumpC_atl.c:99
#define MK_ERROR_FORMAT
#define MqDumpBinSet(...)
MqDumpC - the class known as dmp or dump is used to export a atlmqmsgque data package as binary …

◆ atlmqmsgque_MqDumpC_CTOR()

static OT_ProcRet atlmqmsgque_MqDumpC_CTOR ( CONSTR_ARGS )
static

Atl: (constructor,static) MqDumpC [MqDumpC::CTOR ctx:MqContextC ?dumpP_inout:MqDumpC=NULL?] C-API
create a MqDumpC as export of the ctx-read-data-package

Definition at line 281 of file MqDumpC_atl.c.

281 {
284 MQ_CTX ctx = 0;
286 MQ_DMP dumpP_inout = NULL;
288 MkErrorC_Check(ctx,MqDumpExport (ctx, &dumpP_inout));
289 OT_CONSTRUCTOR_POST(dumpP_inout)
290 OT_retObj_CONSTR(dumpP_inout);
291 goto end;
292 error:
294 end:
296}
#define OT_SETUP_CONSTRUCTOR_ARGS(...)
#define OT_CHECK_OPTIONAL(val)
#define OT_CONSTRUCTOR_POST(x)
#define OT_SETUP_hdl_constr
Definition MqDumpC_atl.c:50
#define OT_retObj_CONSTR(x)
Definition MqDumpC_atl.c:54
#define CTOR_doc
Definition MqDumpC_atl.c:94
#define MK_NULL_NO
#define MK_NULL_YES
#define MqDumpExport(...)
#define OT_CHECK_CTX(val, nullB)
#define OT_CHECK_DMP(val, nullB)
PUBLIC data structure for the atlmqmsgque-specific-data

◆ atlmqmsgque_MqDumpC_Error()

static OT_ProcRet atlmqmsgque_MqDumpC_Error ( OtClass_ARGS )
static

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

Definition at line 299 of file MqDumpC_atl.c.

299 {
302 MQ_CTX error = 0;
304 MQ_DMP dumpP_inout = NULL;
307 MkErrorC_Check(error,MqDumpError (error, &dumpP_inout));
308 OT_retObj_SET_DMP(dumpP_inout);
309 goto end;
310 error:
312 end:
314}
#define OT_SETUP_VARARGS(min, max, d)
#define Error_doc
Definition MqDumpC_atl.c:95
#define MqDumpError(...)

◆ atlmqmsgque_MqDumpC_Export()

static OT_ProcRet atlmqmsgque_MqDumpC_Export ( OtClass_ARGS )
static

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

Definition at line 317 of file MqDumpC_atl.c.

317 {
320 MQ_CTX ctx = 0;
322 MQ_DMP dumpP_inout = NULL;
325 MkErrorC_Check(ctx,MqDumpExport (ctx, &dumpP_inout));
326 OT_CONSTRUCTOR_POST(dumpP_inout)
327 OT_retObj_SET_DMP(dumpP_inout);
328 goto end;
329 error:
331 end:
333}
#define Export_doc
Definition MqDumpC_atl.c:96

◆ atlmqmsgque_MqDumpC_Import()

static OT_ProcRet atlmqmsgque_MqDumpC_Import ( MqDumpC_ARGS )
static

Atl: MqDumpC::Import $dump ctx:MqContextC C-API
import the dump-package into the ctx-read-data-package

Definition at line 371 of file MqDumpC_atl.c.

371 {
374 MQ_CTX ctx = 0;
377 MkErrorC_Check(hdl,MqDumpImport (hdl, ctx));
379 goto end;
380 error:
382 end:
384}
#define OT_retObj_SET_None
#define Import_doc
#define MqDumpImport(...)