Loading...
Searching...
No Matches
MqContextC_ReadApi_Atom_PY_API

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

+ Collaboration diagram for MqContextC_ReadApi_Atom_PY_API:

Functions

static OT_ProcRet py_mqmsgque_MqContextC_ReadALL (MqContextC_ARGS)
  Python: MkBufferListC ctx.ReadALL(?val_inout:MkBufferListC=None?) C-API
get a temporary MkBufferListC from all data in the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadBFL (MqContextC_ARGS)
  Python: MkBufferListC ctx.ReadBFL() C-API
get a temporary MkBufferListC from next list-item in the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadBUF (MqContextC_ARGS)
  Python: MkBufferC ctx.ReadBUF() C-API
get a temporary MkBufferC from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadBIN (MqContextC_ARGS)
  Python: doc_mq_py_ReadBIN C-API
generic function to read an MK_BIN object from the read-data-package object …
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadBOL (MqContextC_ARGS)
  Python: doc_mq_py_ReadBOL C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadBinaryR (MqContextC_ARGS)
  Python: binary ctx.ReadBinaryR() C-API
read a MkBinaryR from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadDBL (MqContextC_ARGS)
  Python: doc_mq_py_ReadDBL C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadFLT (MqContextC_ARGS)
  Python: doc_mq_py_ReadFLT C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadHDL (MqContextC_ARGS)
  Python: MK_HDL ctx.ReadHDL() C-API
read the handle from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadI16 (MqContextC_ARGS)
  Python: doc_mq_py_ReadI16 C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadI32 (MqContextC_ARGS)
  Python: doc_mq_py_ReadI32 C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadI64 (MqContextC_ARGS)
  Python: doc_mq_py_ReadI64 C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadI8 (MqContextC_ARGS)
  Python: doc_mq_py_ReadI8 C-API
read a PRIMITIVE TYPE from the read-data-package
 
PyObject * py_mqmsgque_MqContextC_ReadLIST (MqContextC_ARGS)
  Python: [list...] ctx.ReadLIST() C-API
get all arguments as native list …
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadLONG (MqContextC_ARGS)
  Python: long ctx.ReadLONG() C-API
read the long native object from the read-data-package
 
PyObject * py_mqmsgque_MqContextC_ReadNEXT (MqContextC_ARGS)
  Python: obj ctx.ReadNEXT() C-API
get the next argument as native object …
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadSTR (MqContextC_ARGS)
  Python: doc_mq_py_ReadSTR C-API
read a PRIMITIVE TYPE from the read-data-package
 
static OT_ProcRet py_mqmsgque_MqContextC_ReadStringR (MqContextC_ARGS)
  Python: 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

◆ py_mqmsgque_MqContextC_ReadALL()

static OT_ProcRet py_mqmsgque_MqContextC_ReadALL ( MqContextC_ARGS )
static

Python: MkBufferListC ctx.ReadALL(?val_inout:MkBufferListC=None?) C-API
get a temporary MkBufferListC from all data in the read-data-package

Definition at line 1961 of file MqContextC_py.c.

1961 {
1963 OT_SETUP_VARARGS(0,1,ReadALL_doc)
1964 MkBufferListCreateTLS_T(val_inout,10);
1965 OT_CHECK_OPTIONAL(OT_CHECK_BFL (val_inout,MK_NULL_YES))
1966 OT_CHECK_NOARGS
1967 MkErrorC_Check(hdl,MqReadALL (hdl, &val_inout));
1968 OT_retObj_SET_BFL(val_inout)
1969 goto end;
1970 error:
1971 OT_retObj_SET_Error
1972 end:
1974}
#define OT_SETUP_hdl
#define ReadALL_doc
#define OT_retObj_RETURN
#define error
#define MkBufferListCreateTLS_T(name, num)
#define MK_NULL_YES
#define MqReadALL(...)

◆ py_mqmsgque_MqContextC_ReadBFL()

