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