casa::QtXmlRecord Class Reference

#include <QtXmlRecord.h>

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

casa::QtXmlRecord::QtXmlRecord (  ) 
casa::QtXmlRecord::~QtXmlRecord (  ) 

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 61 of file QtXmlRecord.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1