static OT_ProcRet py_mqmsgque_MqContextC_ReadBFL ( MqContextC_ARGS )
static

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

Definition at line 1979 of file MqContextC_py.c.

1979 {
1981 OT_SETUP_NOARG(ReadBFL_doc)
1982 OT_CHECK_NOARGS
1983 MK_BFL val_out;
1984 MkErrorC_Check(hdl,MqReadBFL (hdl, &val_out));
1985 OT_retObj_SET_BFL(val_out)
1986 goto end;
1987 error:
1988 OT_retObj_SET_Error
1989 end:
1991}
#define ReadBFL_doc
#define MqReadBFL(...)

◆ py_mqmsgque_MqContextC_ReadBIN()

static OT_ProcRet py_mqmsgque_MqContextC_ReadBIN ( MqContextC_ARGS )
static

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

Definition at line 2011 of file MqContextC_py.c.

2011 {
2013 OT_SETUP_NOARG(ReadBIN_doc)
2014 OT_CHECK_NOARGS
2015 MkBinaryR val_out;
2016 MkErrorC_Check(hdl,MqReadBIN (hdl, &val_out));
2017 MkBinaryR retVal = val_out;
2018 OT_retObj_SET(OT_GET__ME_REF_MkBinaryR(retVal))
2019 goto end;
2020 error:
2021 OT_retObj_SET_Error
2022 end:
2024}
#define ReadBIN_doc
#define MqReadBIN(...)

◆ py_mqmsgque_MqContextC_ReadBinaryR()

static OT_ProcRet py_mqmsgque_MqContextC_ReadBinaryR ( MqContextC_ARGS )
static

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

Definition at line 2042 of file MqContextC_py.c.

2042 {
2044 OT_SETUP_NOARG(ReadBinaryR_doc)
2045 OT_CHECK_NOARGS
2046 MkBinaryR val_out;
2047 MkErrorC_Check(hdl,MqReadBinaryR (hdl, &val_out));
2048 MkBinaryR retVal = val_out;
2049 OT_retObj_SET(OT_GET__ME_REF_MkBinaryR(retVal))
2050 goto end;
2051 error:
2052 OT_retObj_SET_Error
2053 end:
2055}
#define ReadBinaryR_doc
#define MqReadBinaryR(...)

◆ py_mqmsgque_MqContextC_ReadBOL()

static OT_ProcRet py_mqmsgque_MqContextC_ReadBOL ( MqContextC_ARGS )
static

Python: doc_mq_py_ReadBOL C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 2027 of file MqContextC_py.c.

2027 {
2029 OT_SETUP_NOARG(ReadBOL_doc)
2030 OT_CHECK_NOARGS
2031 MK_BOL val_out;
2032 MkErrorC_Check(hdl,MqReadBOL (hdl, &val_out));
2033 OT_retObj_SET_BOL(val_out == 1)
2034 goto end;
2035 error:
2036 OT_retObj_SET_Error
2037 end:
2039}
#define ReadBOL_doc
unsigned char MK_BOL
#define MqReadBOL(...)

◆ py_mqmsgque_MqContextC_ReadBUF()

static OT_ProcRet py_mqmsgque_MqContextC_ReadBUF ( MqContextC_ARGS )
static

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

Definition at line 1994 of file MqContextC_py.c.

1994 {
1996 OT_SETUP_NOARG(ReadBUF_doc)
1997 OT_CHECK_NOARGS
1998 MK_BUF val_out;
1999 MkErrorC_Check(hdl,MqReadBUF (hdl, &val_out));
2000 OT_retObj_SET_BUF(val_out)
2001 goto end;
2002 error:
2003 OT_retObj_SET_Error
2004 end:
2006}
#define ReadBUF_doc
#define MqReadBUF(...)

◆ py_mqmsgque_MqContextC_ReadDBL()

static OT_ProcRet py_mqmsgque_MqContextC_ReadDBL ( MqContextC_ARGS )
static

Python: doc_mq_py_ReadDBL C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 2058 of file MqContextC_py.c.

