#include <coherence/util/filter/ExtractorFilter.hpp>
Inherited by ComparisonFilter.
Public Types | |
typedef spec::Handle | Handle |
ExtractorFilter Handle definition. | |
typedef spec::View | View |
ExtractorFilter View definition. | |
typedef spec::Holder | Holder |
ExtractorFilter Holder definition. | |
Public Member Functions | |
virtual bool | evaluateEntry (Map::Entry::View vEntry) const |
virtual bool | evaluate (Object::View v) const |
virtual void | readExternal (PofReader::Handle hIn) |
virtual void | writeExternal (PofWriter::Handle hOut) const |
virtual TypedHandle < const String > | toString () const |
virtual ValueExtractor::View | getValueExtractor () const |
Obtain the ValueExtractor used by this filter. | |
Static Public Attributes | |
static const size32_t | eval_cost |
The evaluation cost as a factor to the single index access operation. | |
Protected Member Functions | |
ExtractorFilter () | |
Default constructor (necessary for the PortableObject interface). | |
ExtractorFilter (ValueExtractor::View vExtractor) | |
Construct a ExtractorFilter for a given ValueExtractor. | |
virtual bool | evaluateExtracted (Object::View vExtracted) const =0 |
Evaluate the specified extracted value. | |
virtual Object::View | extract (Object::View v) const |
Get the result of ValueExtractor invocation. | |
Protected Attributes | |
FinalView < ValueExtractor > | f_vExtractor |
The ValueExtractor used by this filter. |
ExtractorFilter | ( | ValueExtractor::View | vExtractor | ) | [protected] |
Construct a ExtractorFilter for a given ValueExtractor.
vExtractor | the ValueExtractor to use by this filter |
virtual bool evaluateExtracted | ( | Object::View | vExtracted | ) | const [protected, pure virtual] |
Evaluate the specified extracted value.
vExtracted | an extracted value to evaluate |
Implemented in LikeFilter.
virtual Object::View extract | ( | Object::View | v | ) | const [protected, virtual] |
Get the result of ValueExtractor invocation.
v | the object on which to invoke the ValueExtractor; must not be NULL |
virtual ValueExtractor::View getValueExtractor | ( | ) | const [virtual] |
Obtain the ValueExtractor used by this filter.
const size32_t eval_cost [static] |
The evaluation cost as a factor to the single index access operation.