Oracle Coherence for C++ API
Release 3.6.0.0
E15728-01

- Main Page
- Namespaces
- Classes
- Files

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# Filter Class Reference

`#include <coherence/util/Filter.hpp>`

Inherits Object.

Inherited by EntryFilter `[virtual]`, KeyAssociatedFilter `[virtual]`, MapEventFilter `[virtual]`, MapEventTransformerFilter `[virtual]`, and NullFilter `[virtual]`.

List of all members.

## Detailed Description

Provide for "pluggable" conditional behavior.

Author:
  jh 2008.02.26

## Public Types
typedef spec::Handle | Handle
| Filter Handle definition.
typedef spec::View | View
| Filter View definition.
typedef spec::Holder | Holder
| Filter Holder definition.
## Public Member Functions
virtual bool | evaluate (Object::View v) const =0
| Apply the test to the object.

## Member Function Documentation

virtual bool evaluate | ( | Object::View | v | ) | const `[pure virtual]`

Apply the test to the object.

Parameters:

  | v | the object to test

Returns:
  true if the test passes, false otherwise

Implemented in AllFilter, AlwaysFilter, AnyFilter, ExtractorFilter, InKeySetFilter, KeyAssociatedFilter, KeyFilter, LimitFilter, MapEventFilter, MapEventTransformerFilter, NeverFilter, NotFilter, PresentFilter, PriorityFilter, ValueChangeEventFilter, XorFilter, and NullFilter.

The documentation for this class was generated from the following file:

- coherence/util/Filter.hpp

Copyright © 2000, 2010, Oracle and/or its affiliates. All rights reserved.