ell::StateCollector Class Reference
#include <StateCollector.hh>
Inheritance diagram for ell::StateCollector:
Detailed Description
This is an abstract interface used by all state collecting or processing classes (SC_*).
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:
- src/ell/StateCollector.hh