Public Types | Public Member Functions | Protected Member Functions | Friends | List of all members
iqtex::CXslTransformationWriteArchive Class Reference

Qt-based implementation of archive for writing in XML format. More...

#include <CXslTransformationWriteArchive.h>

Inheritance diagram for iqtex::CXslTransformationWriteArchive:
iser::CTextWriteArchiveBase ifile::CFileArchiveInfo iser::CXmlDocumentInfoBase iser::CWriteArchiveBase ifile::IFileArchiveInfo iser::CArchiveBase istd::IPolymorphic iser::IArchive istd::ILogger istd::IPolymorphic istd::IPolymorphic

Public Types

typedef iser::CTextWriteArchiveBase BaseClass
typedef ifile::CFileArchiveInfo BaseClass2

Public Member Functions

 CXslTransformationWriteArchive (const QString &filePath="", const QString &xslFilePath="", const iser::IVersionInfo *versionInfoPtr=NULL, bool serializeHeader=true, const iser::CArchiveTag &rootTag=s_acfRootTag)
 ~CXslTransformationWriteArchive ()
bool Flush ()
bool OpenFile (const QString &filePath, const QString &xslFilePath)
virtual bool IsTagSkippingSupported () const
virtual bool BeginTag (const iser::CArchiveTag &tag)
virtual bool BeginMultiTag (const iser::CArchiveTag &tag, const iser::CArchiveTag &subTag, int &count)
virtual bool EndTag (const iser::CArchiveTag &tag)
virtual bool Process (QString &value)
- Public Member Functions inherited from iser::CArchiveBase
virtual bool IsStoring () const =0
virtual const IVersionInfoGetVersionInfo () const =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 ProcessData (void *dataPtr, int size)=0
virtual bool ProcessBits (void *dataPtr, int bitsCount, int bytesCount)=0
- Public Member Functions inherited from ifile::IFileArchiveInfo
virtual const QString & GetCurrentFilePath () const =0

Protected Member Functions

bool WriteStringNode (const QString &text)
bool WriteTextNode (const QByteArray &text)
virtual bool SendLogMessage (istd::IInformationProvider::InformationCategory category, int id, const QString &message, const QString &messageSource, int flags=0) const


class WriteArchiveMessageHandler

Detailed Description

Qt-based implementation of archive for writing in XML format.

Please note that it doesn't create counter attribute needed by ifile::CSimpleXmlFileReadArchive.

Definition at line 29 of file CXslTransformationWriteArchive.h.

Member Typedef Documentation

Definition at line 35 of file CXslTransformationWriteArchive.h.

Definition at line 36 of file CXslTransformationWriteArchive.h.

Constructor & Destructor Documentation

iqtex::CXslTransformationWriteArchive::CXslTransformationWriteArchive ( const QString &  filePath = "",
const QString &  xslFilePath = "",
const iser::IVersionInfo versionInfoPtr = NULL,
bool  serializeHeader = true,
const iser::CArchiveTag rootTag = s_acfRootTag 
iqtex::CXslTransformationWriteArchive::~CXslTransformationWriteArchive ( )

Member Function Documentation

virtual bool iqtex::CXslTransformationWriteArchive::BeginMultiTag ( const iser::CArchiveTag tag,
const iser::CArchiveTag subTag,
int &  count 

Implements iser::IArchive.

virtual bool iqtex::CXslTransformationWriteArchive::BeginTag ( const iser::CArchiveTag tag)

Implements iser::CArchiveBase.

virtual bool iqtex::CXslTransformationWriteArchive::EndTag ( const iser::CArchiveTag tag)

Implements iser::CArchiveBase.

bool iqtex::CXslTransformationWriteArchive::Flush ( )
virtual bool iqtex::CXslTransformationWriteArchive::IsTagSkippingSupported ( ) const

Implements iser::IArchive.

bool iqtex::CXslTransformationWriteArchive::OpenFile ( const QString &  filePath,
const QString &  xslFilePath 
virtual bool iqtex::CXslTransformationWriteArchive::Process ( QString &  value)

Implements iser::CArchiveBase.

virtual bool iqtex::CXslTransformationWriteArchive::SendLogMessage ( istd::IInformationProvider::InformationCategory  category,
int  id,
const QString &  message,
const QString &  messageSource,
int  flags = 0 
) const

Definition at line 64 of file CXslTransformationWriteArchive.h.

bool iqtex::CXslTransformationWriteArchive::WriteStringNode ( const QString &  text)
bool iqtex::CXslTransformationWriteArchive::WriteTextNode ( const QByteArray &  text)

Friends And Related Function Documentation

friend class WriteArchiveMessageHandler

Definition at line 74 of file CXslTransformationWriteArchive.h.

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy