QtCore/qtextstream.h File Reference

qtextstream.h File Reference
#include <QtCore/qiodevice.h>
#include <QtCore/qstring.h>
#include <QtCore/qchar.h>
#include <QtCore/qlocale.h>
#include <QtCore/qscopedpointer.h>
#include <stdio.h>

Classes

class  QTextStream
 
class  QTextStreamManipulator
 

Typedefs

typedef QTextStream &(* QTextStreamFunction) (QTextStream &)
 
typedef void(QTextStream::* QTSMFI) (int)
 
typedef void(QTextStream::* QTSMFC) (QChar)
 

Functions

QTextStream & operator>> (QTextStream &s, QTextStreamFunction f)
 
QTextStream & operator<< (QTextStream &s, QTextStreamFunction f)
 
QTextStream & operator<< (QTextStream &s, QTextStreamManipulator m)
 
Q_CORE_EXPORT QTextStream & bin (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & oct (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & dec (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & hex (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & showbase (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & forcesign (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & forcepoint (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & noshowbase (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & noforcesign (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & noforcepoint (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & uppercasebase (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & uppercasedigits (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & lowercasebase (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & lowercasedigits (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & fixed (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & scientific (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & left (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & right (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & center (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & endl (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & flush (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & reset (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & bom (QTextStream &s)
 
Q_CORE_EXPORT QTextStream & ws (QTextStream &s)
 
QTextStreamManipulator qSetFieldWidth (int width)
 
QTextStreamManipulator qSetPadChar (QChar ch)
 
QTextStreamManipulator qSetRealNumberPrecision (int precision)
 

Typedef Documentation

typedef QTextStream&(* QTextStreamFunction) (QTextStream &)

Definition at line 270 of file qtextstream.h.

typedef void(QTextStream::* QTSMFI) (int)

Definition at line 271 of file qtextstream.h.

typedef void(QTextStream::* QTSMFC) (QChar)

Definition at line 272 of file qtextstream.h.

Function Documentation

QTextStream& operator>> ( QTextStream &  s,
QTextStreamFunction  f 
)
inline

Definition at line 288 of file qtextstream.h.

289 { return (*f)(s); }
GLdouble s
Definition: GLee.h:1173
GLclampf f
Definition: GLee.h:9303
QTextStream& operator<< ( QTextStream &  s,
QTextStreamFunction  f 
)
inline

Definition at line 291 of file qtextstream.h.

292 { return (*f)(s); }
GLdouble s
Definition: GLee.h:1173
GLclampf f
Definition: GLee.h:9303
QTextStream& operator<< ( QTextStream &  s,
QTextStreamManipulator  m 
)
inline

Definition at line 294 of file qtextstream.h.

295 { m.exec(s); return s; }
GLdouble s
Definition: GLee.h:1173
void exec(QTextStream &s)
Definition: qtextstream.h:279
Q_CORE_EXPORT QTextStream& bin ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& oct ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& dec ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& hex ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& showbase ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& forcesign ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& forcepoint ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& noshowbase ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& noforcesign ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& noforcepoint ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& uppercasebase ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& uppercasedigits ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& lowercasebase ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& lowercasedigits ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& fixed ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& scientific ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& left ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& right ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& center ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& reset ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& bom ( QTextStream &  s)
Q_CORE_EXPORT QTextStream& ws ( QTextStream &  s)
QTextStreamManipulator qSetFieldWidth ( int  width)
inline

Definition at line 329 of file qtextstream.h.

330 {
332  return QTextStreamManipulator(func,width);
333 }
void(QTextStream::* QTSMFI)(int)
Definition: qtextstream.h:271
GLenum GLsizei width
Definition: GLee.h:873
void setFieldWidth(int width)
QTextStreamManipulator qSetPadChar ( QChar  ch)
inline

Definition at line 335 of file qtextstream.h.

336 {
338  return QTextStreamManipulator(func, ch);
339 }
void(QTextStream::* QTSMFC)(QChar)
Definition: qtextstream.h:272
void setPadChar(QChar ch)
QTextStreamManipulator qSetRealNumberPrecision ( int  precision)
inline

Definition at line 341 of file qtextstream.h.

342 {
344  return QTextStreamManipulator(func, precision);
345 }
void(QTextStream::* QTSMFI)(int)
Definition: qtextstream.h:271
void setRealNumberPrecision(int precision)

Go to the source code of this file.