ICF 3.0.5.47
Technical documentation of ICF Libraries
iser::CXmlDocumentInfoBase Class Reference

Base class for all XML implementations for ICF documents. More...

#include <CXmlDocumentInfoBase.h>

Inheritance diagram for iser::CXmlDocumentInfoBase:
Collaboration diagram for iser::CXmlDocumentInfoBase:

Classes

class  CharToEntityMap
 
class  EntityToChartMap
 
class  EntityToWideChartMap
 
class  WideCharToEntityMap
 

Public Member Functions

 CXmlDocumentInfoBase ()
 
bool IsCommentEnabled () const
 Check if comments in XML document are enabled.
 
void SetCommentEnabled (bool state=true)
 Allows comments in XML document.
 

Static Public Member Functions

static void EncodeXml (const QByteArray &text, QByteArray &xmlText)
 
static void DecodeXml (const QByteArray &xmlText, QByteArray &text)
 
static void EncodeXml (const QString &text, QByteArray &xmlText)
 
static void DecodeXml (const QByteArray &xmlText, QString &text)
 
static const QString & GetElementSeparator ()
 

Detailed Description

Base class for all XML implementations for ICF documents.

This helper class can be used e.g. to implement XML archives.

Definition at line 22 of file CXmlDocumentInfoBase.h.

Constructor & Destructor Documentation

◆ CXmlDocumentInfoBase()

iser::CXmlDocumentInfoBase::CXmlDocumentInfoBase ( )

Member Function Documentation

◆ DecodeXml() [1/2]

static void iser::CXmlDocumentInfoBase::DecodeXml ( const QByteArray & xmlText,
QByteArray & text )
static

◆ DecodeXml() [2/2]

static void iser::CXmlDocumentInfoBase::DecodeXml ( const QByteArray & xmlText,
QString & text )
static

◆ EncodeXml() [1/2]

static void iser::CXmlDocumentInfoBase::EncodeXml ( const QByteArray & text,
QByteArray & xmlText )
static

◆ EncodeXml() [2/2]

static void iser::CXmlDocumentInfoBase::EncodeXml ( const QString & text,
QByteArray & xmlText )
static

◆ GetElementSeparator()

static const QString & iser::CXmlDocumentInfoBase::GetElementSeparator ( )
static

◆ IsCommentEnabled()

bool iser::CXmlDocumentInfoBase::IsCommentEnabled ( ) const
inline

Check if comments in XML document are enabled.

It can be used e.g. to store tag descriptions as comments.

Definition at line 84 of file CXmlDocumentInfoBase.h.

◆ SetCommentEnabled()

void iser::CXmlDocumentInfoBase::SetCommentEnabled ( bool state = true)
inline

Allows comments in XML document.

See also
IsCommentEnabled()

Definition at line 90 of file CXmlDocumentInfoBase.h.


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

© Witold Gantzke and Kirill Lepskiy