theLink 10.0
Loading...
Searching...
No Matches
MqContextC_ReadApi_Atom_CS_API

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

+ Collaboration diagram for MqContextC_ReadApi_Atom_CS_API:

Functions

MkBufferListC csmqmsgque.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
 
MkBufferListC csmqmsgque.MqContextC.ReadBFL ()
  C#: MkBufferListC ctx.ReadBFL() C-API
get a temporary MkBufferListC from next list-item in the read-data-package
 
MkBufferC csmqmsgque.MqContextC.ReadBUF ()
  C#: MkBufferC ctx.ReadBUF() C-API
get a temporary MkBufferC from the read-data-package
 
byte[] csmqmsgque.MqContextC.ReadBIN ()
  C#: doc_mq_cs_ReadBIN C-API
generic function to read an MK_BIN object from the read-data-package object …
 
bool csmqmsgque.MqContextC.ReadBOL ()
  C#: doc_mq_cs_ReadBOL C-API
read a PRIMITIVE TYPE from the read-data-package
 
byte[] csmqmsgque.MqContextC.ReadBinaryR ()
  C#: byte[] ctx.ReadBinaryR() C-API
read a MkBinaryR from the read-data-package
 
double csmqmsgque.MqContextC.ReadDBL ()
  C#: doc_mq_cs_ReadDBL C-API
read a PRIMITIVE TYPE from the read-data-package
 
float csmqmsgque.MqContextC.ReadFLT ()
  C#: doc_mq_cs_ReadFLT C-API
read a PRIMITIVE TYPE from the read-data-package
 
Int32 csmqmsgque.MqContextC.ReadHDL ()
  C#: Int32 ctx.ReadHDL() C-API
read the handle from the read-data-package
 
short csmqmsgque.MqContextC.ReadI16 ()
  C#: doc_mq_cs_ReadI16 C-API
read a PRIMITIVE TYPE from the read-data-package
 
int csmqmsgque.MqContextC.ReadI32 ()
  C#: doc_mq_cs_ReadI32 C-API
read a PRIMITIVE TYPE from the read-data-package
 
long csmqmsgque.MqContextC.ReadI64 ()
  C#: doc_mq_cs_ReadI64 C-API
read a PRIMITIVE TYPE from the read-data-package
 
byte csmqmsgque.MqContextC.ReadI8 ()
  C#: doc_mq_cs_ReadI8 C-API
read a PRIMITIVE TYPE from the read-data-package
 
long csmqmsgque.MqContextC.ReadLONG ()
  C#: long ctx.ReadLONG() C-API
read the long native object from the read-data-package
 
string csmqmsgque.MqContextC.ReadSTR ()
  C#: doc_mq_cs_ReadSTR C-API
read a PRIMITIVE TYPE from the read-data-package
 
string csmqmsgque.MqContextC.ReadStringR ()
  C#: string ctx.ReadStringR() C-API
read a MkStringR from the read-data-package
 
List< object > csmqmsgque.MqContextC.ReadLIST ()
  C#: List<object> ctx.ReadLIST() C-API
get all arguments as native list …
 

Detailed Description

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

Function Documentation

◆ ReadALL()

MkBufferListC csmqmsgque.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 982 of file MqContextC.cs.

982 {
983 IntPtr val_inout_hdl = MkBufferListC.getOBJ_null_allow(val_inout);
984 MkErrorE errVal = Mq.MqReadALL(mkrt, hdl, ref val_inout_hdl);
985 MkErrorC.Check(hdl, errVal);
986 return MkBufferListC.MkBufferListC_ObjNew(val_inout_hdl);
987 }
csmqmsgque.MqMsgque Mq
static MkBufferListC MkBufferListC_ObjNew(IntPtr hdl)
static void Check(IntPtr ctx, MkErrorE err)
MkErrorE
+ Here is the caller graph for this function:

◆ ReadBFL()

