43 #include <QtCore/qiodevicebase.h>
44 #include <QtCore/qstring.h>
45 #include <QtCore/qchar.h>
46 #include <QtCore/qscopedpointer.h>
47 #include <QtCore/qstringconverter.h>
52 #error qtextstream.h must be included before any header file that defines Status
88 UppercaseDigits = 0x10
94 explicit QTextStream(FILE *fileHandle, OpenMode openMode = ReadWrite);
102 void setAutoDetectUnicode(
bool enabled);
103 bool autoDetectUnicode()
const;
104 void setGenerateByteOrderMark(
bool generate);
105 bool generateByteOrderMark()
const;
107 void setLocale(
const QLocale &locale);
113 void setString(
QString *
string, OpenMode openMode = ReadWrite);
117 void setStatus(
Status status);
126 void skipWhiteSpace();
134 FieldAlignment fieldAlignment()
const;
137 QChar padChar()
const;
140 int fieldWidth()
const;
142 void setNumberFlags(NumberFlags
flags);
143 NumberFlags numberFlags()
const;
145 void setIntegerBase(
int base);
146 int integerBase()
const;
148 void setRealNumberNotation(RealNumberNotation notation);
149 RealNumberNotation realNumberNotation()
const;
151 void setRealNumberPrecision(
int precision);
152 int realNumberPrecision()
const;
230 {
m.exec(
s);
return s; }
small capitals from c petite p scientific i
[1]
The QByteArray class provides an array of bytes.
The QChar class provides a 16-bit Unicode character.
The QDebug class provides an output stream for debugging information.
Base class for QIODevice that provides flags describing the mode in which a device is opened.
The QIODevice class is the base interface class of all I/O devices in Qt.
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal.
The QScopedPointer class stores a pointer to a dynamically allocated object, and deletes it upon dest...
The QString class provides a Unicode character string.
The QStringView class provides a unified view on UTF-16 strings with a read-only subset of the QStrin...
The QTextStream class provides a convenient interface for reading and writing text.
QTextStream & operator<<(char16_t ch)
void setRealNumberPrecision(int precision)
void setPadChar(QChar ch)
void setFieldWidth(int width)
void exec(QTextStream &s)
constexpr QTextStreamManipulator(QTSMFC m, QChar c) noexcept
constexpr QTextStreamManipulator(QTSMFI m, int a) noexcept
auto generate(StringRef generatorName, SourceLineInfo const &lineInfo, L const &generatorExpression) -> decltype(std::declval< decltype(generatorExpression())>().get())
QTextStream & uppercasebase(QTextStream &stream)
QTextStream & bin(QTextStream &stream)
QTextStream & showbase(QTextStream &stream)
QTextStream & lowercasebase(QTextStream &stream)
QTextStream & noforcesign(QTextStream &stream)
QTextStream & uppercasedigits(QTextStream &stream)
QTextStream & bom(QTextStream &stream)
QTextStream & oct(QTextStream &stream)
QTextStream & lowercasedigits(QTextStream &stream)
QTextStream & noshowbase(QTextStream &stream)
QTextStream & noforcepoint(QTextStream &stream)
QTextStream & ws(QTextStream &stream)
QTextStream & fixed(QTextStream &stream)
QTextStream & forcesign(QTextStream &stream)
QTextStream & center(QTextStream &stream)
QTextStream & forcepoint(QTextStream &stream)
QTextStream & endl(QTextStream &stream)
QTextStream & scientific(QTextStream &stream)
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
#define Q_DISABLE_COPY(Class)
GLboolean GLboolean GLboolean GLboolean a
[7]
GLenum GLenum GLsizei const GLuint GLboolean enabled
GLenum GLint GLint * precision
GLsizei const GLchar *const * string
[0]
QTextStreamManipulator qSetPadChar(QChar ch)
QTextStream &(* QTextStreamFunction)(QTextStream &)
QTextStreamManipulator qSetRealNumberPrecision(int precision)
QTextStream & operator>>(QTextStream &s, QTextStreamFunction f)
QTextStream & operator<<(QTextStream &s, QTextStreamFunction f)
QTextStreamManipulator qSetFieldWidth(int width)
void(QTextStream::* QTSMFC)(QChar)
void(QTextStream::* QTSMFI)(int)
out setFieldAlignment(QTextStream::AlignCenter)