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

Constants and methods for reading/writing RS XML files. More...

#include <XMLFileReaderWriter.h>

List of all members.

Static Public Member Functions

static QDomElement recordToXML (const RecordInterface &record, String elementName="casa-record")
 Converts a Record to/from a QDomElement.
static Record XMLToRecord (const QDomElement &element)

Static Private Member Functions

static QString shapeToString (const IPosition &shape)
 Converts an IPosition to/from a QString.
static IPosition stringToShape (const QString &shape)

Static Private Attributes

static QDomDocument DOCUMENT
 
     

static const QString ARRAY
 Constants.
static const QString FIELD
static const QString NAME
static const QString SHAPE
static const QString TYPE
static const QString VAL

Detailed Description

Constants and methods for reading/writing RS XML files.

Definition at line 39 of file XMLFileReaderWriter.h.


Member Function Documentation

static QDomElement casa::RSXML::recordToXML ( const RecordInterface record,
String  elementName = "casa-record" 
) [static]

Converts a Record to/from a QDomElement.

static QString casa::RSXML::shapeToString ( const IPosition shape) [static, private]

Converts an IPosition to/from a QString.

static IPosition casa::RSXML::stringToShape ( const QString &  shape) [static, private]
static Record casa::RSXML::XMLToRecord ( const QDomElement &  element) [static]

Member Data Documentation

const QString casa::RSXML::ARRAY [static, private]

Constants.

Definition at line 54 of file XMLFileReaderWriter.h.

QDomDocument casa::RSXML::DOCUMENT [static, private]

     

Document used for creating nodes.

Definition at line 50 of file XMLFileReaderWriter.h.

const QString casa::RSXML::FIELD [static, private]

Definition at line 55 of file XMLFileReaderWriter.h.

const QString casa::RSXML::NAME [static, private]

Definition at line 56 of file XMLFileReaderWriter.h.

const QString casa::RSXML::SHAPE [static, private]

Definition at line 57 of file XMLFileReaderWriter.h.

const QString casa::RSXML::TYPE [static, private]

Definition at line 58 of file XMLFileReaderWriter.h.

const QString casa::RSXML::VAL [static, private]

Definition at line 59 of file XMLFileReaderWriter.h.


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