#include </cur/unifexp/parttypes.h>
Public Member Functions | |
partTypes () | |
The constructor. | |
~partTypes () | |
The destructor. | |
partType< numType > * | get (const std::string &name) const |
Retrieves a pointer to a partition object with the given name. | |
void | getNames (std::vector< std::string > &names) const |
Fills in a vector of text strings with the names of all the available partition objects. | |
Private Member Functions | |
partTypes (const partTypes< numType > &) | |
The copy constructor is not allowed. | |
partTypes< numType > & | operator= (const partTypes< numType > &) |
The assignment operator is not allowed. | |
Private Attributes | |
std::vector < partType< numType > * > | objects |
A vector of all the map objects to choose from. |
Definition at line 65 of file parttypes.h.
unifexp::partTypes< numType >::partTypes | ( | ) | [inline] |
The constructor.
Definition at line 99 of file parttypes.h.
References unifexp::partTypes< numType >::objects.
unifexp::partTypes< numType >::~partTypes | ( | ) | [inline] |
The destructor.
Definition at line 114 of file parttypes.h.
References unifexp::partTypes< numType >::objects.
unifexp::partTypes< numType >::partTypes | ( | const partTypes< numType > & | ) | [inline, private] |
partType< numType > * unifexp::partTypes< numType >::get | ( | const std::string & | name | ) | const [inline] |
Retrieves a pointer to a partition object with the given name.
Returns 0 if such an object cannot be found.
Definition at line 141 of file parttypes.h.
References unifexp::partTypes< numType >::objects.
void unifexp::partTypes< numType >::getNames | ( | std::vector< std::string > & | names | ) | const [inline] |
Fills in a vector of text strings with the names of all the available partition objects.
Definition at line 154 of file parttypes.h.
References unifexp::partTypes< numType >::objects.
partTypes< numType > & unifexp::partTypes< numType >::operator= | ( | const partTypes< numType > & | ) | [inline, private] |
std::vector<partType<numType> *> unifexp::partTypes< numType >::objects [private] |
A vector of all the map objects to choose from.
The objects must be created with the 'new' operator. They are automatically deallocated by the destructor.
Definition at line 92 of file parttypes.h.
Referenced by unifexp::partTypes< numType >::get(), unifexp::partTypes< numType >::getNames(), unifexp::partTypes< numType >::partTypes(), and unifexp::partTypes< numType >::~partTypes().