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

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 casacore::String &comment)
 
 AsciiAnnotationFileLine (casacore::CountedPtr< const AnnotationBase > annotationBase)
 
 AsciiAnnotationFileLine (const std::map< AnnotationBase::Keyword, casacore::String > &globals)
 
AsciiAnnotationFileLineoperator= (const AsciiAnnotationFileLine &other)
 
casacore::String getComment () const
 
std::map
< AnnotationBase::Keyword,
casacore::String
getGloabalParams () const
 
casacore::CountedPtr< const
AnnotationBase
getAnnotationBase () const
 
Type getType () const
 
std::ostream & print (std::ostream &os) const
 

Private Attributes

Type _type
 
casacore::String _comment
 
casacore::CountedPtr< const
AnnotationBase
_annotationBase
 
std::map
< AnnotationBase::Keyword,
casacore::String
_globals
 

Detailed Description

Represents a line in an ascii region file <author>Dave Mehringer</author>

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Etymology

Represents a line in an ascii region file

Synopsis

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.

Member Enumeration Documentation

Enumerator
ANNOTATION 
COMMENT 
GLOBAL 
UNKNOWN_TYPE 

Definition at line 61 of file AsciiAnnotationFileLine.h.

Constructor & Destructor Documentation

casa::AsciiAnnotationFileLine::AsciiAnnotationFileLine ( )
casa::AsciiAnnotationFileLine::AsciiAnnotationFileLine ( const casacore::String comment)
casa::AsciiAnnotationFileLine::AsciiAnnotationFileLine ( casacore::CountedPtr< const AnnotationBase annotationBase)
casa::AsciiAnnotationFileLine::AsciiAnnotationFileLine ( const std::map< AnnotationBase::Keyword, casacore::String > &  globals)

Member Function Documentation

casacore::CountedPtr<const AnnotationBase> casa::AsciiAnnotationFileLine::getAnnotationBase ( ) const
casacore::String casa::AsciiAnnotationFileLine::getComment ( ) const
std::map<AnnotationBase::Keyword, casacore::String> casa::AsciiAnnotationFileLine::getGloabalParams ( ) const
Type casa::AsciiAnnotationFileLine::getType ( ) const
AsciiAnnotationFileLine& casa::AsciiAnnotationFileLine::operator= ( const AsciiAnnotationFileLine other)
std::ostream& casa::AsciiAnnotationFileLine::print ( std::ostream &  os) const

Referenced by casa::operator<<().

Member Data Documentation

casacore::CountedPtr<const AnnotationBase> casa::AsciiAnnotationFileLine::_annotationBase
private

Definition at line 91 of file AsciiAnnotationFileLine.h.

casacore::String casa::AsciiAnnotationFileLine::_comment
private

Definition at line 90 of file AsciiAnnotationFileLine.h.

std::map<AnnotationBase::Keyword, casacore::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.


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