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

QTextStreamoperator>> (QTextStream &s, QTextStreamFunction f)
 
QTextStreamoperator<< (QTextStream &s, QTextStreamFunction f)
 
QTextStreamoperator<< (QTextStream &s, QTextStreamManipulator m)
 
Q_CORE_EXPORT QTextStreambin (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamoct (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamdec (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamhex (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamshowbase (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamforcesign (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamforcepoint (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamnoshowbase (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamnoforcesign (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamnoforcepoint (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamuppercasebase (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamuppercasedigits (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamlowercasebase (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamlowercasedigits (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamfixed (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamscientific (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamleft (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamright (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamcenter (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamendl (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamflush (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamreset (QTextStream &s)
 
Q_CORE_EXPORT QTextStreambom (QTextStream &s)
 
Q_CORE_EXPORT QTextStreamws (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.