Parse and store regions and annotations from an ascii region file <author>Dave Mehringer</author>. More...
#include <RegionTextParser.h>
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 |
Parse and store regions and annotations from an ascii region file <author>Dave Mehringer</author>.
Public interface
This is a class designed to parse and store regions and annotations from an ascii region file
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.
Definition at line 87 of file RegionTextParser.h.
const Int casa::RegionTextParser::CURRENT_VERSION [static] |
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.
| SpectralCoordinate casa::RegionTextParser::specCoord |
the image's spectral coordinate
Definition at line 91 of file RegionTextParser.h.
1.6.1