blitz  Version 0.9
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Attributes
ReduceAll< P_sourcetype > Class Template Reference

#include <reduce.h>

List of all members.

Public Types

typedef P_sourcetype T_sourcetype
typedef bool T_resulttype
typedef T_resulttype T_numtype

Public Member Functions

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

Static Public Member Functions

static const char * name ()

Static Public Attributes

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

Protected Attributes

T_resulttype all_

Member Typedef Documentation

template<typename P_sourcetype >
typedef T_resulttype ReduceAll< P_sourcetype >::T_numtype
template<typename P_sourcetype >
typedef bool ReduceAll< P_sourcetype >::T_resulttype
template<typename P_sourcetype >
typedef P_sourcetype ReduceAll< P_sourcetype >::T_sourcetype

Constructor & Destructor Documentation

template<typename P_sourcetype >
ReduceAll< P_sourcetype >::ReduceAll ( )
inline
template<typename P_sourcetype >
ReduceAll< P_sourcetype >::ReduceAll ( T_resulttype  initialValue)
inline

Member Function Documentation

template<typename P_sourcetype >
static const char* ReduceAll< P_sourcetype >::name ( )
inlinestatic
template<typename P_sourcetype >
bool ReduceAll< P_sourcetype >::operator() ( T_sourcetype  x)
inline
template<typename P_sourcetype >
bool ReduceAll< P_sourcetype >::operator() ( T_sourcetype  x,
int   
)
inline
template<typename P_sourcetype >
void ReduceAll< P_sourcetype >::reset ( )
inline
template<typename P_sourcetype >
void ReduceAll< P_sourcetype >::reset ( T_resulttype  )
inline
template<typename P_sourcetype >
T_resulttype ReduceAll< P_sourcetype >::result ( int  )
inline

Member Data Documentation

template<typename P_sourcetype >
T_resulttype ReduceAll< P_sourcetype >::all_
protected
template<typename P_sourcetype >
const bool ReduceAll< P_sourcetype >::canProvideInitialValue = false
static
template<typename P_sourcetype >
const bool ReduceAll< P_sourcetype >::needIndex = false
static

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