theLink 10.0
Loading...
Searching...
No Matches
MqDumpC_atl.c File Reference

tag: nhi1-release-250425 More...

+ Include dependency graph for MqDumpC_atl.c:

Go to the source code of this file.

Macros

#define META_FILE_NAME   "MqDumpC_atl.c"
 
#define OT_CLASS   amqrt->AtlMqDumpC
 
#define OT_NULL   amqrt->AtlMqDumpC_MK_NULL
 
#define OT_CLASS_NAME   "MqDumpC"
 
#define SELF2HDL(O)
 
#define OT_SETUP_hdl   SetupHdlFromMetaData_2(MQ_DMP)
 
#define OT_SETUP_hdl__null_allow   SetupHdlFromMetaData__null_allow_2(MQ_DMP)
 
#define OT_SETUP_hdl_destr   SetupHdlFromMetaData__null_allow_2(MQ_DMP)
 
#define OT_SETUP_hdl_constr   SetupHdlConstr(MqDumpC)
 
#define OT_SETUP_hdl_static_constr   OT_SETUP_hdl_static
 
#define OT_SETUP_hdl_static   SetupHdlStatic(MqDumpC)
 
#define OT_retObj_CONSTR(x)
 
#define ClassInit
 
#define CTOR_doc   "MqDumpC [MqDumpC::CTOR ctx:MqContextC ?dumpP_inout:MqDumpC=NULL?]"
 
#define Error_doc   "MqDumpC [MqDumpC::Error error:MqContextC ?dumpP_inout:MqDumpC=NULL?]"
 
#define Export_doc   "MqDumpC [MqDumpC::Export ctx:MqContextC ?dumpP_inout:MqDumpC=NULL?]"
 
#define BinSet_doc   "MqDumpC [MqDumpC::BinSet data:binary]"
 
#define GetNull_doc   "MqDumpC [MqDumpC::GetNull]"
 
#define HandleResolve_doc   "MqDumpC [MqDumpC::HandleResolve netHdl:MK_HDL]"
 
#define Instances_doc   "MqDumpC [MqDumpC::Instances]"
 
#define Next_doc   "MqDumpC [MqDumpC::Next $dmp]"
 
#define Prev_doc   "MqDumpC [MqDumpC::Prev $dmp]"
 
#define BinGet_doc   "binary [MqDumpC::BinGet $dump] (const)"
 
#define Import_doc   "MqDumpC::Import $dump ctx:MqContextC"
 
#define SizeGet_doc   "long [MqDumpC::SizeGet $dump] (const)"
 
#define TokenGet_doc   "string [MqDumpC::TokenGet $dump] (const)"
 

Functions

static MK_PTR atlmqmsgque_MqDumpC_selfCreate (MK_RT mkrt, MK_OBJ const obj, MK_PTR const env)
 
static void atlmqmsgque_MqDumpC_selfDelete (MK_RT mkrt, MK_PTR selfP, MK_PTR const env)
 
static void atlmqmsgque_MqDumpC_selfUnlink (MK_RT mkrt, MK_PTR selfP, MK_PTR const env)
 
static OT_ProcRet atlmqmsgque_MqDumpC_HandleResolve (OtClass_ARGS)
  Atl: (static) MqDumpC [MqDumpC::HandleResolve netHdl:MK_HDL] C-API
Handle-Resolve-Slot - return a MqDumpC from netHdl or "MK_NULL" if invalid…
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet atlmqmsgque_MqDumpC_HandleGet (MqDumpC_ARGS)
 
static OT_ProcRet atlmqmsgque_MqDumpC_Next (MqDumpC_ARGS)
  Atl: MqDumpC [MqDumpC::Next $dmp] C-API
get next instance from linked-list of MqDumpS type
 
static OT_ProcRet atlmqmsgque_MqDumpC_Prev (MqDumpC_ARGS)
  Atl: MqDumpC [MqDumpC::Prev $dmp] C-API
get previous instance from linked-list of MqDumpS type
 
static OT_ProcRet atlmqmsgque_MqDumpC_Instances (OtClass_ARGS)
  Atl: (static) MqDumpC [MqDumpC::Instances] C-API
get head-instance from linked-list of MqDumpS type …
 
