46 #ifndef QT_NO_DATASTREAM 63 int byteOrder()
const;
64 void setByteOrder(
int );
66 bool isPrintableData()
const;
67 void setPrintableData(
bool );
70 void setVersion(
int );
112 #if defined(Q_DISABLE_COPY) 127 {
return dev ? dev->atEnd() :
TRUE; }
133 {
return byteorder; }
136 {
return printable; }
148 {
return *
this >> (
Q_INT8&)i; }
151 {
return *
this >> (
Q_INT16&)i; }
154 {
return *
this >> (
Q_INT32&)i; }
157 {
return *
this >> (
Q_INT64&)i; }
160 {
return *
this << (
Q_INT8)i; }
163 {
return *
this << (
Q_INT16)i; }
166 {
return *
this << (
Q_INT32)i; }
169 {
return *
this << (
Q_INT64)i; }
172 #endif // QT_NO_DATASTREAM 173 #endif // QDATASTREAM_H QDataStream & operator>>(Q_INT8 &i)
QDataStream & operator<<(Q_INT8 i)
QIODevice * device() const
std::ostream & operator<<(std::ostream &os, Analyzer::Table< T > const &t)
bool isPrintableData() const
void setPrintableData(bool)
QDataStream & operator>>(QDataStream &s, QByteArray &a)
The QDataStream class provides serialization of binary data to a QIODevice.
The QIODevice class is the base class of I/O devices.