Main Page   Class Hierarchy   Compound List   File List   Compound Members  

ChannelIOFormatXML Class Reference

Implements the XML channel format. More...

#include <channelioxml.h>

Inheritance diagram for ChannelIOFormatXML::

ChannelIOFormat List of all members.

Public Methods

 ChannelIOFormatXML ()
virtual ~ChannelIOFormatXML ()
virtual bool load (ChannelStore *store, QIODevice *file, const char *fmt)
virtual bool save (ChannelStore *store, QIODevice *file, const char *fmt)
virtual ChannelFileMetaInfo getMetaInfo (QIODevice *file, const char *fmt)
QDomDocument document () const
bool readDocument (ChannelStore *store)
void writeDocument (ChannelStore *store)

Protected Methods

ChannelreadChannel (const QDomElement &elem)
QString readText (const QDomElement &elem, const QString &tag)
int readTextInt (const QDomElement &elem, const QString &tag)
unsigned long readTextULong (const QDomElement &parent, const QString &tag)
bool readAttrBool (const QDomElement &elem, const QString &name)
QDomElement writeChannel (QDomElement &parent, Channel *ch)
QDomElement writeText (QDomElement &parent, const QString &tag, const QString &text)
QDomElement writeTextInt (QDomElement &parent, const QString &tag, int text)
QDomElement writeTextULong (QDomElement &parent, const QString &tag, unsigned long text)
QDomElement writeElement (QDomNode &parent, const QString &tag)
void writeAttrBool (QDomElement &parent, const QString &name, const bool val)

Detailed Description

Implements the XML channel format.

Version:
Id:
channelioxml.h,v 1.5 2002/09/12 23:08:30 rich Exp
Author:
Richard Moore, rich@kde.org


Member Function Documentation

virtual bool ChannelIOFormatXML::load ChannelStore * store,
QIODevice * file,
const char * fmt
[virtual]
 

Load the contents of the specified QIODevice into the specified store.

Returns true on success, false otherwise.

Reimplemented from ChannelIOFormat.

virtual bool ChannelIOFormatXML::save ChannelStore * store,
QIODevice * file,
const char * fmt
[virtual]
 

Save the contents of the specified store into the specified QIODevice.

Returns true on success, false otherwise.

Reimplemented from ChannelIOFormat.


The documentation for this class was generated from the following file:
Generated at Thu Jan 30 02:56:03 2003 for QtVision by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001