AFF --- A container for numbers (array) by Friederich and Forbriger.
aff::Browser< C > Class Template Reference

Browser. More...

#include <iterator.h>

Public Types

typedef C::Tcontainer_of_const Tcontainer
 type of container More...
 
typedef Tcontainer::Trepresentation::Tcoc Trepresentation
 representation class More...
 
typedef Tcontainer::Tshape Tshape
 shape class More...
 
typedef Tcontainer::Tshape::Tstepper Tstepper
 stepper base class More...
 
typedef Tcontainer::Tconst_value Tvalue
 value type More...
 
typedef Tcontainer::Tconst_reference Treference
 value type More...
 
typedef Tcontainer::Tconst_pointer Tpointer
 value type More...
 

Public Member Functions

 Browser (const Tcontainer &c)
 only this constructor More...
 
Browser & operator++ ()
 synonym for increment More...
 
Browser & operator-- ()
 synonym for decrement More...
 
Treference operator* () const
 access element More...
 
Tpointer operator-> () const
 member selection operator More...
 
bool more () const
 delegate to stepper More...
 
bool less () const
 delegate to stepper More...
 
bool valid () const
 delegate to stepper More...
 
Browser & incr ()
 delegate to stepper More...
 
Browser & decr ()
 delegate to stepper More...
 
Browser & tofirst ()
 delegate to stepper More...
 
Browser & tolast ()
 delegate to stepper More...
 

Private Attributes

Tstepper Mstepper
 Stepper to use. More...
 
Trepresentation Mrepresentation
 Representation to access. More...
 

Detailed Description

template<class C>
class aff::Browser< C >

Browser.

Note
This class holds an intrinsic reference to the Container components.
Parameters
Cany container with appropriate interface (e.g. aff::Array, aff::Series)
Todo:
Define requirements for the interface a container must provide.
Examples:
tests/helpertest.cc.

Definition at line 139 of file iterator.h.


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