#include <STK_ISerie.h>
Public Member Functions | |
| virtual | ~ISerie () |
| Serie & | asLeaf () |
| const Serie & | asLeaf () const |
| Real | first () const |
| Real | next () const |
Protected Member Functions | |
| ISerie () | |
ISerie takes a Serie template parameter. This parameter is the type of the class which derives from it. For exemple class Serie : public ISerie<Serie> {...}
The pseudo virtual function defined in this interface have the following definition:
// return the first coefficient inline Real first() const; // return the next coefficient: first() have to be called before // any use of next() inline Real next() const;
Definition at line 74 of file STK_ISerie.h.
| STK::ISerie< Serie >::ISerie | ( | ) | [inline, protected] |
| virtual STK::ISerie< Serie >::~ISerie | ( | ) | [inline, virtual] |
| Serie& STK::ISerie< Serie >::asLeaf | ( | ) | [inline] |
static cast : return a reference of this with a cast to the derived class. This allow to delegate public methods to derived classes.
Definition at line 93 of file STK_ISerie.h.
Referenced by STK::ISerie< Serielog1p >::first(), and STK::ISerie< Serielog1p >::next().
| const Serie& STK::ISerie< Serie >::asLeaf | ( | ) | const [inline] |
static cast : return a const reference of this with a cast to the derived class. This allow to delegate public method to derived classes.
Definition at line 100 of file STK_ISerie.h.
| Real STK::ISerie< Serie >::first | ( | ) | const [inline] |
return the first coefficient
Definition at line 105 of file STK_ISerie.h.
Referenced by STK::continuedFraction(), STK::sumAlternateSerie(), and STK::sumSerie().
00106 { return asLeaf().first();}
| Real STK::ISerie< Serie >::next | ( | ) | const [inline] |
return the next coefficient: first() have to be called before any use of next()
Definition at line 111 of file STK_ISerie.h.
Referenced by STK::continuedFraction(), STK::sumAlternateSerie(), and STK::sumSerie().
00112 { return asLeaf().next();}
1.5.8