casa
$Rev:20696$
|
Represents a line in an ascii region file <author>Dave Mehringer</author> More...
#include <AsciiAnnotationFileLine.h>
Public Types | |
enum | Type { ANNOTATION, COMMENT, GLOBAL, UNKNOWN_TYPE } |
Public Member Functions | |
AsciiAnnotationFileLine () | |
AsciiAnnotationFileLine (const String &comment) | |
AsciiAnnotationFileLine (const AnnotationBase *const annotationBase) | |
AsciiAnnotationFileLine (const map< AnnotationBase::Keyword, String > &globals) | |
AsciiAnnotationFileLine & | operator= (const AsciiAnnotationFileLine &other) |
String | getComment () const |
map< AnnotationBase::Keyword, String > | getGloabalParams () const |
const AnnotationBase * | getAnnotationBase () const |
Type | getType () const |
ostream & | print (ostream &os) const |
Private Attributes | |
Type | _type |
String | _comment |
const AnnotationBase * | _annotationBase |
map< AnnotationBase::Keyword, String > | _globals |
Represents a line in an ascii region file <author>Dave Mehringer</author>
Public interface
Represents a line in an ascii region file
Represents a line in an ascii region file See the region file format proposal attached to CAS-2285 (https://bugs.nrao.edu/browse/CAS-2285)
Definition at line 57 of file AsciiAnnotationFileLine.h.
Definition at line 61 of file AsciiAnnotationFileLine.h.
casa::AsciiAnnotationFileLine::AsciiAnnotationFileLine | ( | const String & | comment | ) |
casa::AsciiAnnotationFileLine::AsciiAnnotationFileLine | ( | const AnnotationBase *const | annotationBase | ) |
casa::AsciiAnnotationFileLine::AsciiAnnotationFileLine | ( | const map< AnnotationBase::Keyword, String > & | globals | ) |
const AnnotationBase* casa::AsciiAnnotationFileLine::getAnnotationBase | ( | ) | const |
Type casa::AsciiAnnotationFileLine::getType | ( | ) | const |
AsciiAnnotationFileLine& casa::AsciiAnnotationFileLine::operator= | ( | const AsciiAnnotationFileLine & | other | ) |
ostream& casa::AsciiAnnotationFileLine::print | ( | ostream & | os | ) | const |
Referenced by casa::operator<<().
const AnnotationBase* casa::AsciiAnnotationFileLine::_annotationBase [private] |
Definition at line 91 of file AsciiAnnotationFileLine.h.
Definition at line 90 of file AsciiAnnotationFileLine.h.
map<AnnotationBase::Keyword, String> casa::AsciiAnnotationFileLine::_globals [private] |
Definition at line 92 of file AsciiAnnotationFileLine.h.
Type casa::AsciiAnnotationFileLine::_type [private] |
Definition at line 89 of file AsciiAnnotationFileLine.h.