QtBase  v6.3.1
Namespaces | Macros | Functions
qtextstream.cpp File Reference
#include "qtextstream.h"
#include "private/qtextstream_p.h"
#include "qbuffer.h"
#include "qfile.h"
#include "qnumeric.h"
#include "qvarlengtharray.h"
#include <private/qdebug_p.h>
#include <locale.h>
#include "private/qlocale_p.h"
#include "private/qstringconverter_p.h"
#include <stdlib.h>
#include <limits.h>
#include <new>
#include "moc_qtextstream_p.cpp"
Include dependency graph for qtextstream.cpp:

Go to the source code of this file.

Namespaces

 Qt
 

Macros

#define Q_VOID
 
#define CHECK_VALID_STREAM(x)
 
#define IMPLEMENT_STREAM_RIGHT_INT_OPERATOR(type)
 
#define IMPLEMENT_STREAM_RIGHT_REAL_OPERATOR(type)
 

Functions

QTextStreamQt::bin (QTextStream &stream)
 
QTextStreamQt::oct (QTextStream &stream)
 
QTextStreamQt::dec (QTextStream &stream)
 
QTextStreamQt::hex (QTextStream &stream)
 
QTextStreamQt::showbase (QTextStream &stream)
 
QTextStreamQt::forcesign (QTextStream &stream)
 
QTextStreamQt::forcepoint (QTextStream &stream)
 
QTextStreamQt::noshowbase (QTextStream &stream)
 
QTextStreamQt::noforcesign (QTextStream &stream)
 
QTextStreamQt::noforcepoint (QTextStream &stream)
 
QTextStreamQt::uppercasebase (QTextStream &stream)
 
QTextStreamQt::uppercasedigits (QTextStream &stream)
 
QTextStreamQt::lowercasebase (QTextStream &stream)
 
QTextStreamQt::lowercasedigits (QTextStream &stream)
 
QTextStreamQt::fixed (QTextStream &stream)
 
QTextStreamQt::scientific (QTextStream &stream)
 
QTextStreamQt::left (QTextStream &stream)
 
QTextStreamQt::right (QTextStream &stream)
 
QTextStreamQt::center (QTextStream &stream)
 
QTextStreamQt::endl (QTextStream &stream)
 
QTextStreamQt::flush (QTextStream &stream)
 
QTextStreamQt::reset (QTextStream &stream)
 
QTextStreamQt::ws (QTextStream &stream)
 
QTextStreamQt::bom (QTextStream &stream)
 

Macro Definition Documentation

◆ CHECK_VALID_STREAM

#define CHECK_VALID_STREAM (   x)
Value:
do { \
if (!d->string && !d->device) { \
qWarning("QTextStream: No device"); \
return x; \
} } while (0)
GLint GLint GLint GLint GLint x
[0]

Definition at line 245 of file qtextstream.cpp.

◆ IMPLEMENT_STREAM_RIGHT_INT_OPERATOR

#define IMPLEMENT_STREAM_RIGHT_INT_OPERATOR (   type)
Value:
do { \
Q_D(QTextStream); \
CHECK_VALID_STREAM(*this); \
qulonglong tmp; \
switch (d->getNumber(&tmp)) { \
i = (type)tmp; \
break; \
i = (type)0; \
break; \
} \
return *this; } while (0)
The QTextStream class provides a convenient interface for reading and writing text.
Definition: qtextstream.h:62
GLenum type
Definition: qopengl.h:270

Definition at line 252 of file qtextstream.cpp.

◆ IMPLEMENT_STREAM_RIGHT_REAL_OPERATOR

#define IMPLEMENT_STREAM_RIGHT_REAL_OPERATOR (   type)
Value:
do { \
Q_D(QTextStream); \
CHECK_VALID_STREAM(*this); \
double tmp; \
if (d->getReal(&tmp)) { \
f = (type)tmp; \
} else { \
f = (type)0; \
} \
return *this; } while (0)

Definition at line 268 of file qtextstream.cpp.

◆ Q_VOID

#define Q_VOID

Definition at line 244 of file qtextstream.cpp.