#include <reduce.h>

Public Types | |
| typedef P_sourcetype | T_sourcetype |
| typedef int | T_resulttype |
| typedef T_resulttype | T_numtype |
Public Member Functions | |
| ReduceMinIndex () | |
| ReduceMinIndex (T_resulttype min) | |
| 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 | |
| T_sourcetype | min_ |
| int | index_ |
| typedef P_sourcetype ReduceMinIndex< P_sourcetype >::T_sourcetype |
| typedef int ReduceMinIndex< P_sourcetype >::T_resulttype |
| typedef T_resulttype ReduceMinIndex< P_sourcetype >::T_numtype |
| ReduceMinIndex< P_sourcetype >::ReduceMinIndex | ( | ) | [inline] |
References ReduceMinIndex< P_sourcetype >::reset().
| ReduceMinIndex< P_sourcetype >::ReduceMinIndex | ( | T_resulttype | min | ) | [inline] |
References ReduceMinIndex< P_sourcetype >::reset().
| bool ReduceMinIndex< P_sourcetype >::operator() | ( | T_sourcetype | x | ) | [inline] |
| bool ReduceMinIndex< P_sourcetype >::operator() | ( | T_sourcetype | x, | |
| int | index | |||
| ) | [inline] |
| T_resulttype ReduceMinIndex< P_sourcetype >::result | ( | int | ) | [inline] |
References ReduceMinIndex< P_sourcetype >::index_.
| void ReduceMinIndex< P_sourcetype >::reset | ( | ) | [inline] |
| void ReduceMinIndex< P_sourcetype >::reset | ( | T_resulttype | ) | [inline] |
References ReduceMinIndex< P_sourcetype >::reset().
| static const char* ReduceMinIndex< P_sourcetype >::name | ( | ) | [inline, static] |
const bool ReduceMinIndex< P_sourcetype >::needIndex = true [static] |
const bool ReduceMinIndex< P_sourcetype >::canProvideInitialValue = false [static] |
T_sourcetype ReduceMinIndex< P_sourcetype >::min_ [protected] |
Referenced by ReduceMinIndex< P_sourcetype >::operator()(), and ReduceMinIndex< P_sourcetype >::reset().
int ReduceMinIndex< P_sourcetype >::index_ [protected] |
1.5.5