casa
$Rev:20696$
|
#include <QtXmlRecord.h>
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) |
Definition at line 48 of file QtXmlRecord.h.
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 | ||
) |
const QString casa::QtXmlRecord::rootName |
Definition at line 62 of file QtXmlRecord.h.