VLAObsModeFilter Class Reference

#include <VLAObsModeFilter.h>

Inheritance diagram for VLAObsModeFilter:
VLAFilter

List of all members.

Public Member Functions

 VLAObsModeFilter ()
 The default constructor creats a filter that filters out all but standard, holography, solar, and phasing modes.
 VLAObsModeFilter (const Vector< String > &obsModes)
 Creates a filter that filters all records except those with user-specified observing modes.
 VLAObsModeFilter (const VLAObsModeFilter &other)
 The copy constructor uses copy semantics.
virtual ~VLAObsModeFilter ()
 The destructor is trivial.
VLAObsModeFilteroperator= (const VLAObsModeFilter &other)
 The assignment operator uses copy semantics.
virtual Bool passThru (const VLALogicalRecord &record) const
 returns True if the supplied record has an obs mode that matches one of the obs modes specified (or implicit) in the constructor.
virtual VLAFilterclone () const
 Return a pointer to a copy of the VLAObsModeFilter object upcast to a VLAFilter object.
virtual Bool ok () const
 Function which checks the internal data of this class for correct dimensionality and consistant values.

Private Attributes

Vector< String > itsObsModes

Detailed Description

Intended use:

Public interface

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Definition at line 81 of file VLAObsModeFilter.h.


Constructor & Destructor Documentation

VLAObsModeFilter::VLAObsModeFilter (  ) 

The default constructor creats a filter that filters out all but standard, holography, solar, and phasing modes.

VLAObsModeFilter::VLAObsModeFilter ( const Vector< String > &  obsModes  ) 

Creates a filter that filters all records except those with user-specified observing modes.

VLAObsModeFilter::VLAObsModeFilter ( const VLAObsModeFilter other  ) 

The copy constructor uses copy semantics.

virtual VLAObsModeFilter::~VLAObsModeFilter (  )  [virtual]

The destructor is trivial.


Member Function Documentation

virtual VLAFilter* VLAObsModeFilter::clone (  )  const [virtual]

Return a pointer to a copy of the VLAObsModeFilter object upcast to a VLAFilter object.

The class that uses this function is responsible for deleting the pointer. This is used to implement a virtual copy constructor.

Implements VLAFilter.

virtual Bool VLAObsModeFilter::ok (  )  const [virtual]

Function which checks the internal data of this class for correct dimensionality and consistant values.

Returns True if everything is fine otherwise returns False.

Reimplemented from VLAFilter.

VLAObsModeFilter& VLAObsModeFilter::operator= ( const VLAObsModeFilter other  ) 

The assignment operator uses copy semantics.

virtual Bool VLAObsModeFilter::passThru ( const VLALogicalRecord record  )  const [virtual]

returns True if the supplied record has an obs mode that matches one of the obs modes specified (or implicit) in the constructor.

Implements VLAFilter.


Member Data Documentation

Vector<String> VLAObsModeFilter::itsObsModes [private]

Definition at line 117 of file VLAObsModeFilter.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