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