Brief description of class still missing. More...
#include <XMLStream.h>
Public Member Functions | |
virtual void | addFile (QString fileName, const QByteArray &data) |
void | decrementIndent () |
virtual bool | file (::QString fileName, QByteArray &data) |
const QString & | fileName () const |
void | flush () |
void | incrementIndent () |
const QString & | indent () const |
virtual bool | isMultiFile () const =0 |
QTextStream & | operator<< (const QString &string) |
void | setFileName (QString fileName) |
virtual | ~XMLStream () |
Protected Member Functions | |
XMLStream (QByteArray *a, QIODevice::OpenMode m) | |
XMLStream (QString *s, QIODevice::OpenMode m) |
Brief description of class still missing.
Full description of class still missing
QGpCoreTools::XMLStream::XMLStream | ( | QByteArray * | a, |
QIODevice::OpenMode | m | ||
) | [protected] |
QGpCoreTools::XMLStream::XMLStream | ( | QString * | s, |
QIODevice::OpenMode | m | ||
) | [protected] |
virtual QGpCoreTools::XMLStream::~XMLStream | ( | ) | [inline, virtual] |
{}
virtual void QGpCoreTools::XMLStream::addFile | ( | QString | fileName, |
const QByteArray & | data | ||
) | [inline, virtual] |
Reimplemented in QGpCoreTools::XMLByteArrayStream, and QGpCoreTools::XMLTarStream.
Referenced by QGpCoreTools::XMLClass::writeBinaryData().
{Q_UNUSED(fileName); Q_UNUSED(data);}
void QGpCoreTools::XMLStream::decrementIndent | ( | ) | [inline] |
Referenced by QGpCoreTools::XMLClass::xml_save().
{_indent.chop(2);}
virtual bool QGpCoreTools::XMLStream::file | ( | ::QString | fileName, |
QByteArray & | data | ||
) | [inline, virtual] |
{Q_UNUSED(fileName); Q_UNUSED(data); return false;}
const QString& QGpCoreTools::XMLStream::fileName | ( | ) | const [inline] |
Referenced by QGpCoreTools::XMLByteArrayStream::addFile(), and setFileName().
{return _fileName;}
void QGpCoreTools::XMLStream::flush | ( | ) | [inline] |
void QGpCoreTools::XMLStream::incrementIndent | ( | ) | [inline] |
Referenced by QGpCoreTools::XMLClass::xml_save().
{_indent += " ";}
const QString& QGpCoreTools::XMLStream::indent | ( | ) | const [inline] |
Referenced by QGpCoreTools::XMLClass::writeChildren(), and QGpCoreTools::XMLClass::xml_save().
{return _indent;}
virtual bool QGpCoreTools::XMLStream::isMultiFile | ( | ) | const [pure virtual] |
Implemented in QGpCoreTools::XMLByteArrayStream, QGpCoreTools::XMLTarStream, and QGpCoreTools::XMLStringStream.
Referenced by QGpCoreTools::XMLClass::writeBinaryData().
QTextStream& QGpCoreTools::XMLStream::operator<< | ( | const QString & | string | ) | [inline] |
{_xml << string; return _xml;}
void QGpCoreTools::XMLStream::setFileName | ( | QString | fileName | ) | [inline] |