ReduceMinIndex< P_sourcetype > Class Template Reference

#include <reduce.h>

List of all members.

Public Types

typedef P_sourcetype T_sourcetype
typedef int T_resulttype
typedef T_resulttype T_numtype

Public Member Functions

 ReduceMinIndex ()
 ReduceMinIndex (T_resulttype min)
int operator() (T_sourcetype x)
int 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 int needIndex = 1
static const int canProvideInitialValue = 0

Protected Attributes

T_sourcetype min_
int index_

template<typename P_sourcetype>
class ReduceMinIndex< P_sourcetype >


Member Typedef Documentation

template<typename P_sourcetype >
typedef T_resulttype ReduceMinIndex< P_sourcetype >::T_numtype
template<typename P_sourcetype >
typedef int ReduceMinIndex< P_sourcetype >::T_resulttype
template<typename P_sourcetype >
typedef P_sourcetype ReduceMinIndex< P_sourcetype >::T_sourcetype

Constructor & Destructor Documentation

template<typename P_sourcetype >
ReduceMinIndex< P_sourcetype >::ReduceMinIndex (  )  [inline]
template<typename P_sourcetype >
ReduceMinIndex< P_sourcetype >::ReduceMinIndex ( T_resulttype  min  )  [inline]

Member Function Documentation

template<typename P_sourcetype >
static const char* ReduceMinIndex< P_sourcetype >::name (  )  [inline, static]
template<typename P_sourcetype >
int ReduceMinIndex< P_sourcetype >::operator() ( T_sourcetype  x,
int  index 
) [inline]
template<typename P_sourcetype >
int ReduceMinIndex< P_sourcetype >::operator() ( T_sourcetype  x  )  [inline]
template<typename P_sourcetype >
void ReduceMinIndex< P_sourcetype >::reset ( T_resulttype   )  [inline]
template<typename P_sourcetype >
void ReduceMinIndex< P_sourcetype >::reset (  )  [inline]
template<typename P_sourcetype >
T_resulttype ReduceMinIndex< P_sourcetype >::result ( int   )  [inline]

Member Data Documentation

template<typename P_sourcetype >
const int ReduceMinIndex< P_sourcetype >::canProvideInitialValue = 0 [static]
template<typename P_sourcetype >
int ReduceMinIndex< P_sourcetype >::index_ [protected]
template<typename P_sourcetype >
T_sourcetype ReduceMinIndex< P_sourcetype >::min_ [protected]
template<typename P_sourcetype >
const int ReduceMinIndex< P_sourcetype >::needIndex = 1 [static]

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Sep 15 12:43:06 2009 for blitz by  doxygen 1.6.1