00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef COH_ABSTRACT_INTEGER64_AGGREGATOR_HPP
00017 #define COH_ABSTRACT_INTEGER64_AGGREGATOR_HPP
00018
00019 #include "coherence/lang.ns"
00020
00021 #include "coherence/util/aggregator/AbstractAggregator.hpp"
00022 #include "coherence/util/ValueExtractor.hpp"
00023
00024 COH_OPEN_NAMESPACE3(coherence,util,aggregator)
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035 class COH_EXPORT AbstractInteger64Aggregator
00036 : public abstract_spec<AbstractInteger64Aggregator,
00037 extends<AbstractAggregator> >
00038 {
00039
00040
00041 protected:
00042
00043
00044
00045 AbstractInteger64Aggregator();
00046
00047
00048
00049
00050 AbstractInteger64Aggregator(ValueExtractor::View vExtractor);
00051
00052
00053
00054
00055 protected:
00056
00057
00058
00059 virtual void init(bool fFinal);
00060
00061
00062
00063
00064 virtual Object::Holder finalizeResult(bool fFinal);
00065
00066
00067
00068
00069 protected:
00070
00071
00072
00073 int32_t m_count;
00074
00075
00076
00077
00078 int64_t m_lResult;
00079 };
00080
00081 COH_CLOSE_NAMESPACE3
00082
00083 #endif // COH_ABSTRACT_INTEGER64_AGGREGATOR_HPP
Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.