casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
casa::RSXML Class Reference

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

#include <XMLFileReaderWriter.h>

Static Public Member Functions

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

Static Private Member Functions

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

Static Private Attributes

static QDomDocument DOCUMENT
 Document used for creating nodes. More...
 
static const QString ARRAY
 Constants. More...
 
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 casacore::RecordInterface record,
casacore::String  elementName = "casa-record" 
)
static

Converts a casacore::Record to/from a QDomElement.

static QString casa::RSXML::shapeToString ( const casacore::IPosition shape)
staticprivate

Converts an casacore::IPosition to/from a QString.

static casacore::IPosition casa::RSXML::stringToShape ( const QString &  shape)
staticprivate
static casacore::Record casa::RSXML::XMLToRecord ( const QDomElement &  element)
static

Member Data Documentation

const QString casa::RSXML::ARRAY
staticprivate

Constants.

Definition at line 54 of file XMLFileReaderWriter.h.

QDomDocument casa::RSXML::DOCUMENT
staticprivate

Document used for creating nodes.

Definition at line 50 of file XMLFileReaderWriter.h.

const QString casa::RSXML::FIELD
staticprivate

Definition at line 55 of file XMLFileReaderWriter.h.

const QString casa::RSXML::NAME
staticprivate

Definition at line 56 of file XMLFileReaderWriter.h.

const QString casa::RSXML::SHAPE
staticprivate

Definition at line 57 of file XMLFileReaderWriter.h.

const QString casa::RSXML::TYPE
staticprivate

Definition at line 58 of file XMLFileReaderWriter.h.

const QString casa::RSXML::VAL
staticprivate

Definition at line 59 of file XMLFileReaderWriter.h.


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