Generated on Mon Jun 23 17:18:26 2008 for ell-2.3.0 by doxygen 1.5.1

ell::StateCollector Class Reference

#include <StateCollector.hh>

Inheritance diagram for ell::StateCollector:

Inheritance graph
[legend]

Detailed Description

This is an abstract interface used by all state collecting or processing classes (SC_*).

Author:
Daniel Maticzka

Martin Mann

Definition at line 16 of file StateCollector.hh.

Public Member Functions

virtual void add (const State &s)=0
virtual const State *const getLastAdded () const=0
virtual size_t size () const=0
virtual ~StateCollector ()


Constructor & Destructor Documentation

virtual ell::StateCollector::~StateCollector (  )  [inline, virtual]

Definition at line 21 of file StateCollector.hh.


Member Function Documentation

virtual void ell::StateCollector::add ( const State s  )  [pure virtual]

This function makes the collector manage the given State.

Parameters:
s the added State

Implemented in ell::SC_Counting, ell::SC_Listing, ell::SC_ListingCompr, and ell::SC_Outstream.

virtual const State* const ell::StateCollector::getLastAdded (  )  const [pure virtual]

Returns last added State.

Returns:
last added State

Implemented in ell::SC_Counting, and ell::SC_Listing.

virtual size_t ell::StateCollector::size (  )  const [pure virtual]

Returns number of added States.

Returns:
the number of added states

Implemented in ell::SC_Counting, and ell::SC_Listing.


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