My Project
|
Simplified and optimized version of QTextStream. More...
#include <ftextstream.h>
Public Member Functions | |
FTextStream () | |
FTextStream (QIODevice *) | |
FTextStream (QGString *) | |
FTextStream (FILE *) | |
virtual | ~FTextStream () |
QIODevice * | device () const |
void | setDevice (QIODevice *) |
void | unsetDevice () |
FTextStream & | operator<< (char) |
FTextStream & | operator<< (const char *) |
FTextStream & | operator<< (const QString &) |
FTextStream & | operator<< (const QCString &) |
FTextStream & | operator<< (signed short) |
FTextStream & | operator<< (unsigned short) |
FTextStream & | operator<< (signed int) |
FTextStream & | operator<< (unsigned int) |
FTextStream & | operator<< (signed long) |
FTextStream & | operator<< (unsigned long) |
FTextStream & | operator<< (float) |
FTextStream & | operator<< (double) |
Private Member Functions | |
FTextStream & | output_int (ulong n, bool neg) |
Private Attributes | |
QIODevice * | m_dev |
bool | m_owndev |
Simplified and optimized version of QTextStream.
Definition at line 11 of file ftextstream.h.
FTextStream::FTextStream | ( | ) |
FTextStream::FTextStream | ( | QIODevice * | dev | ) |
FTextStream::FTextStream | ( | QGString * | s | ) |
Definition at line 157 of file ftextstream.cpp.
FTextStream::FTextStream | ( | FILE * | fh | ) |
|
virtual |
QIODevice * FTextStream::device | ( | ) | const |
Definition at line 177 of file ftextstream.cpp.
References m_dev.
Referenced by LatexCodeGenerator::setTextStream(), and HtmlCodeGenerator::setTextStream().
|
inline |
Definition at line 49 of file ftextstream.h.
References m_dev.
Referenced by operator<<(), and output_int().
|
inline |
Definition at line 55 of file ftextstream.h.
References m_dev.
|
inline |
Definition at line 62 of file ftextstream.h.
References operator<<().
|
inline |
Definition at line 67 of file ftextstream.h.
References operator<<().
FTextStream & FTextStream::operator<< | ( | signed short | i | ) |
Definition at line 215 of file ftextstream.cpp.
References output_int().
FTextStream & FTextStream::operator<< | ( | unsigned short | i | ) |
Definition at line 220 of file ftextstream.cpp.
References output_int().
FTextStream & FTextStream::operator<< | ( | signed int | i | ) |
Definition at line 225 of file ftextstream.cpp.
References output_int().
FTextStream & FTextStream::operator<< | ( | unsigned int | i | ) |
Definition at line 230 of file ftextstream.cpp.
References output_int().
FTextStream & FTextStream::operator<< | ( | signed long | i | ) |
Definition at line 235 of file ftextstream.cpp.
References output_int().
FTextStream & FTextStream::operator<< | ( | unsigned long | i | ) |
Definition at line 240 of file ftextstream.cpp.
References output_int().
FTextStream & FTextStream::operator<< | ( | float | f | ) |
Definition at line 245 of file ftextstream.cpp.
FTextStream & FTextStream::operator<< | ( | double | d | ) |
Definition at line 250 of file ftextstream.cpp.
|
private |
Definition at line 197 of file ftextstream.cpp.
References operator<<().
Referenced by operator<<().
void FTextStream::setDevice | ( | QIODevice * | dev | ) |
Definition at line 182 of file ftextstream.cpp.
References m_dev, and m_owndev.
Referenced by generateJSNavTree(), DocSets::initialize(), EclipseHelp::initialize(), HtmlHelp::initialize(), LatexCodeGenerator::setTextStream(), HtmlCodeGenerator::setTextStream(), ManGenerator::startDoxyAnchor(), OutputGenerator::startPlainFile(), and unsetDevice().
void FTextStream::unsetDevice | ( | ) |
Definition at line 192 of file ftextstream.cpp.
References setDevice().
Referenced by OutputGenerator::endPlainFile(), EclipseHelp::finalize(), and HtmlHelp::finalize().
|
private |
Definition at line 38 of file ftextstream.h.
Referenced by device(), FTextStream(), operator<<(), setDevice(), and ~FTextStream().
|
private |
Definition at line 39 of file ftextstream.h.
Referenced by FTextStream(), setDevice(), and ~FTextStream().