#include <reduce.h>
Public Types | |
typedef P_sourcetype | T_sourcetype |
typedef int | T_resulttype |
typedef T_resulttype | T_numtype |
Public Member Functions | |
ReduceCount () | |
bool | operator() (const T_sourcetype &x, const int=0) |
T_resulttype | result (const int) const |
void | reset () |
Static Public Member Functions | |
static const char * | name () |
Static Public Attributes | |
static const bool | needIndex = false |
static const bool | needInit = false |
Protected Attributes | |
T_resulttype | count_ |
typedef T_resulttype ReduceCount< P_sourcetype >::T_numtype |
typedef int ReduceCount< P_sourcetype >::T_resulttype |
typedef P_sourcetype ReduceCount< P_sourcetype >::T_sourcetype |
ReduceCount< P_sourcetype >::ReduceCount | ( | ) | [inline] |
static const char* ReduceCount< P_sourcetype >::name | ( | ) | [inline, static] |
bool ReduceCount< P_sourcetype >::operator() | ( | const T_sourcetype & | x, | |
const | int = 0 | |||
) | [inline] |
References ReduceCount< P_sourcetype >::count_.
void ReduceCount< P_sourcetype >::reset | ( | ) | [inline] |
References ReduceCount< P_sourcetype >::count_.
T_resulttype ReduceCount< P_sourcetype >::result | ( | const | int | ) | const [inline] |
References ReduceCount< P_sourcetype >::count_.
T_resulttype ReduceCount< P_sourcetype >::count_ [protected] |
const bool ReduceCount< P_sourcetype >::needIndex = false [static] |
const bool ReduceCount< P_sourcetype >::needInit = false [static] |