MkBufferListC csmqmsgque.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 992 of file MqContextC.cs.

992 {
993 IntPtr val_out;
994 MkErrorE errVal = Mq.MqReadBFL(mkrt, hdl, out val_out);
995 MkErrorC.Check(hdl, errVal);
996 return MkBufferListC.MkBufferListC_ObjNew(val_out);
997 }

◆ ReadBIN()

byte[] csmqmsgque.MqContextC.ReadBIN ( )
inline

C#: doc_mq_cs_ReadBIN C-API
generic function to read an MK_BIN object from the read-data-package object …

Definition at line 1010 of file MqContextC.cs.

1010 {
1011 Mk.MkBinaryR val_out_ref;
1012 MkErrorE errVal = Mq.MqReadBIN(mkrt, hdl, out val_out_ref);
1013 if (errVal > MkErrorE.CONTINUE) ErrorCheck(errVal);
1014 byte[] val_out = new byte[(int)val_out_ref.size];
1015 Marshal.Copy(val_out_ref.data,val_out,0,(int)val_out_ref.size);
1016 return val_out;
1017 }
void ErrorCheck(MkErrorE err)

◆ ReadBinaryR()

byte[] csmqmsgque.MqContextC.ReadBinaryR ( )
inline

C#: byte[] ctx.ReadBinaryR() C-API
read a MkBinaryR from the read-data-package

Definition at line 1028 of file MqContextC.cs.

1028 {
1029 Mk.MkBinaryR val_out_ref;
1030 MkErrorE errVal = Mq.MqReadBinaryR(mkrt, hdl, out val_out_ref);
1031 if (errVal > MkErrorE.CONTINUE) ErrorCheck(errVal);
1032 byte[] val_out = new byte[(int)val_out_ref.size];
1033 Marshal.Copy(val_out_ref.data,val_out,0,(int)val_out_ref.size);
1034 return val_out;
1035 }

◆ ReadBOL()

bool csmqmsgque.MqContextC.ReadBOL ( )
inline

C#: doc_mq_cs_ReadBOL C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 1020 of file MqContextC.cs.

1020 {
1021 Byte val_out;
1022 MkErrorE errVal = Mq.MqReadBOL(mkrt, hdl, out val_out);
1023 MkErrorC.Check(hdl, errVal);
1024 return val_out != 0;
1025 }

◆ ReadBUF()

MkBufferC csmqmsgque.MqContextC.ReadBUF ( )
inline

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

Definition at line 1000 of file MqContextC.cs.

1000 {
1001 IntPtr val_out;
1002 MkErrorE errVal = Mq.MqReadBUF(mkrt, hdl, out val_out);
1003 MkErrorC.Check(hdl, errVal);
1004 return MkBufferC.MkBufferC_ObjNew(val_out);
1005 }
static MkBufferC MkBufferC_ObjNew(IntPtr hdl)
+ Here is the caller graph for this function:

◆ ReadDBL()

double csmqmsgque.MqContextC.ReadDBL ( )
inline

C#: doc_mq_cs_ReadDBL C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 1038 of file MqContextC.cs.

1038 {
1039 Double val_out;
1040 MkErrorE errVal = Mq.MqReadDBL(mkrt, hdl, out val_out);
1041 MkErrorC.Check(hdl, errVal);
1042 return val_out;
1043 }

◆ ReadFLT()

float csmqmsgque.MqContextC.ReadFLT ( )
inline

C#: doc_mq_cs_ReadFLT C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 1046 of file MqContextC.cs.

1046 {
1047 Single val_out;
1048 MkErrorE errVal = Mq.MqReadFLT(mkrt, hdl, out val_out);
1049 MkErrorC.Check(hdl, errVal);
1050 return val_out;
1051 }

◆ ReadHDL()

Int32 csmqmsgque.MqContextC.ReadHDL ( )
inline

