theLink 10.0
Loading...
Searching...
No Matches
MqContextC_ReadApi_Atom_CC_API

MqContextC - read a single-data-item outof a read-data-packageMore...

+ Collaboration diagram for MqContextC_ReadApi_Atom_CC_API:

Functions

MkBufferListCccmqmsgque::MqContextC::ReadALL (MkBufferListC *val_inout=NULL)
  C++: MkBufferListC* ctx.ReadALL(MkBufferListC* val_inout = NULL) C-API
get a temporary MkBufferListC from all data in the read-data-package
 
MkBufferListCccmqmsgque::MqContextC::ReadBFL ()
  C++: MkBufferListC* ctx.ReadBFL() C-API
get a temporary MkBufferListC from next list-item in the read-data-package
 
MkBufferCccmqmsgque::MqContextC::ReadBUF ()
  C++: MkBufferC* ctx.ReadBUF() C-API
get a temporary MkBufferC from the read-data-package
 
MK_BNP ccmqmsgque::MqContextC::ReadBIN ()
  C++: doc_mq_cc_ReadBIN C-API
generic function to read an libmkkernel::MK_BIN object from the read-data-package object …
 
MK_BOL ccmqmsgque::MqContextC::ReadBOL ()
  C++: doc_mq_cc_ReadBOL C-API
read a PRIMITIVE TYPE from the read-data-package
 
MK_BNP ccmqmsgque::MqContextC::ReadBinaryR ()
  C++: MK_BNP ctx.ReadBinaryR() C-API
read a MkBinaryR from the read-data-package
 
MK_DBL ccmqmsgque::MqContextC::ReadDBL ()
  C++: doc_mq_cc_ReadDBL C-API
read a PRIMITIVE TYPE from the read-data-package
 
MK_FLT ccmqmsgque::MqContextC::ReadFLT ()
  C++: doc_mq_cc_ReadFLT C-API
read a PRIMITIVE TYPE from the read-data-package
 
MK_HDL ccmqmsgque::MqContextC::ReadHDL ()
  C++: MK_HDL ctx.ReadHDL() C-API
read the handle from the read-data-package
 
MK_I16 ccmqmsgque::MqContextC::ReadI16 ()
  C++: doc_mq_cc_ReadI16 C-API
read a PRIMITIVE TYPE from the read-data-package
 
MK_I32 ccmqmsgque::MqContextC::ReadI32 ()
  C++: doc_mq_cc_ReadI32 C-API
read a PRIMITIVE TYPE from the read-data-package
 
MK_I64 ccmqmsgque::MqContextC::ReadI64 ()
  C++: doc_mq_cc_ReadI64 C-API
read a PRIMITIVE TYPE from the read-data-package
 
MK_I8 ccmqmsgque::MqContextC::ReadI8 ()
  C++: doc_mq_cc_ReadI8 C-API
read a PRIMITIVE TYPE from the read-data-package
 
MkBufferListCccmqmsgque::MqContextC::ReadLIST ()
  C++: MkBufferListC* ctx.ReadLIST() C-API
get all arguments as native list …
 
MK_LONG ccmqmsgque::MqContextC::ReadLONG ()
  C++: MK_LONG ctx.ReadLONG() C-API
read the long native object from the read-data-package
 
MkBufferCccmqmsgque::MqContextC::ReadNEXT ()
  C++: MkBufferC* ctx.ReadNEXT() C-API
get the next argument as native object …
 
MK_STRN ccmqmsgque::MqContextC::ReadSTR ()
  C++: doc_mq_cc_ReadSTR C-API
read a PRIMITIVE TYPE from the read-data-package
 
std::string ccmqmsgque::MqContextC::ReadStringR ()
  C++: std::string ctx.ReadStringR() C-API
read a MkStringR from the read-data-package
 

Detailed Description

MqContextC - read a single-data-item outof a read-data-package

Function Documentation

◆ ReadALL()

MkBufferListC * ccmqmsgque::MqContextC::ReadALL ( MkBufferListC * val_inout = NULL)
inline

C++: MkBufferListC* ctx.ReadALL(MkBufferListC* val_inout = NULL) C-API
get a temporary MkBufferListC from all data in the read-data-package

Definition at line 1071 of file MqContextC_inline_cc.hh.

1071 {
1072 MK_UNUSED auto ctx = getCTX();
1073 MK_BFL val_inout_hdl = MkBufferListC::getBFL__null_allow(val_inout);
1074 enum MkErrorE errVal = MqReadALL(ctx, &val_inout_hdl);
1075 MkErrorC_Check(ctx, errVal);
1076 return MkBufferListC::MkBufferListC_ObjNew(MK_RT_CALL val_inout_hdl);
1077 }
static MkBufferListC * MkBufferListC_ObjNew(MK_RT_ARGS MK_BFL hdl)
MK_BFL getBFL__null_allow() const
struct MkBufferListS * MK_BFL
#define MK_UNUSED
#define MK_RT_CALL
MQ_CTX getCTX() const
return the LibMsgqueObject from current MqContextC instance
#define MqReadALL(...)

