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

src/ell/SC_Listing.hh

Go to the documentation of this file.
00001 #ifndef SC_LISTING_HH_
00002 #define SC_LISTING_HH_
00003 
00004 #include "ell/SC_Counting.hh"
00005 #include <list>
00006 
00007 namespace ell 
00008 {
00009     
00015     class SC_Listing : public SC_Counting
00016     {
00017     public:
00018     
00019         typedef std::list<State*> List;
00020          
00021     protected:
00022     
00024         List stateList;
00025         
00026     public:
00027     
00028         SC_Listing();
00029         ~SC_Listing();
00030 
00033         virtual void add(const State& s);
00034         
00037         virtual size_t size() const;
00038          
00041         virtual const State* const getLastAdded() const;
00042         
00044     
00047         virtual const List& getList() const;
00048         
00049     };
00050 } // namespace ell
00051 
00052 #endif /*SC_LISTING_HH_*/