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