VLACalibratorFilter.h

Classes

VLACalibratorFilter -- (full description)

class VLACalibratorFilter: public VLAFilter

Interface

Public Members
VLACalibratorFilter()
VLACalibratorFilter(const Char calcode)
VLACalibratorFilter(const VLACalibratorFilter& other)
virtual ~VLACalibratorFilter()
VLACalibratorFilter& operator=(const VLACalibratorFilter& other)
virtual Bool passThru(const VLALogicalRecord& record) const
virtual VLAFilter* clone() const
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

VLACalibratorFilter()

The default constructor creats a filter that does not filter anything. ie., the passThru() function always returns True;

VLACalibratorFilter(const Char calcode)

Creates a filter that filters all records except those with a calibrator number that matches the specified value.

VLACalibratorFilter(const VLACalibratorFilter& other)

The copy constructor uses copy semantics.

virtual ~VLACalibratorFilter()

The destructor is trivial

VLACalibratorFilter& operator=(const VLACalibratorFilter& other)

The assignment operator uses copy semantics.

virtual Bool passThru(const VLALogicalRecord& record) const

returns True if the supplied record has an calibrator id that matches the calibrator id specified in the constructor.

virtual VLAFilter* clone() const

Return a pointer to a copy of the VLACalibratorFilter 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.