AllFilter Class Reference

#include <coherence/util/filter/AllFilter.hpp>

Inherits ArrayFilter.

Inherited by AndFilter.

List of all members.


Detailed Description

Filter which returns the logical "and" of a filter array.

Author:
djl 2008.03.23

Public Types

typedef spec::Handle Handle
 AllFilter Handle definition.
typedef spec::View View
 AllFilter View definition.
typedef spec::Holder Holder
 AllFilter Holder definition.

Public Member Functions

virtual bool evaluateEntry (Map::Entry::View vEntry) const
 Apply the test to a Map::Entry.

Parameters:
vEntry the Map::Entry to evaluate; never NULL
Returns:
true if the test passes, false otherwise

virtual bool evaluate (Object::View v) const
 Apply the test to the object.

Parameters:
v the object to test
Returns:
true if the test passes, false otherwise


Protected Member Functions

 AllFilter ()
 Default constructor (necessary for the PortableObject interface).
 AllFilter (ObjectArray::View vaFilter)
 Construct an "all" filter.

Constructor & Destructor Documentation

AllFilter ( ObjectArray::View  vaFilter  )  [protected]

Construct an "all" filter.

The result is defined as:

afilter[0] && afilter[1] ... && afilter[n]

Parameters:
vaFilter an array of filters


The documentation for this class was generated from the following file: Copyright (c) 2000-2008 Oracle. All rights reserved.