static OT_ProcRet atlmqmsgque_MqDumpC_GetNull (OtClass_ARGS)
  Atl: (static) MqDumpC [MqDumpC::GetNull] C-API
Null-Slot - return a MqDumpC typed NULL instance …
 
MK_DEPRECATED static MK_UNUSED OT_ProcRet atlmqmsgque_MqDumpC_Log (MqDumpC_ARGS)
 
static OT_ProcRet atlmqmsgque_MqDumpC_SizeGet (MqDumpC_ARGS)
  Atl: long [MqDumpC::SizeGet $dump] C-API
report the binary data size from an MqDumpS object
 
static OT_ProcRet atlmqmsgque_MqDumpC_TokenGet (MqDumpC_ARGS)
  Atl: string [MqDumpC::TokenGet $dump] C-API
return the MqContextC_ServiceApi_Identifer
 
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
 
int atlmqmsgque_pMqDumpC_Init (OT_MQ_ARGS OT_NS_T ns)
 

Variables

static const OtObjProcDefS atlmqmsgque_sOtClassDef []
 
static const OtObjProcDefS atlmqmsgque_sInstanceDef []
 

Detailed Description

tag: nhi1-release-250425

Definition in file MqDumpC_atl.c.

Macro Definition Documentation

◆ BinGet_doc

#define BinGet_doc   "binary [MqDumpC::BinGet $dump] (const)"

Definition at line 111 of file MqDumpC_atl.c.

◆ BinSet_doc

#define BinSet_doc   "MqDumpC [MqDumpC::BinSet data:binary]"

Definition at line 99 of file MqDumpC_atl.c.

◆ ClassInit

#define ClassInit

Definition at line 57 of file MqDumpC_atl.c.

57#define ClassInit \
58 /* if not already done, initialize NEW META type */ \
59 if (MqDumpCTT == NULL) MqDumpCTT = MqDumpSTT; \
60 \
61 /* protect against double call */ \
62 if (MqDumpCTT->selfCreate == NS(MqDumpC_selfCreate)) return MK_OK; \
63 \
64 /* add "selfCreate" and "selfDelete" feature to the META-Class */ \
65 MqDumpCTT->selfCreate = NS(MqDumpC_selfCreate); \
66 MqDumpCTT->selfDelete = NS(MqDumpC_selfDelete); \
67 MqDumpCTT->selfUnlink = NS(MqDumpC_selfUnlink); \
68 \
69 /* create the ATL-class */ \
70 OT_CLASS = AltClassDef(MqDumpCTT,&amqrt->AtlMqDumpC_NS); \
71 if (OT_CLASS == NULL) goto error; \
72 OT_REF_INCR(OT_CLASS); \
73 \
74 /* create the ATL static Methods */ \
75 check_LNG(AtlUnknownSetup (NS(sOtClassDef),amqrt)) goto error; \
76 \
77 /* create the ATL instance Methods */ \
78 check_LNG(AtlUnknownSetup (NS(sInstanceDef),amqrt)) goto error; \
79 \
80 /* after class was modified, recompile the class */ \
81 RL_init(2, recompile, RL_T(0,RecompileN)); RL_O(1,OT_CLASS) ; \
82 int retI = RL_EvalEx(0); \
83 if (retI != TCL_OK) return retI; \
84 \
85 /* define the "NULL" object */ \
86 OT_NULL = AtomCreateNULL(OT_CLASS, "::MqDumpC::MK_NULL", (MK_PTR)amqrt); \
87 if (OT_NULL == NULL) goto error; \
88 OT_REF_INCR(OT_NULL);

◆ CTOR_doc

#define CTOR_doc   "MqDumpC [MqDumpC::CTOR ctx:MqContextC ?dumpP_inout:MqDumpC=NULL?]"

Definition at line 94 of file MqDumpC_atl.c.

◆ Error_doc

#define Error_doc   "MqDumpC [MqDumpC::Error error:MqContextC ?dumpP_inout:MqDumpC=NULL?]"

Definition at line 95 of file MqDumpC_atl.c.

◆ Export_doc

#define Export_doc   "MqDumpC [MqDumpC::Export ctx:MqContextC ?dumpP_inout:MqDumpC=NULL?]"