◆ ReadBFL()

MkBufferListC * ccmqmsgque::MqContextC::ReadBFL ( )
inline

C++: MkBufferListC* ctx.ReadBFL() C-API
get a temporary MkBufferListC from next list-item in the read-data-package

Definition at line 1082 of file MqContextC_inline_cc.hh.

1082 {
1083 MK_UNUSED auto ctx = getCTX();
1084 MK_BFL val_out;
1085 enum MkErrorE errVal = MqReadBFL(ctx, &val_out);
1086 MkErrorC_Check(ctx, errVal);
1088 }
#define MqReadBFL(...)

◆ ReadBIN()

MK_BNP ccmqmsgque::MqContextC::ReadBIN ( )
inline

C++: doc_mq_cc_ReadBIN C-API
generic function to read an libmkkernel::MK_BIN object from the read-data-package object …

Definition at line 1102 of file MqContextC_inline_cc.hh.

1102 {
1103 MK_UNUSED auto ctx = getCTX();
1104 MkBinaryR val_out_ref;
1105 enum MkErrorE errVal = MqReadBIN(ctx, &val_out_ref);
1106 ErrorCheck(errVal);
1107 MK_BNP val_out = std::make_pair(val_out_ref.size,val_out_ref.data);
1108 return val_out;
1109 }
void ErrorCheck(enum MkErrorE err, MK_STRN const caller=__builtin_FUNCTION(), MK_I32 const line=__builtin_LINE()) const
#define MqReadBIN(...)
std::pair< MK_SIZE, MK_BINN > MK_BNP

◆ ReadBinaryR()

MK_BNP ccmqmsgque::MqContextC::ReadBinaryR ( )
inline

C++: MK_BNP ctx.ReadBinaryR() C-API
read a MkBinaryR from the read-data-package

Definition at line 1121 of file MqContextC_inline_cc.hh.

1121 {
1122 MK_UNUSED auto ctx = getCTX();
1123 MkBinaryR val_out_ref;
1124 enum MkErrorE errVal = MqReadBinaryR(ctx, &val_out_ref);
1125 ErrorCheck(errVal);
1126 MK_BNP val_out = std::make_pair(val_out_ref.size,val_out_ref.data);
1127 return val_out;
1128 }
#define MqReadBinaryR(...)

◆ ReadBOL()

MK_BOL ccmqmsgque::MqContextC::ReadBOL ( )
inline

C++: doc_mq_cc_ReadBOL C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 1112 of file MqContextC_inline_cc.hh.

1112 {
1113 MK_UNUSED auto ctx = getCTX();
1114 MK_BOL val_out;
1115 enum MkErrorE errVal = MqReadBOL(ctx, &val_out);
1116 MkErrorC_Check(ctx, errVal);
1117 return val_out != 0;
1118 }
unsigned char MK_BOL
#define MqReadBOL(...)

◆ ReadBUF()

MkBufferC * ccmqmsgque::MqContextC::ReadBUF ( )
inline

C++: MkBufferC* ctx.ReadBUF() C-API
get a temporary MkBufferC from the read-data-package

Definition at line 1091 of file MqContextC_inline_cc.hh.

1091 {
1092 MK_UNUSED auto ctx = getCTX();
1093 MK_BUF val_out;
1094 enum MkErrorE errVal = MqReadBUF(ctx, &val_out);
1095 MkErrorC_Check(ctx, errVal);
1097 }
static MkBufferC * MkBufferC_ObjNew(MK_RT_ARGS MK_BUF hdl)
struct MkBufferS * MK_BUF
#define MqReadBUF(...)

◆ ReadDBL()

MK_DBL ccmqmsgque::MqContextC::ReadDBL ( )
inline

C++: doc_mq_cc_ReadDBL C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 1131 of file MqContextC_inline_cc.hh.

1131 {
1132 MK_UNUSED auto ctx = getCTX();
1133 MK_DBL val_out;
1134 enum MkErrorE errVal = MqReadDBL(ctx, &val_out);
1135 MkErrorC_Check(ctx, errVal);
1136 return val_out;
1137 }
double MK_DBL
#define MqReadDBL(...)

◆ ReadFLT()

MK_FLT ccmqmsgque::MqContextC::ReadFLT ( )
inline

C++: doc_mq_cc_ReadFLT C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 1140 of file MqContextC_inline_cc.hh.

1140 {
1141 MK_UNUSED auto ctx = getCTX();
1142 MK_FLT val_out;
1143 enum MkErrorE errVal = MqReadFLT(ctx, &val_out);
1144 MkErrorC_Check(ctx, errVal);
1145 return val_out;
1146 }
#define MqReadFLT(...)

◆ ReadHDL()

MK_HDL ccmqmsgque::MqContextC::ReadHDL ( )
inline