2058 {
2060 OT_SETUP_NOARG(ReadDBL_doc)
2061 OT_CHECK_NOARGS
2062 MK_DBL val_out;
2063 MkErrorC_Check(hdl,MqReadDBL (hdl, &val_out));
2064 OT_retObj_SET_DBL(val_out)
2065 goto end;
2066 error:
2067 OT_retObj_SET_Error
2068 end:
2070}
#define ReadDBL_doc
double MK_DBL
#define MqReadDBL(...)

◆ py_mqmsgque_MqContextC_ReadFLT()

static OT_ProcRet py_mqmsgque_MqContextC_ReadFLT ( MqContextC_ARGS )
static

Python: doc_mq_py_ReadFLT C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 2073 of file MqContextC_py.c.

2073 {
2075 OT_SETUP_NOARG(ReadFLT_doc)
2076 OT_CHECK_NOARGS
2077 MK_FLT val_out;
2078 MkErrorC_Check(hdl,MqReadFLT (hdl, &val_out));
2079 OT_retObj_SET_FLT(val_out)
2080 goto end;
2081 error:
2082 OT_retObj_SET_Error
2083 end:
2085}
#define ReadFLT_doc
float MK_FLT
#define MqReadFLT(...)

◆ py_mqmsgque_MqContextC_ReadHDL()

static OT_ProcRet py_mqmsgque_MqContextC_ReadHDL ( MqContextC_ARGS )
static

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

Definition at line 2088 of file MqContextC_py.c.

2088 {
2090 OT_SETUP_NOARG(ReadHDL_doc)
2091 OT_CHECK_NOARGS
2092 MK_HDL val_out;
2093 MkErrorC_Check(hdl,MqReadHDL (hdl, &val_out));
2094 OT_retObj_SET_HDL(val_out)
2095 goto end;
2096 error:
2097 OT_retObj_SET_Error
2098 end:
2100}
#define ReadHDL_doc
int32_t MK_HDL
#define MqReadHDL(...)

◆ py_mqmsgque_MqContextC_ReadI16()

static OT_ProcRet py_mqmsgque_MqContextC_ReadI16 ( MqContextC_ARGS )
static

Python: doc_mq_py_ReadI16 C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 2103 of file MqContextC_py.c.

2103 {
2105 OT_SETUP_NOARG(ReadI16_doc)
2106 OT_CHECK_NOARGS
2107 MK_I16 val_out;
2108 MkErrorC_Check(hdl,MqReadI16 (hdl, &val_out));
2109 OT_retObj_SET_I16(val_out)
2110 goto end;
2111 error:
2112 OT_retObj_SET_Error
2113 end:
2115}
#define ReadI16_doc
signed short int MK_I16
#define MqReadI16(...)

◆ py_mqmsgque_MqContextC_ReadI32()

static OT_ProcRet py_mqmsgque_MqContextC_ReadI32 ( MqContextC_ARGS )
static

Python: doc_mq_py_ReadI32 C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 2118 of file MqContextC_py.c.

2118 {
2120 OT_SETUP_NOARG(ReadI32_doc)
2121 OT_CHECK_NOARGS
2122 MK_I32 val_out;
2123 MkErrorC_Check(hdl,MqReadI32 (hdl, &val_out));
2124 OT_retObj_SET_I32(val_out)
2125 goto end;
2126 error:
2127 OT_retObj_SET_Error
2128 end:
2130}
#define ReadI32_doc
signed int MK_I32
#define MqReadI32(...)

◆ py_mqmsgque_MqContextC_ReadI64()

static OT_ProcRet py_mqmsgque_MqContextC_ReadI64 ( MqContextC_ARGS )
static

Python: doc_mq_py_ReadI64 C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 2133 of file MqContextC_py.c.

