00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef COH_GREATER_EQUALS_FILTER_HPP
00017 #define COH_GREATER_EQUALS_FILTER_HPP
00018
00019 #include "coherence/lang.ns"
00020
00021 #include "coherence/util/ValueExtractor.hpp"
00022 #include "coherence/util/filter/ComparisonFilter.hpp"
00023 #include "coherence/util/filter/IndexAwareFilter.hpp"
00024
00025 COH_OPEN_NAMESPACE3(coherence,util,filter)
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037 class COH_EXPORT GreaterEqualsFilter
00038 : public class_spec<GreaterEqualsFilter,
00039 extends<ComparisonFilter>,
00040 implements<IndexAwareFilter> >
00041 {
00042 friend class factory<GreaterEqualsFilter>;
00043
00044
00045
00046 protected:
00047
00048
00049
00050 GreaterEqualsFilter();
00051
00052
00053
00054
00055
00056
00057
00058
00059 GreaterEqualsFilter(ValueExtractor::View vValueExtractor,
00060 Comparable::View vComparable);
00061
00062
00063
00064
00065 protected:
00066
00067
00068
00069 virtual bool evaluateExtracted(Object::View vExtracted) const;
00070
00071
00072
00073
00074 public:
00075
00076
00077
00078 virtual size32_t calculateEffectiveness(Map::View vMapIndexes,
00079 Set::View vSetKeys) const;
00080
00081
00082
00083
00084 virtual Filter::View applyIndex(Map::View vMapIndexes,
00085 Set::Handle hSetKeys) const;
00086 };
00087
00088 COH_CLOSE_NAMESPACE3
00089
00090 #endif // COH_LESS_GREATER_EQUALS_HPP