casa::RegionTextParser Class Reference

Parse and store regions and annotations from an ascii region file <author>Dave Mehringer</author>. More...

#include <RegionTextParser.h>

List of all members.

Classes

struct  ParamValue
 because of nonstandard access patterns, be careful when using ParamValue and ParamSet outside this class; These should probably be made into full fledged classes at some point; More...

Public Attributes

String chanSpec
uInt nChannels
 the number of spectral planes in the image
SpectralCoordinate specCoord
 the image's spectral coordinate

Static Public Attributes

static const Int CURRENT_VERSION
static const Regex MAGIC

Detailed Description

Parse and store regions and annotations from an ascii region file <author>Dave Mehringer</author>.

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Etymology

This is a class designed to parse and store regions and annotations from an ascii region file

Synopsis

This class is for parsing and storing regions and annotations from an ascii region file . See the region file format proposal attached to CAS-2285 (https://bugs.nrao.edu/browse/CAS-2285)


Note: This class will create AnnotationBase pointers via new(); It is assumed the caller will make use of these pointers so they are not deleted upon deletion of the object; It is the caller's responsibility to delete them; To do so, call getLines() and loop through the returned Vector of AsciiRegionLines; For objects of type AsciiRegionLines::ANNOTATION, get the pointer and delete it;

Definition at line 61 of file RegionTextParser.h.


Member Data Documentation

Definition at line 87 of file RegionTextParser.h.

Definition at line 65 of file RegionTextParser.h.

const Regex casa::RegionTextParser::MAGIC [static]

Definition at line 66 of file RegionTextParser.h.

the number of spectral planes in the image

Definition at line 89 of file RegionTextParser.h.

the image's spectral coordinate

Definition at line 91 of file RegionTextParser.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