ReduceMax< P_sourcetype > Class Template Reference

#include <reduce.h>

List of all members.

template<typename P_sourcetype>
class ReduceMax< P_sourcetype >


Public Types

typedef P_sourcetype T_sourcetype
typedef P_sourcetype T_resulttype
typedef T_resulttype T_numtype

Public Member Functions

 ReduceMax ()
 ReduceMax (T_resulttype max)
bool operator() (T_sourcetype x)
bool operator() (T_sourcetype x, int)
T_resulttype result (int)
void reset ()
void reset (T_resulttype initialValue)

Static Public Member Functions

static const char * name ()

Static Public Attributes

static const bool needIndex = false
static const bool canProvideInitialValue = true

Protected Attributes

T_resulttype max_

Member Typedef Documentation

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

template<typename P_sourcetype>
typedef P_sourcetype ReduceMax< P_sourcetype >::T_resulttype

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


Constructor & Destructor Documentation

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

template<typename P_sourcetype>
ReduceMax< P_sourcetype >::ReduceMax ( T_resulttype  max  )  [inline]


Member Function Documentation

template<typename P_sourcetype>
bool ReduceMax< P_sourcetype >::operator() ( T_sourcetype  x  )  [inline]

template<typename P_sourcetype>
bool ReduceMax< P_sourcetype >::operator() ( T_sourcetype  x,
int   
) [inline]

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

template<typename P_sourcetype>
void ReduceMax< P_sourcetype >::reset (  )  [inline]

template<typename P_sourcetype>
void ReduceMax< P_sourcetype >::reset ( T_resulttype  initialValue  )  [inline]

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


Member Data Documentation

template<typename P_sourcetype>
const bool ReduceMax< P_sourcetype >::needIndex = false [static]

template<typename P_sourcetype>
const bool ReduceMax< P_sourcetype >::canProvideInitialValue = true [static]

template<typename P_sourcetype>
T_resulttype ReduceMax< P_sourcetype >::max_ [protected]


The documentation for this class was generated from the following file:
Generated on Fri Nov 9 06:37:03 2007 for blitz by  doxygen 1.5.2