#include <reduce.h>
Public Types | |
typedef P_sourcetype | T_sourcetype |
typedef P_sourcetype | T_resulttype |
typedef T_resulttype | T_numtype |
Public Member Functions | |
ReduceMax () | |
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 | max_ |
typedef T_resulttype ReduceMax< P_sourcetype >::T_numtype |
typedef P_sourcetype ReduceMax< P_sourcetype >::T_resulttype |
typedef P_sourcetype ReduceMax< P_sourcetype >::T_sourcetype |
static const char* ReduceMax< P_sourcetype >::name | ( | ) | [inline, static] |
bool ReduceMax< P_sourcetype >::operator() | ( | const T_sourcetype & | x, | |
const | int = 0 | |||
) | [inline] |
References ReduceMax< P_sourcetype >::max_.
void ReduceMax< P_sourcetype >::reset | ( | ) | [inline] |
References ReduceMax< P_sourcetype >::max_.
T_resulttype ReduceMax< P_sourcetype >::result | ( | const | int | ) | const [inline] |
References ReduceMax< P_sourcetype >::max_.
T_resulttype ReduceMax< P_sourcetype >::max_ [protected] |