CoCoALib-0.9905 date: 23 May 2007


CoCoA::SeqSum< arith_t > Class Template Reference

#include <tmp.H>

Collaboration diagram for CoCoA::SeqSum< arith_t >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SeqSum (const arith_t &InitialValue)
void operator() (const arith_t &NextValue)
const arith_t & myCurrentValue () const

Private Attributes

arith_t mySumSoFar

Detailed Description

template<typename arith_t>
class CoCoA::SeqSum< arith_t >

Definition at line 83 of file tmp.H.


Constructor & Destructor Documentation

template<typename arith_t>
CoCoA::SeqSum< arith_t >::SeqSum const arith_t &  InitialValue  )  [inline]
 

Definition at line 86 of file tmp.H.


Member Function Documentation

template<typename arith_t>
void CoCoA::SeqSum< arith_t >::operator() const arith_t &  NextValue  )  [inline]
 

Definition at line 88 of file tmp.H.

References CoCoA::SeqSum< arith_t >::mySumSoFar.

template<typename arith_t>
const arith_t& CoCoA::SeqSum< arith_t >::myCurrentValue  )  const [inline]
 

Definition at line 89 of file tmp.H.

References CoCoA::SeqSum< arith_t >::mySumSoFar.


Member Data Documentation

template<typename arith_t>
arith_t CoCoA::SeqSum< arith_t >::mySumSoFar [private]
 

Definition at line 91 of file tmp.H.

Referenced by CoCoA::SeqSum< arith_t >::myCurrentValue(), and CoCoA::SeqSum< arith_t >::operator()().


The documentation for this class was generated from the following file:
Generated on Wed May 23 13:44:56 2007 for CoCoALib by  doxygen 1.4.6