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