29 #ifndef NRAO_VLAOBSMODEFILTER_H
30 #define NRAO_VLAOBSMODEFILTER_H
36 #include <unordered_map>
casacore::Vector< casacore::String > itsSupportedModes
This class interprets a VLA logical record.
VLAObsModeFilter()
The default constructor creats a filter that filters out all but standard, holography, solar, and phasing modes.
std::pair< std::string, bool > modeDescWarn
used in error reporting: mode description string and a boolean indicating whether the warning has bee...
VLAObsModeFilter & operator=(const VLAObsModeFilter &other)
The assignment operator uses copy semantics.
virtual ~VLAObsModeFilter()
The destructor is trivial.
virtual VLAFilter * clone() const
Return a pointer to a copy of the VLAObsModeFilter object upcast to a VLAFilter object.
bool Bool
Define the standard types used by Casacore.
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 i...
std::unordered_map< std::string, modeDescWarn > itsUnsupportedModes
virtual casacore::Bool ok() const
casacore::Function which checks the internal data of this class for correct dimensionality and consis...
casacore::Vector< casacore::String > itsObsModes