#include <SymbolSet.h>
Public Types | |
typedef SymbolSetIterator< T > | iterator |
Public Member Functions | |
virtual int | add (T &symbol) |
iterator | begin () |
iterator | end () |
virtual T & | get (int id) |
virtual void | resize (int newSize) |
virtual void | set (int id, T &symbol) |
virtual int | size () |
SymbolSet () | |
virtual | ~SymbolSet (void) |
Private Member Functions | |
void | symbolInputIDSanityCheck (int &id) |
Private Attributes | |
vector< T > | symbolTable |
int | totalSize |
Definition at line 17 of file SymbolSet.h.
typedef SymbolSetIterator<T> momdp::SymbolSet< T >::iterator |
Reimplemented in momdp::VariableContainer.
Definition at line 37 of file SymbolSet.h.
momdp::SymbolSet< T >::SymbolSet | ( | ) | [inline] |
Definition at line 39 of file SymbolSet.h.
virtual momdp::SymbolSet< T >::~SymbolSet | ( | void | ) | [inline, virtual] |
Definition at line 83 of file SymbolSet.h.
virtual int momdp::SymbolSet< T >::add | ( | T & | symbol | ) | [inline, virtual] |
Definition at line 66 of file SymbolSet.h.
iterator momdp::SymbolSet< T >::begin | ( | ) | [inline] |
Definition at line 45 of file SymbolSet.h.
iterator momdp::SymbolSet< T >::end | ( | ) | [inline] |
Definition at line 50 of file SymbolSet.h.
virtual T& momdp::SymbolSet< T >::get | ( | int | id | ) | [inline, virtual] |
Definition at line 78 of file SymbolSet.h.
virtual void momdp::SymbolSet< T >::resize | ( | int | newSize | ) | [inline, virtual] |
Definition at line 60 of file SymbolSet.h.
virtual void momdp::SymbolSet< T >::set | ( | int | id, |
T & | symbol | ||
) | [inline, virtual] |
Definition at line 73 of file SymbolSet.h.
virtual int momdp::SymbolSet< T >::size | ( | ) | [inline, virtual] |
Definition at line 55 of file SymbolSet.h.
void momdp::SymbolSet< T >::symbolInputIDSanityCheck | ( | int & | id | ) | [inline, private] |
Definition at line 24 of file SymbolSet.h.
vector<T> momdp::SymbolSet< T >::symbolTable [private] |
Definition at line 22 of file SymbolSet.h.
int momdp::SymbolSet< T >::totalSize [private] |
Definition at line 21 of file SymbolSet.h.