ReduceCount< P_sourcetype > Class Template Reference

#include <reduce.h>

List of all members.

template<typename P_sourcetype>
class ReduceCount< P_sourcetype >


Public Types

typedef P_sourcetype T_sourcetype
typedef int T_resulttype
typedef T_resulttype T_numtype

Public Member Functions

 ReduceCount ()
 ReduceCount (T_resulttype count)
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

const char * name ()

Static Public Attributes

const bool needIndex = false canProvideInitialValue = true

Protected Attributes

T_resulttype count_

Member Typedef Documentation

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

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

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


Constructor & Destructor Documentation

template<typename P_sourcetype>
ReduceCount< P_sourcetype >::ReduceCount  )  [inline]
 

template<typename P_sourcetype>
ReduceCount< P_sourcetype >::ReduceCount T_resulttype  count  )  [inline]
 


Member Function Documentation

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

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

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

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

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

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


Member Data Documentation

template<typename P_sourcetype>
T_resulttype ReduceCount< P_sourcetype >::count_ [protected]
 

template<typename P_sourcetype>
const bool ReduceCount< P_sourcetype >::needIndex = false canProvideInitialValue = true [static]
 


The documentation for this class was generated from the following file:
Generated on Mon Oct 22 10:04:08 2007 for blitz by  doxygen 1.3.9.1