Qt 4.8
Macros | Enumerations
qdatastream.cpp File Reference
#include "qdatastream.h"
#include "qdatastream_p.h"
#include "qbuffer.h"
#include "qstring.h"
#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include "qendian.h"

Go to the source code of this file.

Macros

#define CHECK_STREAM_PRECOND(retVal)
 
#define CHECK_STREAM_WRITE_PRECOND(retVal)
 

Enumerations

enum  { DefaultStreamVersion = QDataStream::Qt_4_6 }
 

Macro Definition Documentation

◆ CHECK_STREAM_PRECOND

#define CHECK_STREAM_PRECOND (   retVal)
Value:
if (!dev) { \
qWarning("QDataStream: No device"); \
return retVal; \
}

Definition at line 246 of file qdatastream.cpp.

Referenced by QDataStream::operator>>(), QDataStream::readBytes(), QDataStream::readRawData(), and QDataStream::skipRawData().

◆ CHECK_STREAM_WRITE_PRECOND

#define CHECK_STREAM_WRITE_PRECOND (   retVal)
Value:
if (q_status != Ok) \
return retVal;
#define CHECK_STREAM_PRECOND(retVal)
Definition: qbezier.cpp:259

Definition at line 258 of file qdatastream.cpp.

Referenced by QDataStream::operator<<(), QDataStream::writeBytes(), and QDataStream::writeRawData().

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DefaultStreamVersion 

Definition at line 263 of file qdatastream.cpp.