VLAFilterSet.h
Classes
- VLAFilterSet -- (full description)
Interface
- Public Members
- VLAFilterSet()
- VLAFilterSet(const VLAFilterSet& other)
- virtual ~VLAFilterSet()
- VLAFilterSet& operator=(const VLAFilterSet& other)
- void addFilter(const VLAFilter& filter)
- void removeFilter(const uInt which)
- uInt nelements() const
- const VLAFilter& filter(const uInt which) const
- virtual Bool passThru(const VLALogicalRecord& record) const
- virtual Bool ok() const
- Private Members
- void deleteAllFilters()
- void copyFilters(const VLAFilterSet& other)
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 creates a filter set that does not contan any
filters. Using the passThru function without any filters always returns
True;
VLAFilterSet(const VLAFilterSet& other)
The copy constructor uses copy semantics.
The destructor is trivial
VLAFilterSet& operator=(const VLAFilterSet& other)
The assignment operator uses copy semantics.
Adds the specified filter to the set.
Adds the specified filter from the set. Throws an exception if which is
not less than the value returned by nelements().
Returns the number of filters in the set.
const VLAFilter& filter(const uInt which) const
Returns a reference to the specified filter
returns True if the supplied record meets the filter criteria for all the
filters that are contained within in this filter set. Also returns True if
there are no filters in the set.
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.
void copyFilters(const VLAFilterSet& other)