ell::SC_Listing Class Reference
#include <SC_Listing.hh>
Inheritance diagram for ell::SC_Listing:
Detailed Description
This subclass of of WalkCollector keeps a list of all added States.
Definition at line 15 of file SC_Listing.hh.
Public Types | |
typedef std::list< State * > | List |
Public Member Functions | |
virtual void | add (const State &s) |
virtual const State *const | getLastAdded () const |
virtual const List & | getList () const |
SC_Listing () | |
virtual size_t | size () const |
~SC_Listing () | |
Protected Attributes | |
State * | lastAdded |
size_t | stateCount |
List | stateList |
Member Typedef Documentation
typedef std::list<State*> ell::SC_Listing::List |
Definition at line 19 of file SC_Listing.hh.
Constructor & Destructor Documentation
ell::SC_Listing::SC_Listing | ( | ) |
Definition at line 5 of file SC_Listing.cc.
ell::SC_Listing::~SC_Listing | ( | ) |
Definition at line 9 of file SC_Listing.cc.
Member Function Documentation
void ell::SC_Listing::add | ( | const State & | s | ) | [virtual] |
Adds State to the state list.
- Parameters:
-
s the added State
Reimplemented from ell::SC_Counting.
Definition at line 24 of file SC_Listing.cc.
const State *const ell::SC_Listing::getLastAdded | ( | ) | const [virtual] |
Returns last added State.
- Returns:
- the last added State
Reimplemented from ell::SC_Counting.
Definition at line 39 of file SC_Listing.cc.
const SC_Listing::List & ell::SC_Listing::getList | ( | ) | const [virtual] |
Returns a list of all accepted States.
- Returns:
- the State list
Definition at line 48 of file SC_Listing.cc.
size_t ell::SC_Listing::size | ( | ) | const [virtual] |
Returns number of added States.
- Returns:
- the number of added states
Reimplemented from ell::SC_Counting.
Definition at line 32 of file SC_Listing.cc.
Field Documentation
State* ell::SC_Counting::lastAdded [protected, inherited] |
size_t ell::SC_Counting::stateCount [protected, inherited] |
List ell::SC_Listing::stateList [protected] |
The documentation for this class was generated from the following files:
- src/ell/SC_Listing.hh
- src/ell/SC_Listing.cc