C#: Int32 ctx.ReadHDL() C-API
read the handle from the read-data-package

Definition at line 1054 of file MqContextC.cs.

1054 {
1055 Int32 val_out;
1056 MkErrorE errVal = Mq.MqReadHDL(mkrt, hdl, out val_out);
1057 MkErrorC.Check(hdl, errVal);
1058 return val_out;
1059 }

◆ ReadI16()

short csmqmsgque.MqContextC.ReadI16 ( )
inline

C#: doc_mq_cs_ReadI16 C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 1062 of file MqContextC.cs.

1062 {
1063 Int16 val_out;
1064 MkErrorE errVal = Mq.MqReadI16(mkrt, hdl, out val_out);
1065 MkErrorC.Check(hdl, errVal);
1066 return val_out;
1067 }

◆ ReadI32()

int csmqmsgque.MqContextC.ReadI32 ( )
inline

C#: doc_mq_cs_ReadI32 C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 1070 of file MqContextC.cs.

1070 {
1071 Int32 val_out;
1072 MkErrorE errVal = Mq.MqReadI32(mkrt, hdl, out val_out);
1073 MkErrorC.Check(hdl, errVal);
1074 return val_out;
1075 }

◆ ReadI64()

long csmqmsgque.MqContextC.ReadI64 ( )
inline

C#: doc_mq_cs_ReadI64 C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 1078 of file MqContextC.cs.

1078 {
1079 Int64 val_out;
1080 MkErrorE errVal = Mq.MqReadI64(mkrt, hdl, out val_out);
1081 MkErrorC.Check(hdl, errVal);
1082 return val_out;
1083 }

◆ ReadI8()

byte csmqmsgque.MqContextC.ReadI8 ( )
inline

C#: doc_mq_cs_ReadI8 C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 1086 of file MqContextC.cs.

1086 {
1087 Byte val_out;
1088 MkErrorE errVal = Mq.MqReadI8(mkrt, hdl, out val_out);
1089 MkErrorC.Check(hdl, errVal);
1090 return (byte)val_out;
1091 }

◆ ReadLIST()

List< object > csmqmsgque.MqContextC.ReadLIST ( )
inline

C#: List<object> ctx.ReadLIST() C-API
get all arguments as native list …

Definition at line 204 of file MqContextC.cs.

204 {
205 return ReadALL().ToList();
206 }
List< object > ToList()
MkBufferListC ReadALL(MkBufferListC val_inout=null)
C#: MkBufferListC ctx.ReadALL(MkBufferListC val_inout = null) → C-API get a temporary MkBufferL...

◆ ReadLONG()

long csmqmsgque.MqContextC.ReadLONG ( )
inline

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

Definition at line 1097 of file MqContextC.cs.

1097 {
1098 long val_out;
1099 MkErrorE errVal = Mq.MqReadLONG(mkrt, hdl, out val_out);
1100 MkErrorC.Check(hdl, errVal);
1101 return val_out;
1102 }

◆ ReadSTR()

string csmqmsgque.MqContextC.ReadSTR ( )
inline

C#: doc_mq_cs_ReadSTR C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 1108 of file MqContextC.cs.

1108 {
1109 IntPtr val_out;
1110 MkErrorE errVal = Mq.MqReadSTR(mkrt, hdl, out val_out);
1111 MkErrorC.Check(hdl, errVal);
1112 return Marshal.PtrToStringAnsi(val_out);
1113 }

◆ ReadStringR()

string csmqmsgque.MqContextC.ReadStringR ( )
inline

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

Definition at line 1116 of file MqContextC.cs.

1116 {
1117 Mk.MkStringR val_out_ref;
1118 MkErrorE errVal = Mq.MqReadStringR(mkrt, hdl, out val_out_ref);
1119 MkErrorC.Check(hdl, errVal);
1120 return Marshal.PtrToStringAnsi(val_out_ref.ptr,val_out_ref.len);
1121 }