theLink 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard - theLib
c - tcl - atl - cs - py - rb - jv - cc
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 1074 of file MqContextC_inline_cc.hh.

1074 {
1075 MK_UNUSED auto ctx = getCTX();
1076 MK_BFL val_inout_hdl = MkBufferListC::getBFL__null_allow(val_inout);
1077 enum MkErrorE errVal = MqReadALL(ctx, &val_inout_hdl);
1078 MkErrorC_Check(ctx, errVal);
1079 return MkBufferListC::MkBufferListC_ObjNew(MK_RT_CALL val_inout_hdl);
1080 }
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 1085 of file MqContextC_inline_cc.hh.

1085 {
1086 MK_UNUSED auto ctx = getCTX();
1087 MK_BFL val_out;
1088 enum MkErrorE errVal = MqReadBFL(ctx, &val_out);
1089 MkErrorC_Check(ctx, errVal);
1091 }
#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 1105 of file MqContextC_inline_cc.hh.

1105 {
1106 MK_UNUSED auto ctx = getCTX();
1107 MkBinaryR val_out_ref;
1108 enum MkErrorE errVal = MqReadBIN(ctx, &val_out_ref);
1109 ErrorCheck(errVal);
1110 MK_BNP val_out = std::make_pair(val_out_ref.size,val_out_ref.data);
1111 return val_out;
1112 }
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 1124 of file MqContextC_inline_cc.hh.

1124 {
1125 MK_UNUSED auto ctx = getCTX();
1126 MkBinaryR val_out_ref;
1127 enum MkErrorE errVal = MqReadBinaryR(ctx, &val_out_ref);
1128 ErrorCheck(errVal);
1129 MK_BNP val_out = std::make_pair(val_out_ref.size,val_out_ref.data);
1130 return val_out;
1131 }
#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 1115 of file MqContextC_inline_cc.hh.

1115 {
1116 MK_UNUSED auto ctx = getCTX();
1117 MK_BOL val_out;
1118 enum MkErrorE errVal = MqReadBOL(ctx, &val_out);
1119 MkErrorC_Check(ctx, errVal);
1120 return val_out != 0;
1121 }
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 1094 of file MqContextC_inline_cc.hh.

1094 {
1095 MK_UNUSED auto ctx = getCTX();
1096 MK_BUF val_out;
1097 enum MkErrorE errVal = MqReadBUF(ctx, &val_out);
1098 MkErrorC_Check(ctx, errVal);
1100 }
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 1134 of file MqContextC_inline_cc.hh.

1134 {
1135 MK_UNUSED auto ctx = getCTX();
1136 MK_DBL val_out;
1137 enum MkErrorE errVal = MqReadDBL(ctx, &val_out);
1138 MkErrorC_Check(ctx, errVal);
1139 return val_out;
1140 }
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 1143 of file MqContextC_inline_cc.hh.

1143 {
1144 MK_UNUSED auto ctx = getCTX();
1145 MK_FLT val_out;
1146 enum MkErrorE errVal = MqReadFLT(ctx, &val_out);
1147 MkErrorC_Check(ctx, errVal);
1148 return val_out;
1149 }
#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 1152 of file MqContextC_inline_cc.hh.

1152 {
1153 MK_UNUSED auto ctx = getCTX();
1154 MK_HDL val_out;
1155 enum MkErrorE errVal = MqReadHDL(ctx, &val_out);
1156 MkErrorC_Check(ctx, errVal);
1157 return val_out;
1158 }
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 1161 of file MqContextC_inline_cc.hh.

1161 {
1162 MK_UNUSED auto ctx = getCTX();
1163 MK_I16 val_out;
1164 enum MkErrorE errVal = MqReadI16(ctx, &val_out);
1165 MkErrorC_Check(ctx, errVal);
1166 return val_out;
1167 }
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 1170 of file MqContextC_inline_cc.hh.

1170 {
1171 MK_UNUSED auto ctx = getCTX();
1172 MK_I32 val_out;
1173 enum MkErrorE errVal = MqReadI32(ctx, &val_out);
1174 MkErrorC_Check(ctx, errVal);
1175 return val_out;
1176 }
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 1179 of file MqContextC_inline_cc.hh.

1179 {
1180 MK_UNUSED auto ctx = getCTX();
1181 MK_I64 val_out;
1182 enum MkErrorE errVal = MqReadI64(ctx, &val_out);
1183 MkErrorC_Check(ctx, errVal);
1184 return val_out;
1185 }
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 1188 of file MqContextC_inline_cc.hh.

1188 {
1189 MK_UNUSED auto ctx = getCTX();
1190 MK_I8 val_out;
1191 enum MkErrorE errVal = MqReadI8(ctx, &val_out);
1192 MkErrorC_Check(ctx, errVal);
1193 return (MK_I8)val_out;
1194 }
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 1200 of file MqContextC_inline_cc.hh.

1200 {
1201 MK_UNUSED auto ctx = getCTX();
1202 MK_LONG val_out;
1203 enum MkErrorE errVal = MqReadLONG(ctx, &val_out);
1204 MkErrorC_Check(ctx, errVal);
1205 return val_out;
1206 }
#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 1212 of file MqContextC_inline_cc.hh.

1212 {
1213 MK_UNUSED auto ctx = getCTX();
1214 MK_STRN val_out;
1215 enum MkErrorE errVal = MqReadSTR(ctx, &val_out);
1216 MkErrorC_Check(ctx, errVal);
1217 return val_out;
1218 }
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 1221 of file MqContextC_inline_cc.hh.

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