VLASubarrayFilter.h
Classes
- VLASubarrayFilter -- (full description)
Interface
- Public Members
- VLASubarrayFilter()
- VLASubarrayFilter(const uInt subArray)
- VLASubarrayFilter(const VLASubarrayFilter& other)
- virtual ~VLASubarrayFilter()
- VLASubarrayFilter& operator=(const VLASubarrayFilter& other)
- virtual Bool passThru(const VLALogicalRecord& record) const
- virtual VLAFilter* clone() const
- virtual Bool ok() const
Review Status
- Date Reviewed:
- yyyy/mm/dd
Prerequisite
- SomeClass
- SomeOtherClass
- some concept
Etymology
Synopsis
Example
Motivation
Template Type Argument Requirements (T)
Thrown Exceptions
To Do
- add this feature
- fix this bug
- start discussion of this possible extension
Member Description
The default constructor creats a filter that does not filter
anything. ie., the passThru() function always returns True;
Creates a filter that filters all records except those with a subarray
number that matches the specified value. The specified value must be less
than 28 otherwise an exception is thrown (in Debug Mode)
The copy constructor uses copy semantics.
The destructor is trivial
VLASubarrayFilter& operator=(const VLASubarrayFilter& other)
The assignment operator uses copy semantics.
returns True if the supplied record has an subarray id that matches
the subarray id specified in the constructor.
Return a pointer to a copy of the VLASubarrayFilter 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.
virtual Bool ok() const
Function which checks the internal data of this class for correct
dimensionality and consistant values. Returns True if everything is fine
otherwise returns False.