VLAFilter.h

Classes

VLAFilter -- (full description)

class VLAFilter

Interface

Public Members
virtual ~VLAFilter()
virtual VLAFilter* clone() const = 0
virtual Bool passThru(const VLALogicalRecord& record) const = 0
virtual Bool ok() const

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Template Type Argument Requirements (T)

Thrown Exceptions

To Do

Member Description

virtual ~VLAFilter()

A virtual destructor is necessary to ensure that the destructor of derived classes is used.

virtual VLAFilter* clone() const = 0

Return a pointer to a copy of the derived 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 passThru(const VLALogicalRecord& record) const = 0

returns True if the supplied record meets the filter criteria.

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.