casa
$Rev:20696$
|
#include <VLAProjectFilter.h>
Public Member Functions | |
VLAProjectFilter () | |
The default constructor creats a filter that does not filter anything. | |
VLAProjectFilter (const String &projectName) | |
Creates a filter that filters all records except those with an observing id that matches (case insensitive) the specified project name. | |
VLAProjectFilter (const VLAProjectFilter &other) | |
The copy constructor uses copy semantics. | |
virtual | ~VLAProjectFilter () |
The destructor is trivial. | |
VLAProjectFilter & | operator= (const VLAProjectFilter &other) |
The assignment operator uses copy semantics. | |
virtual 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. | |
virtual VLAFilter * | clone () const |
Return a pointer to a copy of the VLAProjectFilter object upcast to a VLAFilter object. | |
virtual Bool | ok () const |
Function which checks the internal data of this class for correct dimensionality and consistant values. | |
Private Attributes | |
String | itsProject |
Public interface
<h3>Review Status</h3><dl><dt>Date Reviewed:<dd>yyyy/mm/dd</dl>
Definition at line 81 of file VLAProjectFilter.h.
The default constructor creats a filter that does not filter anything.
ie., the passThru() function always returns True;
VLAProjectFilter::VLAProjectFilter | ( | const 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 VLAProjectFilter::~VLAProjectFilter | ( | ) | [virtual] |
The destructor is trivial.
virtual VLAFilter* VLAProjectFilter::clone | ( | ) | const [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 Bool VLAProjectFilter::ok | ( | ) | const [virtual] |
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 Bool VLAProjectFilter::passThru | ( | const VLALogicalRecord & | record | ) | const [virtual] |
returns True if the supplied record has an observing id that matches (case insensitive) the project name specified in the constructor.
Implements VLAFilter.
String VLAProjectFilter::itsProject [private] |
Definition at line 117 of file VLAProjectFilter.h.