Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.2.1.1.0)

E69640-01

NotFilter Class Reference

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

List of all members.


Detailed Description

Provide for "pluggable" conditional behavior that negates.

Author:
djl 2008.03.02

Public Types

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

Public Member Functions

virtual bool evaluateEntry (Map::Entry::View vEntry) const
 Apply the test to a Map::Entry and negate the result.
virtual bool evaluate (Object::View v) const
 Apply the test to the object and negate the result.
virtual size32_t calculateEffectiveness (Map::View vMapIndexes, Set::View vSetKeys) const
 
virtual Filter::View applyIndex (Map::View vMapIndexes, Set::Handle hSetKeys) const
 
virtual void readExternal (PofReader::Handle hIn)
 Restore the contents of a user type instance by reading its state using the specified PofReader.
virtual void writeExternal (PofWriter::Handle hOut) const
 Save the contents of a POF user type instance by writing its state using the specified PofWriter.
virtual bool equals (Object::View v) const
 Compare the NotFilter with another object to determine equality.
virtual size32_t hashCode () const
 
virtual TypedHandle
< const String > 
toString () const
 Output a human-readable description of this Object to the given stream.
virtual Filter::View getFilter () const
 Obtain the Filter whose results are negated by this filter.

Protected Member Functions

 NotFilter ()
 Default constructor (necessary for the PortableObject interface).
 NotFilter (Filter::View hFilter)
 Create and return a Handle to a new Object instance.
virtual Map::View getNonPartialIndexes (Map::View vMapIndexes) const
 Get a Map of the available non-partial indexes from the given Map of all available indexes.

Member Function Documentation

virtual bool evaluateEntry ( Map::Entry::View  vEntry  )  const [virtual]

Apply the test to a Map::Entry and negate the result.

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

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

Apply the test to the object and negate the result.

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

virtual Map::View getNonPartialIndexes ( Map::View  vMapIndexes  )  const [protected, virtual]

Get a Map of the available non-partial indexes from the given Map of all available indexes.

Parameters:
vMapIndexes the available MapIndex objects keyed by the related ValueExtractor; read-only
Returns:
a Map of the available non-partial MapIndex objects

virtual void readExternal ( PofReader::Handle  hIn  )  [virtual]

Restore the contents of a user type instance by reading its state using the specified PofReader.

Parameters:
hIn the PofReader from which to read the object's state

virtual void writeExternal ( PofWriter::Handle  hOut  )  const [virtual]

Save the contents of a POF user type instance by writing its state using the specified PofWriter.

Parameters:
hOut the PofWriter to which to write the object's state

virtual bool equals ( Object::View  v  )  const [virtual]

Compare the NotFilter with another object to determine equality.

Parameters:
v the object to compare with
Returns:
true iff this NotFilter and the passed object are equivalent NotFilter objects

virtual TypedHandle<const String> toString (  )  const [virtual]

Output a human-readable description of this Object to the given stream.

Parameters:
out the stream used to output the description

virtual Filter::View getFilter (  )  const [virtual]

Obtain the Filter whose results are negated by this filter.

Returns:
the filter whose results are negated by this filter


The documentation for this class was generated from the following file:
Copyright © 2000, 2016, Oracle and/or its affiliates. All rights reserved.