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 1205 of file MqContextC_inline_cc.hh.

1205 {
1206 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1207 MkRtSetup_X(ctx);
1208 MK_BFL val_inout_hdl = MkBufferListC::getBFL(val_inout,MK_NULL_YES);
1209 enum MkErrorE errVal = MqReadALL(ctx, &val_inout_hdl);
1210 MkErrorC_Check(ctx, errVal);
1211 return MkBufferListC::MkBufferListC_ObjNew(MK_RT_CALL val_inout_hdl);
1212 }
MK_BFL getBFL(bool nullB=MK_NULL_NO) const
static MkBufferListC * MkBufferListC_ObjNew(MK_RT const mkrt, MK_BFL hdl)
struct MkBufferListS * MK_BFL
#define MK_NULL_NO
#define MK_NULL_YES
#define MK_UNUSED
#define MK_RT_CALL
#define MkRtSetup_X(x)
MQ_CTX getCTX(bool nullB=MK_NULL_NO) 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 1217 of file MqContextC_inline_cc.hh.

1217 {
1218 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1219 MkRtSetup_X(ctx);
1220 MK_BFL val_out;
1221 enum MkErrorE errVal = MqReadBFL(ctx, &val_out);
1222 MkErrorC_Check(ctx, errVal);
1224 }
#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 1239 of file MqContextC_inline_cc.hh.

1239 {
1240 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1241 MkRtSetup_X(ctx);
1242 MkBinaryR val_out_ref;
1243 enum MkErrorE errVal = MqReadBIN(ctx, &val_out_ref);
1244 ErrorCheck(errVal);
1245 MK_BNP val_out = std::make_pair(val_out_ref.size,val_out_ref.data);
1246 return val_out;
1247 }
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 1260 of file MqContextC_inline_cc.hh.

1260 {
1261 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1262 MkRtSetup_X(ctx);
1263 MkBinaryR val_out_ref;
1264 enum MkErrorE errVal = MqReadBinaryR(ctx, &val_out_ref);
1265 ErrorCheck(errVal);
1266 MK_BNP val_out = std::make_pair(val_out_ref.size,val_out_ref.data);
1267 return val_out;
1268 }
#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 1250 of file MqContextC_inline_cc.hh.

1250 {
1251 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1252 MkRtSetup_X(ctx);
1253 MK_BOL val_out;
1254 enum MkErrorE errVal = MqReadBOL(ctx, &val_out);
1255 MkErrorC_Check(ctx, errVal);
1256 return val_out != 0;
1257 }
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 1227 of file MqContextC_inline_cc.hh.

1227 {
1228 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1229 MkRtSetup_X(ctx);
1230 MK_BUF val_out;
1231 enum MkErrorE errVal = MqReadBUF(ctx, &val_out);
1232 MkErrorC_Check(ctx, errVal);
1234 }
static MkBufferC * MkBufferC_ObjNew(MK_RT const mkrt, 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 1271 of file MqContextC_inline_cc.hh.

1271 {
1272 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1273 MkRtSetup_X(ctx);
1274 MK_DBL val_out;
1275 enum MkErrorE errVal = MqReadDBL(ctx, &val_out);
1276 MkErrorC_Check(ctx, errVal);
1277 return val_out;
1278 }
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 1281 of file MqContextC_inline_cc.hh.

1281 {
1282 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1283 MkRtSetup_X(ctx);
1284 MK_FLT val_out;
1285 enum MkErrorE errVal = MqReadFLT(ctx, &val_out);
1286 MkErrorC_Check(ctx, errVal);
1287 return val_out;
1288 }
#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 1291 of file MqContextC_inline_cc.hh.

1291 {
1292 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1293 MkRtSetup_X(ctx);
1294 MK_HDL val_out;
1295 enum MkErrorE errVal = MqReadHDL(ctx, &val_out);
1296 MkErrorC_Check(ctx, errVal);
1297 return val_out;
1298 }
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 1301 of file MqContextC_inline_cc.hh.

1301 {
1302 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1303 MkRtSetup_X(ctx);
1304 MK_I16 val_out;
1305 enum MkErrorE errVal = MqReadI16(ctx, &val_out);
1306 MkErrorC_Check(ctx, errVal);
1307 return val_out;
1308 }
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 1311 of file MqContextC_inline_cc.hh.

1311 {
1312 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1313 MkRtSetup_X(ctx);
1314 MK_I32 val_out;
1315 enum MkErrorE errVal = MqReadI32(ctx, &val_out);
1316 MkErrorC_Check(ctx, errVal);
1317 return val_out;
1318 }
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 1321 of file MqContextC_inline_cc.hh.

1321 {
1322 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1323 MkRtSetup_X(ctx);
1324 MK_I64 val_out;
1325 enum MkErrorE errVal = MqReadI64(ctx, &val_out);
1326 MkErrorC_Check(ctx, errVal);
1327 return val_out;
1328 }
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 1331 of file MqContextC_inline_cc.hh.

1331 {
1332 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1333 MkRtSetup_X(ctx);
1334 MK_I8 val_out;
1335 enum MkErrorE errVal = MqReadI8(ctx, &val_out);
1336 MkErrorC_Check(ctx, errVal);
1337 return (MK_I8)val_out;
1338 }
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 1344 of file MqContextC_inline_cc.hh.

1344 {
1345 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1346 MkRtSetup_X(ctx);
1347 MK_LONG val_out;
1348 enum MkErrorE errVal = MqReadLONG(ctx, &val_out);
1349 MkErrorC_Check(ctx, errVal);
1350 return val_out;
1351 }
#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 1357 of file MqContextC_inline_cc.hh.

1357 {
1358 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1359 MkRtSetup_X(ctx);
1360 MK_STRN val_out;
1361 enum MkErrorE errVal = MqReadSTR(ctx, &val_out);
1362 MkErrorC_Check(ctx, errVal);
1363 return val_out;
1364 }
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 1367 of file MqContextC_inline_cc.hh.

1367 {
1368 MK_UNUSED auto ctx = getCTX(MK_NULL_NO);
1369 MkRtSetup_X(ctx);
1370 MkStringR val_out_ref;
1371 enum MkErrorE errVal = MqReadStringR(ctx, &val_out_ref);
1372 ErrorCheck(errVal);
1373 const std::string& val_out = std::string(val_out_ref.ptr,val_out_ref.len);
1374 return val_out;
1375 }
#define MqReadStringR(...)