2133 {
2135 OT_SETUP_NOARG(ReadI64_doc)
2136 OT_CHECK_NOARGS
2137 MK_I64 val_out;
2138 MkErrorC_Check(hdl,MqReadI64 (hdl, &val_out));
2139 OT_retObj_SET_I64(val_out)
2140 goto end;
2141 error:
2142 OT_retObj_SET_Error
2143 end:
2145}
#define ReadI64_doc
signed long long MK_I64
#define MqReadI64(...)

◆ py_mqmsgque_MqContextC_ReadI8()

static OT_ProcRet py_mqmsgque_MqContextC_ReadI8 ( MqContextC_ARGS )
static

Python: doc_mq_py_ReadI8 C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 2148 of file MqContextC_py.c.

2148 {
2150 OT_SETUP_NOARG(ReadI8_doc)
2151 OT_CHECK_NOARGS
2152 MK_I8 val_out;
2153 MkErrorC_Check(hdl,MqReadI8 (hdl, &val_out));
2154 OT_retObj_SET_I8(val_out)
2155 goto end;
2156 error:
2157 OT_retObj_SET_Error
2158 end:
2160}
#define ReadI8_doc
signed char MK_I8
#define MqReadI8(...)

◆ py_mqmsgque_MqContextC_ReadLIST()

OT_ProcRet py_mqmsgque_MqContextC_ReadLIST ( MqContextC_ARGS )

Python: [list...] ctx.ReadLIST() C-API
get all arguments as native list …

◆ py_mqmsgque_MqContextC_ReadLONG()

static OT_ProcRet py_mqmsgque_MqContextC_ReadLONG ( MqContextC_ARGS )
static

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

Definition at line 2166 of file MqContextC_py.c.

2166 {
2168 OT_SETUP_NOARG(ReadLONG_doc)
2169 OT_CHECK_NOARGS
2170 MK_LONG val_out;
2171 MkErrorC_Check(hdl,MqReadLONG (hdl, &val_out));
2172 OT_retObj_SET_LONG(val_out)
2173 goto end;
2174 error:
2175 OT_retObj_SET_Error
2176 end:
2178}
#define ReadLONG_doc
long MK_LONG
#define MqReadLONG(...)

◆ py_mqmsgque_MqContextC_ReadNEXT()

OT_ProcRet py_mqmsgque_MqContextC_ReadNEXT ( MqContextC_ARGS )

Python: obj ctx.ReadNEXT() C-API
get the next argument as native object …

◆ py_mqmsgque_MqContextC_ReadSTR()

static OT_ProcRet py_mqmsgque_MqContextC_ReadSTR ( MqContextC_ARGS )
static

Python: doc_mq_py_ReadSTR C-API
read a PRIMITIVE TYPE from the read-data-package

Definition at line 2184 of file MqContextC_py.c.

2184 {
2186 OT_SETUP_NOARG(ReadSTR_doc)
2187 OT_CHECK_NOARGS
2188 MK_STRN val_out;
2189 MkErrorC_Check(hdl,MqReadSTR (hdl, &val_out));
2190 OT_retObj_SET_STR(val_out)
2191 goto end;
2192 error:
2193 OT_retObj_SET_Error
2194 end:
2196}
#define ReadSTR_doc
const MK_STRB * MK_STRN
#define MqReadSTR(...)

◆ py_mqmsgque_MqContextC_ReadStringR()

static OT_ProcRet py_mqmsgque_MqContextC_ReadStringR ( MqContextC_ARGS )
static

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

Definition at line 2199 of file MqContextC_py.c.

2199 {
2201 OT_SETUP_NOARG(ReadStringR_doc)
2202 OT_CHECK_NOARGS
2203 MkStringR val_out;
2204 MkErrorC_Check(hdl,MqReadStringR (hdl, &val_out));
2205 MkStringR retVal = val_out;
2206 OT_retObj_SET(OT_GET__ME_REF_MkStringR(retVal))
2207 goto end;
2208 error:
2209 OT_retObj_SET_Error
2210 end:
2212}
#define ReadStringR_doc
#define MqReadStringR(...)