casa
$Rev:20696$
|
#include <VLAObsModeFilter.h>
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. | |
VLAObsModeFilter & | operator= (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 VLAFilter * | clone () 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 |
Public interface
<h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl>
Definition at line 81 of file VLAObsModeFilter.h.
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.
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.
Vector<String> VLAObsModeFilter::itsObsModes [private] |
Definition at line 117 of file VLAObsModeFilter.h.