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 (CountedPtr< const AnnotationBase > annotationBase) | |
AsciiAnnotationFileLine (const map< AnnotationBase::Keyword, String > &globals) | |
AsciiAnnotationFileLine & | operator= (const AsciiAnnotationFileLine &other) |
String | getComment () const |
map< AnnotationBase::Keyword, String > | getGloabalParams () const |
CountedPtr< const AnnotationBase > | getAnnotationBase () const |
Type | getType () const |
ostream & | print (ostream &os) const |
Private Attributes | |
Type | _type |
String | _comment |
CountedPtr< 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 | ( | ) |
casa::AsciiAnnotationFileLine::AsciiAnnotationFileLine | ( | const String & | comment | ) |
casa::AsciiAnnotationFileLine::AsciiAnnotationFileLine | ( | CountedPtr< const AnnotationBase > | annotationBase | ) |
casa::AsciiAnnotationFileLine::AsciiAnnotationFileLine | ( | const map< AnnotationBase::Keyword, String > & | globals | ) |
CountedPtr<const AnnotationBase> casa::AsciiAnnotationFileLine::getAnnotationBase | ( | ) | const |
String casa::AsciiAnnotationFileLine::getComment | ( | ) | const |
map<AnnotationBase::Keyword, String> casa::AsciiAnnotationFileLine::getGloabalParams | ( | ) | const |
Type casa::AsciiAnnotationFileLine::getType | ( | ) | const |
AsciiAnnotationFileLine& casa::AsciiAnnotationFileLine::operator= | ( | const AsciiAnnotationFileLine & | other | ) |
ostream& casa::AsciiAnnotationFileLine::print | ( | ostream & | os | ) | const |
Referenced by casa::operator<<().
CountedPtr<const AnnotationBase> casa::AsciiAnnotationFileLine::_annotationBase [private] |
Definition at line 91 of file AsciiAnnotationFileLine.h.
String casa::AsciiAnnotationFileLine::_comment [private] |
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.