PythonQtWrapper_QDataStream.cpp
158 lines
| 4.1 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QDataStream.h" | ||
#include <QVariant> | ||||
#include <qbytearray.h> | ||||
#include <qdatastream.h> | ||||
#include <qiodevice.h> | ||||
QDataStream* PythonQtWrapper_QDataStream::new_QDataStream() | ||||
{ | ||||
return new QDataStream(); } | ||||
QDataStream* PythonQtWrapper_QDataStream::new_QDataStream(QByteArray* arg__1, QIODevice::OpenMode flags) | ||||
{ | ||||
return new QDataStream(arg__1, flags); } | ||||
QDataStream* PythonQtWrapper_QDataStream::new_QDataStream(QIODevice* arg__1) | ||||
{ | ||||
return new QDataStream(arg__1); } | ||||
QDataStream* PythonQtWrapper_QDataStream::new_QDataStream(const QByteArray& arg__1) | ||||
{ | ||||
return new QDataStream(arg__1); } | ||||
bool PythonQtWrapper_QDataStream::atEnd(QDataStream* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->atEnd(); | ||||
} | ||||
QIODevice* PythonQtWrapper_QDataStream::device(QDataStream* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->device(); | ||||
} | ||||
QDataStream& PythonQtWrapper_QDataStream::writeBoolean(QDataStream* theWrappedObject, bool i) | ||||
{ | ||||
return (*theWrappedObject) <<i; | ||||
} | ||||
QDataStream& PythonQtWrapper_QDataStream::writeDouble(QDataStream* theWrappedObject, double f) | ||||
{ | ||||
return (*theWrappedObject) <<f; | ||||
} | ||||
QDataStream& PythonQtWrapper_QDataStream::writeFloat(QDataStream* theWrappedObject, float f) | ||||
{ | ||||
return (*theWrappedObject) <<f; | ||||
} | ||||
QDataStream& PythonQtWrapper_QDataStream::writeInt(QDataStream* theWrappedObject, int i) | ||||
{ | ||||
return (*theWrappedObject) <<i; | ||||
} | ||||
QDataStream& PythonQtWrapper_QDataStream::writeLongLong(QDataStream* theWrappedObject, qint64 i) | ||||
{ | ||||
return (*theWrappedObject) <<i; | ||||
} | ||||
QDataStream& PythonQtWrapper_QDataStream::writeShort(QDataStream* theWrappedObject, short i) | ||||
{ | ||||
return (*theWrappedObject) <<i; | ||||
} | ||||
QDataStream& PythonQtWrapper_QDataStream::writeByte(QDataStream* theWrappedObject, unsigned char i) | ||||
{ | ||||
return (*theWrappedObject) <<i; | ||||
} | ||||
QDataStream& PythonQtWrapper_QDataStream::readBoolean(QDataStream* theWrappedObject, bool& i) | ||||
{ | ||||
return (*theWrappedObject) >>i; | ||||
} | ||||
QDataStream& PythonQtWrapper_QDataStream::readDouble(QDataStream* theWrappedObject, double& f) | ||||
{ | ||||
return (*theWrappedObject) >>f; | ||||
} | ||||
QDataStream& PythonQtWrapper_QDataStream::readFloat(QDataStream* theWrappedObject, float& f) | ||||
{ | ||||
return (*theWrappedObject) >>f; | ||||
} | ||||
QDataStream& PythonQtWrapper_QDataStream::readInt(QDataStream* theWrappedObject, int& i) | ||||
{ | ||||
return (*theWrappedObject) >>i; | ||||
} | ||||
QDataStream& PythonQtWrapper_QDataStream::readLongLong(QDataStream* theWrappedObject, qint64& i) | ||||
{ | ||||
return (*theWrappedObject) >>i; | ||||
} | ||||
QDataStream& PythonQtWrapper_QDataStream::readShort(QDataStream* theWrappedObject, short& i) | ||||
{ | ||||
return (*theWrappedObject) >>i; | ||||
} | ||||
QDataStream& PythonQtWrapper_QDataStream::readByte(QDataStream* theWrappedObject, unsigned char& i) | ||||
{ | ||||
return (*theWrappedObject) >>i; | ||||
} | ||||
QDataStream& PythonQtWrapper_QDataStream::readUInt(QDataStream* theWrappedObject, unsigned int& i) | ||||
{ | ||||
return (*theWrappedObject) >>i; | ||||
} | ||||
QDataStream& PythonQtWrapper_QDataStream::readULongLong(QDataStream* theWrappedObject, quint64& i) | ||||
{ | ||||
return (*theWrappedObject) >>i; | ||||
} | ||||
QDataStream& PythonQtWrapper_QDataStream::readUShort(QDataStream* theWrappedObject, unsigned short& i) | ||||
{ | ||||
return (*theWrappedObject) >>i; | ||||
} | ||||
void PythonQtWrapper_QDataStream::resetStatus(QDataStream* theWrappedObject) | ||||
{ | ||||
theWrappedObject->resetStatus(); | ||||
} | ||||
void PythonQtWrapper_QDataStream::setDevice(QDataStream* theWrappedObject, QIODevice* arg__1) | ||||
{ | ||||
theWrappedObject->setDevice(arg__1); | ||||
} | ||||
void PythonQtWrapper_QDataStream::setStatus(QDataStream* theWrappedObject, QDataStream::Status status) | ||||
{ | ||||
theWrappedObject->setStatus(status); | ||||
} | ||||
void PythonQtWrapper_QDataStream::setVersion(QDataStream* theWrappedObject, int arg__1) | ||||
{ | ||||
theWrappedObject->setVersion(arg__1); | ||||
} | ||||
int PythonQtWrapper_QDataStream::skipRawData(QDataStream* theWrappedObject, int len) | ||||
{ | ||||
return theWrappedObject->skipRawData(len); | ||||
} | ||||
QDataStream::Status PythonQtWrapper_QDataStream::status(QDataStream* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->status(); | ||||
} | ||||
void PythonQtWrapper_QDataStream::unsetDevice(QDataStream* theWrappedObject) | ||||
{ | ||||
theWrappedObject->unsetDevice(); | ||||
} | ||||
int PythonQtWrapper_QDataStream::version(QDataStream* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->version(); | ||||
} | ||||