C++: MK_HDL ctx.ReadHDL() C-API
read the handle from the read-data-package

Definition at line 1149 of file MqContextC_inline_cc.hh.

1149 {
1150 MK_UNUSED auto ctx = getCTX();
1151 MK_HDL val_out;
1152 enum MkErrorE errVal = MqReadHDL(ctx, &val_out);
1153 MkErrorC_Check(ctx, errVal);
1154 return val_out;
1155 }
int32_t MK_HDL
#define MqReadHDL(...)

◆ ReadI16()

MK_I16 ccmqmsgque::MqContextC::ReadI16 ( )
inline

C++: doc_mq_cc_ReadI16 C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 1158 of file MqContextC_inline_cc.hh.

1158 {
1159 MK_UNUSED auto ctx = getCTX();
1160 MK_I16 val_out;
1161 enum MkErrorE errVal = MqReadI16(ctx, &val_out);
1162 MkErrorC_Check(ctx, errVal);
1163 return val_out;
1164 }
signed short int MK_I16
#define MqReadI16(...)

◆ ReadI32()

MK_I32 ccmqmsgque::MqContextC::ReadI32 ( )
inline

C++: doc_mq_cc_ReadI32 C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 1167 of file MqContextC_inline_cc.hh.

1167 {
1168 MK_UNUSED auto ctx = getCTX();
1169 MK_I32 val_out;
1170 enum MkErrorE errVal = MqReadI32(ctx, &val_out);
1171 MkErrorC_Check(ctx, errVal);
1172 return val_out;
1173 }
signed int MK_I32
#define MqReadI32(...)

◆ ReadI64()

MK_I64 ccmqmsgque::MqContextC::ReadI64 ( )
inline

C++: doc_mq_cc_ReadI64 C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 1176 of file MqContextC_inline_cc.hh.

1176 {
1177 MK_UNUSED auto ctx = getCTX();
1178 MK_I64 val_out;
1179 enum MkErrorE errVal = MqReadI64(ctx, &val_out);
1180 MkErrorC_Check(ctx, errVal);
1181 return val_out;
1182 }
signed long long MK_I64
#define MqReadI64(...)

◆ ReadI8()

MK_I8 ccmqmsgque::MqContextC::ReadI8 ( )
inline

C++: doc_mq_cc_ReadI8 C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 1185 of file MqContextC_inline_cc.hh.

1185 {
1186 MK_UNUSED auto ctx = getCTX();
1187 MK_I8 val_out;
1188 enum MkErrorE errVal = MqReadI8(ctx, &val_out);
1189 MkErrorC_Check(ctx, errVal);
1190 return (MK_I8)val_out;
1191 }
signed char MK_I8
#define MqReadI8(...)

◆ ReadLIST()

MkBufferListC * ccmqmsgque::MqContextC::ReadLIST ( )
inline

C++: MkBufferListC* ctx.ReadLIST() C-API
get all arguments as native list …

◆ ReadLONG()

MK_LONG ccmqmsgque::MqContextC::ReadLONG ( )
inline

C++: MK_LONG ctx.ReadLONG() C-API
read the long native object from the read-data-package

Definition at line 1197 of file MqContextC_inline_cc.hh.

1197 {
1198 MK_UNUSED auto ctx = getCTX();
1199 MK_LONG val_out;
1200 enum MkErrorE errVal = MqReadLONG(ctx, &val_out);
1201 MkErrorC_Check(ctx, errVal);
1202 return val_out;
1203 }
#define MqReadLONG(...)

◆ ReadNEXT()

MkBufferC * ccmqmsgque::MqContextC::ReadNEXT ( )
inline

C++: MkBufferC* ctx.ReadNEXT() C-API
get the next argument as native object …

◆ ReadSTR()

MK_STRN ccmqmsgque::MqContextC::ReadSTR ( )
inline

C++: doc_mq_cc_ReadSTR C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 1209 of file MqContextC_inline_cc.hh.

1209 {
1210 MK_UNUSED auto ctx = getCTX();
1211 MK_STRN val_out;
1212 enum MkErrorE errVal = MqReadSTR(ctx, &val_out);
1213 MkErrorC_Check(ctx, errVal);
1214 return val_out;
1215 }
const MK_STRB * MK_STRN
#define MqReadSTR(...)
+ Here is the caller graph for this function:

◆ ReadStringR()

std::string ccmqmsgque::MqContextC::ReadStringR ( )
inline

C++: std::string ctx.ReadStringR() C-API
read a MkStringR from the read-data-package

Definition at line 1218 of file MqContextC_inline_cc.hh.

1218 {
1219 MK_UNUSED auto ctx = getCTX();
1220 MkStringR val_out_ref;
1221 enum MkErrorE errVal = MqReadStringR(ctx, &val_out_ref);
1222 ErrorCheck(errVal);
1223 const std::string& val_out = std::string(val_out_ref.ptr,val_out_ref.len);
1224 return val_out;
1225 }
#define MqReadStringR(...)