casa
5.7.0-16
|
#include <VLAProjectFilter.h>
Public Member Functions | |
VLAProjectFilter () | |
The default constructor creats a filter that does not filter anything. More... | |
VLAProjectFilter (const casacore::String &projectName) | |
Creates a filter that filters all records except those with an observing id that matches (case insensitive) the specified project name. More... | |
VLAProjectFilter (const VLAProjectFilter &other) | |
The copy constructor uses copy semantics. More... | |
virtual | ~VLAProjectFilter () |
The destructor is trivial. More... | |
VLAProjectFilter & | operator= (const VLAProjectFilter &other) |
The assignment operator uses copy semantics. More... | |
virtual casacore::Bool | passThru (const VLALogicalRecord &record) const |
returns true if the supplied record has an observing id that matches (case insensitive) the project name specified in the constructor. More... | |
virtual VLAFilter * | clone () const |
Return a pointer to a copy of the VLAProjectFilter 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 Attributes | |
casacore::String | itsProject |
Public interface
Definition at line 81 of file VLAProjectFilter.h.
VLAProjectFilter::VLAProjectFilter | ( | ) |
The default constructor creats a filter that does not filter anything.
ie., the passThru() function always returns true;
VLAProjectFilter::VLAProjectFilter | ( | const casacore::String & | projectName | ) |
Creates a filter that filters all records except those with an observing id that matches (case insensitive) the specified project name.
VLAProjectFilter::VLAProjectFilter | ( | const VLAProjectFilter & | other | ) |
The copy constructor uses copy semantics.
|
virtual |
The destructor is trivial.
|
virtual |
Return a pointer to a copy of the VLAProjectFilter 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.
VLAProjectFilter& VLAProjectFilter::operator= | ( | const VLAProjectFilter & | other | ) |
The assignment operator uses copy semantics.
|
virtual |
returns true if the supplied record has an observing id that matches (case insensitive) the project name specified in the constructor.
Implements VLAFilter.
|
private |
Definition at line 117 of file VLAProjectFilter.h.