blitz Version 0.10
ReduceMinMax< P_sourcetype > Class Template Reference

#include <reduce.h>

Collaboration diagram for ReduceMinMax< P_sourcetype >:

List of all members.

Public Types

typedef P_sourcetype T_sourcetype
typedef MinMaxValue< P_sourcetype > T_resulttype
typedef T_resulttype T_numtype

Public Member Functions

 ReduceMinMax ()
bool operator() (T_sourcetype x, const int=0) const
T_resulttype result (int)
void reset (P_sourcetype initialValue) const

Static Public Member Functions

static const char * name ()

Public Attributes

static const bool needInit = true

Static Public Attributes

static const bool needIndex = false

Protected Attributes

T_resulttype minmax_

template<typename P_sourcetype>
class ReduceMinMax< P_sourcetype >


Member Typedef Documentation

template<typename P_sourcetype >
typedef T_resulttype ReduceMinMax< P_sourcetype >::T_numtype
template<typename P_sourcetype >
typedef MinMaxValue<P_sourcetype> ReduceMinMax< P_sourcetype >::T_resulttype
template<typename P_sourcetype >
typedef P_sourcetype ReduceMinMax< P_sourcetype >::T_sourcetype

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename P_sourcetype >
static const char* ReduceMinMax< P_sourcetype >::name ( ) [inline, static]
template<typename P_sourcetype >
bool ReduceMinMax< P_sourcetype >::operator() ( T_sourcetype  x,
const int  = 0 
) const [inline]
template<typename P_sourcetype >
void ReduceMinMax< P_sourcetype >::reset ( P_sourcetype  initialValue) const [inline]
template<typename P_sourcetype >
T_resulttype ReduceMinMax< P_sourcetype >::result ( int  ) [inline]

Member Data Documentation

template<typename P_sourcetype >
T_resulttype ReduceMinMax< P_sourcetype >::minmax_ [mutable, protected]
template<typename P_sourcetype >
const bool ReduceMinMax< P_sourcetype >::needIndex = false [static]
template<typename P_sourcetype >
const bool ReduceMinMax< P_sourcetype >::needInit = true

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