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: Copyright (c) 2000-2008 Oracle. All rights reserved.