ReduceMaxIndex< 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

 ReduceMaxIndex ()
bool operator() (const T_sourcetype &x, const T_resulttype &index)
T_resulttype result (int) const
void reset (const T_resulttype &index)

Static Public Member Functions

static const char * name ()

Static Public Attributes

static const bool needIndex = true
static const bool needInit = false

Protected Attributes

T_sourcetype max_
T_resulttype index_

template<typename P_sourcetype>
class ReduceMaxIndex< P_sourcetype >


Member Typedef Documentation

template<typename P_sourcetype >
typedef T_resulttype ReduceMaxIndex< P_sourcetype >::T_numtype

template<typename P_sourcetype >
typedef int ReduceMaxIndex< P_sourcetype >::T_resulttype

template<typename P_sourcetype >
typedef P_sourcetype ReduceMaxIndex< P_sourcetype >::T_sourcetype


Constructor & Destructor Documentation

template<typename P_sourcetype >
ReduceMaxIndex< P_sourcetype >::ReduceMaxIndex (  )  [inline]


Member Function Documentation

template<typename P_sourcetype >
static const char* ReduceMaxIndex< P_sourcetype >::name (  )  [inline, static]

template<typename P_sourcetype >
bool ReduceMaxIndex< P_sourcetype >::operator() ( const T_sourcetype x,
const T_resulttype index 
) [inline]

template<typename P_sourcetype >
void ReduceMaxIndex< P_sourcetype >::reset ( const T_resulttype index  )  [inline]

template<typename P_sourcetype >
T_resulttype ReduceMaxIndex< P_sourcetype >::result ( int   )  const [inline]


Member Data Documentation

template<typename P_sourcetype >
T_resulttype ReduceMaxIndex< P_sourcetype >::index_ [protected]

template<typename P_sourcetype >
T_sourcetype ReduceMaxIndex< P_sourcetype >::max_ [protected]

template<typename P_sourcetype >
const bool ReduceMaxIndex< P_sourcetype >::needIndex = true [static]

template<typename P_sourcetype >
const bool ReduceMaxIndex< P_sourcetype >::needInit = false [static]


The documentation for this class was generated from the following file:

Generated on Tue Jul 7 04:25:15 2009 for blitz by  doxygen 1.5.9