Definition at line 96 of file MqDumpC_atl.c.

◆ GetNull_doc

#define GetNull_doc   "MqDumpC [MqDumpC::GetNull]"

Definition at line 102 of file MqDumpC_atl.c.

◆ HandleResolve_doc

#define HandleResolve_doc   "MqDumpC [MqDumpC::HandleResolve netHdl:MK_HDL]"

Definition at line 103 of file MqDumpC_atl.c.

◆ Import_doc

#define Import_doc   "MqDumpC::Import $dump ctx:MqContextC"

Definition at line 113 of file MqDumpC_atl.c.

◆ Instances_doc

#define Instances_doc   "MqDumpC [MqDumpC::Instances]"

Definition at line 104 of file MqDumpC_atl.c.

◆ META_FILE_NAME

#define META_FILE_NAME   "MqDumpC_atl.c"

Definition at line 11 of file MqDumpC_atl.c.

◆ Next_doc

#define Next_doc   "MqDumpC [MqDumpC::Next $dmp]"

Definition at line 107 of file MqDumpC_atl.c.

◆ OT_CLASS

#define OT_CLASS   amqrt->AtlMqDumpC

Definition at line 15 of file MqDumpC_atl.c.

◆ OT_CLASS_NAME

#define OT_CLASS_NAME   "MqDumpC"

Definition at line 17 of file MqDumpC_atl.c.

◆ OT_NULL

#define OT_NULL   amqrt->AtlMqDumpC_MK_NULL

Definition at line 16 of file MqDumpC_atl.c.

◆ OT_retObj_CONSTR

#define OT_retObj_CONSTR ( x)
Value:
#define OT_SELF
#define AtomInit(...)
#define OT_retObj_SET(val)
#define MqDumpC_X2obj(x)

Definition at line 54 of file MqDumpC_atl.c.

◆ OT_SETUP_hdl

#define OT_SETUP_hdl   SetupHdlFromMetaData_2(MQ_DMP)

Definition at line 47 of file MqDumpC_atl.c.

◆ OT_SETUP_hdl__null_allow

#define OT_SETUP_hdl__null_allow   SetupHdlFromMetaData__null_allow_2(MQ_DMP)

Definition at line 48 of file MqDumpC_atl.c.

◆ OT_SETUP_hdl_constr

#define OT_SETUP_hdl_constr   SetupHdlConstr(MqDumpC)

Definition at line 50 of file MqDumpC_atl.c.

◆ OT_SETUP_hdl_destr

#define OT_SETUP_hdl_destr   SetupHdlFromMetaData__null_allow_2(MQ_DMP)

Definition at line 49 of file MqDumpC_atl.c.

◆ OT_SETUP_hdl_static

#define OT_SETUP_hdl_static   SetupHdlStatic(MqDumpC)

Definition at line 52 of file MqDumpC_atl.c.

◆ OT_SETUP_hdl_static_constr

#define OT_SETUP_hdl_static_constr   OT_SETUP_hdl_static

Definition at line 51 of file MqDumpC_atl.c.

◆ Prev_doc

#define Prev_doc   "MqDumpC [MqDumpC::Prev $dmp]"

Definition at line 108 of file MqDumpC_atl.c.

◆ SELF2HDL

#define SELF2HDL ( O)
Value:
#define VAL2MNG(val)
static MQ_DMP MqDmp(MK_MNG mng)
cast a unknown-object into an MqDumpS pointer or NULL if not possible

Definition at line 19 of file MqDumpC_atl.c.

◆ SizeGet_doc

#define SizeGet_doc   "long [MqDumpC::SizeGet $dump] (const)"

Definition at line 115 of file MqDumpC_atl.c.

◆ TokenGet_doc

#define TokenGet_doc   "string [MqDumpC::TokenGet $dump] (const)"

Definition at line 116 of file MqDumpC_atl.c.

Function Documentation

◆ atlmqmsgque_MqDumpC_selfCreate()

static MK_PTR atlmqmsgque_MqDumpC_selfCreate ( MK_RT mkrt,
MK_OBJ const obj,
MK_PTR const env )
static

Definition at line 28 of file MqDumpC_atl.c.

