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

ell::SC_Counting Class Reference

#include <SC_Counting.hh>

Inheritance diagram for ell::SC_Counting:

Inheritance graph
[legend]

Detailed Description

This class simply keeps track of the number of added States.

Author:
Daniel Maticzka

Definition at line 13 of file SC_Counting.hh.

Public Member Functions

virtual void add (const State &s)
virtual const State *const getLastAdded () const
 SC_Counting ()
virtual size_t size () const
virtual ~SC_Counting ()

Protected Attributes

StatelastAdded
size_t stateCount


Constructor & Destructor Documentation

ell::SC_Counting::SC_Counting (  ) 

Definition at line 6 of file SC_Counting.cc.

ell::SC_Counting::~SC_Counting (  )  [virtual]

Definition at line 11 of file SC_Counting.cc.


Member Function Documentation

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

Increments State counter.

Parameters:
s the added State

Implements ell::StateCollector.

Reimplemented in ell::SC_Listing, ell::SC_ListingCompr, and ell::SC_Outstream.

Definition at line 22 of file SC_Counting.cc.

const State *const ell::SC_Counting::getLastAdded (  )  const [virtual]

Returns last added State.

Returns:
last added State

Implements ell::StateCollector.

Reimplemented in ell::SC_Listing.

Definition at line 39 of file SC_Counting.cc.

size_t ell::SC_Counting::size (  )  const [virtual]

Returns number of added States.

Returns:
the number of added states

Implements ell::StateCollector.

Reimplemented in ell::SC_Listing.

Definition at line 32 of file SC_Counting.cc.


Field Documentation

the last added State

Definition at line 18 of file SC_Counting.hh.

size_t ell::SC_Counting::stateCount [protected]

the number of added States

Definition at line 20 of file SC_Counting.hh.


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