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

ZLIB compressed implementation of simple archive reading from XML file. More...

#include <CGzXmlReadArchive.h>

Inheritance diagram for izlib::CGzXmlReadArchive:
iser::CXmlReadArchiveBase ifile::CFileArchiveInfo iser::CTextReadArchiveBase iser::CXmlDocumentInfoBase ifile::IFileArchiveInfo iser::CReadArchiveBase istd::IPolymorphic iser::CArchiveBase iser::IArchive istd::ILogger istd::IPolymorphic istd::IPolymorphic

Public Types

typedef iser::CXmlReadArchiveBase BaseClass
 
typedef ifile::CFileArchiveInfo BaseClass2
 

Public Member Functions

 CGzXmlReadArchive (const QString &filePath, bool serializeHeader=true, const iser::CArchiveTag &rootTag=s_acfRootTag)
 
virtual ~CGzXmlReadArchive ()
 
virtual bool ReadToDelimeter (const QByteArray &delimeters, QByteArray &result, bool skipDelimeter=true, char *foundDelimeterPtr=NULL)
 
- Public Member Functions inherited from iser::CTextReadArchiveBase
virtual bool Process (QByteArray &value)
 
- 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 (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
 

Additional Inherited Members

- Protected Attributes inherited from ifile::CFileArchiveInfo
QString m_filePath
 

Detailed Description

ZLIB compressed implementation of simple archive reading from XML file.

This imlementation doesn't use any external parser, it uses ZLIB library for file decompressing. It uses only single pass and is very fast, but it doesn't support of tags skipping and it needs counter attribute indicating number of subtags for each mutli tag node. Compressed XML file in this format can be created using izlib::CGzXmlWriteArchive.

Definition at line 27 of file CGzXmlReadArchive.h.

Member Typedef Documentation

Definition at line 32 of file CGzXmlReadArchive.h.

Definition at line 33 of file CGzXmlReadArchive.h.

Constructor & Destructor Documentation

izlib::CGzXmlReadArchive::CGzXmlReadArchive ( const QString &  filePath,
bool  serializeHeader = true,
const iser::CArchiveTag rootTag = s_acfRootTag 
)
virtual izlib::CGzXmlReadArchive::~CGzXmlReadArchive ( )
virtual

Member Function Documentation

virtual bool izlib::CGzXmlReadArchive::ReadToDelimeter ( const QByteArray &  delimeters,
QByteArray &  result,
bool  skipDelimeter = true,
char *  foundDelimeterPtr = NULL 
)
virtual

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

© 2007-2011 Witold Gantzke and Kirill Lepskiy