casa
5.7.0-16
|
#include <VLAObsModeFilter.h>
Public Member Functions | |
VLAObsModeFilter () | |
The default constructor creats a filter that filters out all but standard, holography, solar, and phasing modes. More... | |
VLAObsModeFilter (const casacore::Vector< casacore::String > &obsModes) | |
Creates a filter that filters all records except those with user-specified observing modes. More... | |
VLAObsModeFilter (const VLAObsModeFilter &other) | |
The copy constructor uses copy semantics. More... | |
virtual | ~VLAObsModeFilter () |
The destructor is trivial. More... | |
VLAObsModeFilter & | operator= (const VLAObsModeFilter &other) |
The assignment operator uses copy semantics. More... | |
virtual casacore::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. More... | |
virtual VLAFilter * | clone () const |
Return a pointer to a copy of the VLAObsModeFilter object upcast to a VLAFilter object. More... | |
virtual casacore::Bool | ok () const |
casacore::Function which checks the internal data of this class for correct dimensionality and consistant values. More... | |
Public Member Functions inherited from VLAFilter | |
virtual | ~VLAFilter () |
A virtual destructor is necessary to ensure that the destructor of derived classes is used. More... | |
Private Member Functions | |
void | setModeInternals () |
Private Attributes | |
casacore::Vector < casacore::String > | itsObsModes |
std::unordered_map < std::string, modeDescWarn > | itsUnsupportedModes |
casacore::Vector < casacore::String > | itsSupportedModes |
Public interface
Definition at line 87 of file VLAObsModeFilter.h.
VLAObsModeFilter::VLAObsModeFilter | ( | ) |
The default constructor creats a filter that filters out all but standard, holography, solar, and phasing modes.
VLAObsModeFilter::VLAObsModeFilter | ( | const casacore::Vector< casacore::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 |
The destructor is trivial.
|
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 |
casacore::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 |
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.
|
private |
|
private |
Definition at line 123 of file VLAObsModeFilter.h.
|
private |
Definition at line 125 of file VLAObsModeFilter.h.
|
mutableprivate |
Definition at line 124 of file VLAObsModeFilter.h.