28 {
29 SETUP_amqrt(env);
30 return AtomMake(obj,OT_CLASS,NULL,NULL,env);
31}
#define AtomMake(...)
#define SETUP_amqrt(r)
#define OT_CLASS
Definition MqDumpC_atl.c:15
MK_OBJ const obj
Definition high_lng.h:136

◆ atlmqmsgque_MqDumpC_selfDelete()

static void atlmqmsgque_MqDumpC_selfDelete ( MK_RT mkrt,
MK_PTR selfP,
MK_PTR const env )
static

Definition at line 34 of file MqDumpC_atl.c.

34 {
35 OT_SELF_T selfO = selfP;
36 SETUP_amqrt(env);
37 MK(AtomDeleteHard) (OT_MK_CALL selfO);
38}
#define MK(n)
MOX_OBJ_T OT_SELF_T
#define OT_MK_CALL

◆ atlmqmsgque_MqDumpC_selfUnlink()

static void atlmqmsgque_MqDumpC_selfUnlink ( MK_RT mkrt,
MK_PTR selfP,
MK_PTR const env )
static

Definition at line 41 of file MqDumpC_atl.c.

41 {
42 OT_SELF_T selfO = selfP;
43 SETUP_amqrt(env);
44 return MK(AtomUnlink) (OT_MK_CALL selfO);
45}

◆ atlmqmsgque_pMqDumpC_Init()

int atlmqmsgque_pMqDumpC_Init ( OT_MQ_ARGS OT_NS_T ns)

Public API

Definition at line 442 of file MqDumpC_atl.c.

443{
446
447 return TCL_OK;
448error:
449 return TCL_ERROR;
450}
#define ClassInit
Definition MqDumpC_atl.c:57
#define error
Definition high_lng.h:339
#define MQ_STATIC_RT

Variable Documentation

◆ atlmqmsgque_sInstanceDef

