casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions
casa::QtXmlRecord Class Reference

#include <QtXmlRecord.h>

Inheritance diagram for casa::QtXmlRecord:
casa::Record casa::RecordInterface casa::NoticeSource

List of all members.

Public Member Functions

 QtXmlRecord ()
 ~QtXmlRecord ()
bool recordToElement (const Record *rec, QDomElement *parent, QDomDocument &doc)
Bool elementToRecord (QDomElement *ele, Record &rec, Bool useOptName=True)
Bool domToRecord (QDomDocument *doc, Record &rec)
Bool optsElemToRecord (QDomElement optsElem, Record &rec)
bool readDomFrom (QDomDocument &doc, QIODevice *device)
bool writeDomTo (QDomDocument *doc, QIODevice *device)
bool recordToDom (Record *rec, QDomDocument &doc)

Static Public Member Functions

static QString domToString (const QDomElement &elt)
static QDomDocument stringToDom (const QString &xml)

Public Attributes

const QString rootName

Private Member Functions

void formatXml (QDomDocument &doc)

Detailed Description

Definition at line 48 of file QtXmlRecord.h.

Constructor & Destructor Documentation

Member Function Documentation

Bool casa::QtXmlRecord::domToRecord ( QDomDocument *  doc,
Record rec 
static QString casa::QtXmlRecord::domToString ( const QDomElement &  elt) [static]
Bool casa::QtXmlRecord::elementToRecord ( QDomElement *  ele,
Record rec,
Bool  useOptName = True 
void casa::QtXmlRecord::formatXml ( QDomDocument &  doc) [private]
Bool casa::QtXmlRecord::optsElemToRecord ( QDomElement  optsElem,
Record rec 
bool casa::QtXmlRecord::readDomFrom ( QDomDocument &  doc,
QIODevice *  device 
bool casa::QtXmlRecord::recordToDom ( Record rec,
QDomDocument &  doc 
bool casa::QtXmlRecord::recordToElement ( const Record rec,
QDomElement *  parent,
QDomDocument &  doc 
static QDomDocument casa::QtXmlRecord::stringToDom ( const QString &  xml) [static]
bool casa::QtXmlRecord::writeDomTo ( QDomDocument *  doc,
QIODevice *  device 

Member Data Documentation

Definition at line 62 of file QtXmlRecord.h.

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