Public Types | Public Member Functions | Protected Types | Protected Member Functions | List of all members
izlib::CGzXmlWriteArchive Class Reference

ZLIB compressed implementation of archive for writing in XML format. More...

#include <CGzXmlWriteArchive.h>

Inheritance diagram for izlib::CGzXmlWriteArchive:
iser::CXmlWriteArchiveBase ifile::CFileArchiveInfo iser::CTextWriteArchiveBase iser::CXmlDocumentInfoBase ifile::IFileArchiveInfo iser::CWriteArchiveBase istd::IPolymorphic iser::CArchiveBase iser::IArchive istd::ILogger istd::IPolymorphic istd::IPolymorphic

Public Types

typedef iser::CXmlWriteArchiveBase BaseClass
 
typedef ifile::CFileArchiveInfo BaseClass2
 

Public Member Functions

 CGzXmlWriteArchive (const QString &filePath, const iser::IVersionInfo *versionInfoPtr=NULL, bool serializeHeader=true, const iser::CArchiveTag &rootTag=s_acfRootTag)
 
virtual ~CGzXmlWriteArchive ()
 
- Public Member Functions inherited from iser::CArchiveBase
virtual bool IsStoring () const =0
 
virtual const IVersionInfoGetVersionInfo () const =0
 
virtual bool BeginTag (const CArchiveTag &tag)=0
 
virtual bool EndTag (const CArchiveTag &tag)=0
 
virtual bool Process (bool &value)=0
 
virtual bool Process (char &value)=0
 
virtual bool Process (quint8 &value)=0
 
virtual bool Process (qint8 &value)=0
 
virtual bool Process (quint16 &value)=0
 
virtual bool Process (qint16 &value)=0
 
virtual bool Process (quint32 &value)=0
 
virtual bool Process (qint32 &value)=0
 
virtual bool Process (quint64 &value)=0
 
virtual bool Process (qint64 &value)=0
 
virtual bool Process (float &value)=0
 
virtual bool Process (double &value)=0
 
virtual bool Process (QByteArray &value)=0
 
virtual bool Process (QString &value)=0
 
virtual bool ProcessData (void *dataPtr, int size)=0
 
virtual bool ProcessBits (void *dataPtr, int bitsCount, int bytesCount)=0
 
- Public Member Functions inherited from iser::IArchive
virtual bool IsTagSkippingSupported () const =0
 
virtual bool BeginMultiTag (const CArchiveTag &tag, const CArchiveTag &subTag, int &count)=0
 
- Public Member Functions inherited from ifile::CFileArchiveInfo
 CFileArchiveInfo (const QString &filePath)
 
virtual const QString & GetCurrentFilePath () const
 

Protected Types

enum  { CHUNK_SIZE = 16384 }
 

Protected Member Functions

virtual bool WriteString (const QByteArray &value)
 

Additional Inherited Members

- Protected Attributes inherited from ifile::CFileArchiveInfo
QString m_filePath
 

Detailed Description

ZLIB compressed implementation of archive for writing in XML format.

This implementation doesn't use any external parser, it uses ZLIB library for file compressing. It creates counter attribute indicating number of subtags for each mutli tag node. Compressed XML file in this format are needed by izlib::CGzXmlReadArchive.

Definition at line 28 of file CGzXmlWriteArchive.h.

Member Typedef Documentation

Definition at line 33 of file CGzXmlWriteArchive.h.

Definition at line 34 of file CGzXmlWriteArchive.h.

Member Enumeration Documentation

anonymous enum
protected
Enumerator
CHUNK_SIZE 

Definition at line 44 of file CGzXmlWriteArchive.h.

Constructor & Destructor Documentation

izlib::CGzXmlWriteArchive::CGzXmlWriteArchive ( const QString &  filePath,
const iser::IVersionInfo versionInfoPtr = NULL,
bool  serializeHeader = true,
const iser::CArchiveTag rootTag = s_acfRootTag 
)
virtual izlib::CGzXmlWriteArchive::~CGzXmlWriteArchive ( )
virtual

Member Function Documentation

virtual bool izlib::CGzXmlWriteArchive::WriteString ( const QByteArray &  value)
protectedvirtual

The documentation for this class was generated from the following file:

© 2007-2011 Witold Gantzke and Kirill Lepskiy