Public Types | Public Member Functions | Private Member Functions | Private Attributes
momdp::SymbolSet< T > Class Template Reference

#include <SymbolSet.h>

List of all members.

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

Detailed Description

template<typename T>
class momdp::SymbolSet< T >

Definition at line 17 of file SymbolSet.h.


Member Typedef Documentation

template<typename T>
typedef SymbolSetIterator<T> momdp::SymbolSet< T >::iterator

Reimplemented in momdp::VariableContainer.

Definition at line 37 of file SymbolSet.h.


Constructor & Destructor Documentation

template<typename T>
momdp::SymbolSet< T >::SymbolSet ( ) [inline]

Definition at line 39 of file SymbolSet.h.

template<typename T>
virtual momdp::SymbolSet< T >::~SymbolSet ( void  ) [inline, virtual]

Definition at line 83 of file SymbolSet.h.


Member Function Documentation

template<typename T>
virtual int momdp::SymbolSet< T >::add ( T &  symbol) [inline, virtual]

Definition at line 66 of file SymbolSet.h.

template<typename T>
iterator momdp::SymbolSet< T >::begin ( ) [inline]

Definition at line 45 of file SymbolSet.h.

template<typename T>
iterator momdp::SymbolSet< T >::end ( ) [inline]

Definition at line 50 of file SymbolSet.h.

template<typename T>
virtual T& momdp::SymbolSet< T >::get ( int  id) [inline, virtual]

Definition at line 78 of file SymbolSet.h.

template<typename T>
virtual void momdp::SymbolSet< T >::resize ( int  newSize) [inline, virtual]

Definition at line 60 of file SymbolSet.h.

template<typename T>
virtual void momdp::SymbolSet< T >::set ( int  id,
T &  symbol 
) [inline, virtual]

Definition at line 73 of file SymbolSet.h.

template<typename T>
virtual int momdp::SymbolSet< T >::size ( ) [inline, virtual]

Definition at line 55 of file SymbolSet.h.

template<typename T>
void momdp::SymbolSet< T >::symbolInputIDSanityCheck ( int &  id) [inline, private]

Definition at line 24 of file SymbolSet.h.


Member Data Documentation

template<typename T>
vector<T> momdp::SymbolSet< T >::symbolTable [private]

Definition at line 22 of file SymbolSet.h.

template<typename T>
int momdp::SymbolSet< T >::totalSize [private]

Definition at line 21 of file SymbolSet.h.


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


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:30