#include <coherence/util/aggregator/AbstractComparableAggregator.hpp>
Inherits AbstractAggregator.
Inherited by ComparableMax, and ComparableMin.
All the extracted objects must implement the Comparable interface and the result of the aggregator is a Comparable value. If the set of entries is empty, a NULL result is returned.
Public Types | ||||
| typedef spec::Handle | Handle | |||
| AbstractComparableAggregator Handle definition. | ||||
| typedef spec::View | View | |||
| AbstractComparableAggregator View definition. | ||||
| typedef spec::Holder | Holder | |||
| AbstractComparableAggregator Holder definition. | ||||
Protected Member Functions | ||||
| virtual void | init (bool fFinal) | |||
| Initialize the aggregation result.
| ||||
| virtual Object::Holder | finalizeResult (bool fFinal) | |||
| Obtain the result of the aggregation.
If the
| ||||
Protected Attributes | ||||
| int32_t | m_count | |||
| The count of processed entries. | ||||
| MemberView< Comparable > | m_vResult | |||
| The running result value. | ||||