const OtObjProcDefS atlmqmsgque_sInstanceDef[]
static
Initial value:
= {
{ "::MqDumpC::MqDumpC" , atlmqmsgque_MqDumpC_CTOR },
{ "::MqDumpC::Next" , atlmqmsgque_MqDumpC_Next },
{ "::MqDumpC::Prev" , atlmqmsgque_MqDumpC_Prev },
{ "::MqDumpC::BinGet" , atlmqmsgque_MqDumpC_BinGet },
{ "::MqDumpC::Import" , atlmqmsgque_MqDumpC_Import },
{ "::MqDumpC::SizeGet" , atlmqmsgque_MqDumpC_SizeGet },
{ "::MqDumpC::TokenGet" , atlmqmsgque_MqDumpC_TokenGet },
{ NULL }
}
static OT_ProcRet atlmqmsgque_MqDumpC_Next(MqDumpC_ARGS)
Atl: MqDumpC [MqDumpC::Next $dmp] → C-API get next instance from linked-list of MqDumpS type
static OT_ProcRet atlmqmsgque_MqDumpC_Prev(MqDumpC_ARGS)
Atl: MqDumpC [MqDumpC::Prev $dmp] → C-API get previous instance from linked-list of MqDumpS typ...
static OT_ProcRet atlmqmsgque_MqDumpC_TokenGet(MqDumpC_ARGS)
Atl: string [MqDumpC::TokenGet $dump] → C-API return the MqContextC_ServiceApi_Identifer …
static OT_ProcRet atlmqmsgque_MqDumpC_SizeGet(MqDumpC_ARGS)
Atl: long [MqDumpC::SizeGet $dump] → C-API report the binary data size 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-dat...
static OT_ProcRet atlmqmsgque_MqDumpC_CTOR(CONSTR_ARGS)
Atl: (constructor,static) MqDumpC [MqDumpC::CTOR ctx:MqContextC ?dumpP_inout:MqDumpC=NULL?...
static OT_ProcRet atlmqmsgque_MqDumpC_BinGet(MqDumpC_ARGS)
Atl: binary [MqDumpC::BinGet $dump] → C-API export the binary data from an MqDumpS object

Definition at line 414 of file MqDumpC_atl.c.

414 {
415 // BEGIN-OBJ - created by 'atl_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
416
417 // doc-key: MqDumpC,MqDump,oC_
418 { "::MqDumpC::MqDumpC" , NS(MqDumpC_CTOR) },
419
420 // doc-key: MqDumpC,MqDump,oc_
421 { "::MqDumpC::Next" , NS(MqDumpC_Next) },
422 { "::MqDumpC::Prev" , NS(MqDumpC_Prev) },
423
424 // doc-key: MqDumpC,MqDump,om_
425 { "::MqDumpC::BinGet" , NS(MqDumpC_BinGet) },
426 // skip class-overload: HandleGet → MkObjectHandleGet
427 { "::MqDumpC::Import" , NS(MqDumpC_Import) },
428 // skip class-overload: Log → MkObjectLog
429 { "::MqDumpC::SizeGet" , NS(MqDumpC_SizeGet) },
430 { "::MqDumpC::TokenGet" , NS(MqDumpC_TokenGet) },
431
432 // END-OBJ - created by 'atl_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
433 { NULL }
434};
#define NS(n)

◆ atlmqmsgque_sOtClassDef

const OtObjProcDefS atlmqmsgque_sOtClassDef[]
static
Initial value:
= {
{ "::MqDumpC::Error" , atlmqmsgque_MqDumpC_Error },
{ "::MqDumpC::Export" , atlmqmsgque_MqDumpC_Export },
{ "::MqDumpC::BinSet" , atlmqmsgque_MqDumpC_BinSet },
{ "::MqDumpC::GetNull" , atlmqmsgque_MqDumpC_GetNull },
{ "::MqDumpC::HandleResolve" , atlmqmsgque_MqDumpC_HandleResolve },
{ "::MqDumpC::Instances" , atlmqmsgque_MqDumpC_Instances },
{ NULL }
}
static OT_ProcRet atlmqmsgque_MqDumpC_GetNull(OtClass_ARGS)
Atl: (static) MqDumpC [MqDumpC::GetNull] → C-API Null-Slot - return a MqDumpC typed NULL instanc...
static OT_ProcRet atlmqmsgque_MqDumpC_HandleResolve(OtClass_ARGS)
Atl: (static) MqDumpC [MqDumpC::HandleResolve netHdl:MK_HDL] → C-API Handle-Resolve-Slot - retur...
static OT_ProcRet atlmqmsgque_MqDumpC_Instances(OtClass_ARGS)
Atl: (static) MqDumpC [MqDumpC::Instances] → C-API get head-instance from linked-list of MqDumpS...
static OT_ProcRet atlmqmsgque_MqDumpC_Error(OtClass_ARGS)
Atl: (constructor,static) MqDumpC [MqDumpC::Error error:MqContextC ?dumpP_inout:MqDumpC=NULL?...
static OT_ProcRet atlmqmsgque_MqDumpC_BinSet(OtClass_ARGS)
Atl: (constructor,static) MqDumpC [MqDumpC::BinSet data:binary] → C-API create an MqDumpS object...
static OT_ProcRet atlmqmsgque_MqDumpC_Export(OtClass_ARGS)
Atl: (constructor,static) MqDumpC [MqDumpC::Export ctx:MqContextC ?dumpP_inout:MqDumpC=NULL?...

Definition at line 393 of file MqDumpC_atl.c.

393 {
394 // BEGIN-CLASS - created by 'atl_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
395
396 // doc-key: MqDumpC,MqDump,sCi
397 { "::MqDumpC::Error" , NS(MqDumpC_Error) },
398 { "::MqDumpC::Export" , NS(MqDumpC_Export) },
399
400 // doc-key: MqDumpC,MqDump,sCo
401 { "::MqDumpC::BinSet" , NS(MqDumpC_BinSet) },
402
403 // doc-key: MqDumpC,MqDump,sc_
404 { "::MqDumpC::GetNull" , NS(MqDumpC_GetNull) },
405 { "::MqDumpC::HandleResolve" , NS(MqDumpC_HandleResolve) },
406 { "::MqDumpC::Instances" , NS(MqDumpC_Instances) },
407
408 // END-CLASS - created by 'atl_MqS.tcl -i NHI1_HOME/theLink/c/gen/c_mqmsgque.meta' - DO NOT change
409 { NULL }
410};