ReduceProduct< P_sourcetype, P_resulttype > Class Template Reference

#include <reduce.h>

List of all members.

Public Types

typedef P_sourcetype T_sourcetype
typedef P_resulttype T_resulttype
typedef T_resulttype T_numtype

Public Member Functions

 ReduceProduct ()
bool operator() (const T_sourcetype &x, const int=0)
T_resulttype result (const int) const
void reset ()

Static Public Member Functions

static const char * name ()

Static Public Attributes

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

Protected Attributes

T_resulttype product_

template<typename P_sourcetype, typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
class ReduceProduct< P_sourcetype, P_resulttype >


Member Typedef Documentation

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
typedef T_resulttype ReduceProduct< P_sourcetype, P_resulttype >::T_numtype

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
typedef P_resulttype ReduceProduct< P_sourcetype, P_resulttype >::T_resulttype

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
typedef P_sourcetype ReduceProduct< P_sourcetype, P_resulttype >::T_sourcetype


Constructor & Destructor Documentation

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
ReduceProduct< P_sourcetype, P_resulttype >::ReduceProduct (  )  [inline]


Member Function Documentation

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
static const char* ReduceProduct< P_sourcetype, P_resulttype >::name (  )  [inline, static]

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
bool ReduceProduct< P_sourcetype, P_resulttype >::operator() ( const T_sourcetype x,
const   int = 0 
) [inline]

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
void ReduceProduct< P_sourcetype, P_resulttype >::reset (  )  [inline]

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
T_resulttype ReduceProduct< P_sourcetype, P_resulttype >::result ( const   int  )  const [inline]


Member Data Documentation

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
const bool ReduceProduct< P_sourcetype, P_resulttype >::needIndex = false [static]

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
const bool ReduceProduct< P_sourcetype, P_resulttype >::needInit = false [static]

template<typename P_sourcetype , typename P_resulttype = BZ_SUMTYPE(P_sourcetype)>
T_resulttype ReduceProduct< P_sourcetype, P_resulttype >::product_ [protected]


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

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