Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
This class provides a central place to store objects. More...
#include <Teuchos_SimpleObjectTable.hpp>
Public Member Functions | |
SimpleObjectTable () | |
~SimpleObjectTable () | |
int | storeRCP (const RCP< T > &robj) |
int | storeNew (T *obj, bool owned=true) |
template<class TOld > | |
int | storeCastedRCP (const RCP< TOld > &robj_old) |
int | removeRCP (int &index) |
const RCP< T > | getRCP (int index) |
void | purge () |
Private Attributes | |
Array< RCP< T > > | tableOfObjects |
Array< int > | freedIndices |
This class provides a central place to store objects.
Definition at line 60 of file Teuchos_SimpleObjectTable.hpp.
Teuchos::SimpleObjectTable< T >::SimpleObjectTable | ( | ) |
Definition at line 90 of file Teuchos_SimpleObjectTable.hpp.
Teuchos::SimpleObjectTable< T >::~SimpleObjectTable | ( | ) |
Definition at line 96 of file Teuchos_SimpleObjectTable.hpp.
int Teuchos::SimpleObjectTable< T >::storeRCP | ( | const RCP< T > & | robj | ) |
Definition at line 102 of file Teuchos_SimpleObjectTable.hpp.
int Teuchos::SimpleObjectTable< T >::storeNew | ( | T * | obj, |
bool | owned = true |
||
) |
Definition at line 121 of file Teuchos_SimpleObjectTable.hpp.
int Teuchos::SimpleObjectTable< T >::storeCastedRCP | ( | const RCP< TOld > & | robj_old | ) |
Definition at line 128 of file Teuchos_SimpleObjectTable.hpp.
int Teuchos::SimpleObjectTable< T >::removeRCP | ( | int & | index | ) |
Definition at line 134 of file Teuchos_SimpleObjectTable.hpp.
const RCP< T > Teuchos::SimpleObjectTable< T >::getRCP | ( | int | index | ) |
Definition at line 150 of file Teuchos_SimpleObjectTable.hpp.
void Teuchos::SimpleObjectTable< T >::purge | ( | ) |
Definition at line 160 of file Teuchos_SimpleObjectTable.hpp.
|
private |
Definition at line 83 of file Teuchos_SimpleObjectTable.hpp.
|
private |
Definition at line 85 of file Teuchos_SimpleObjectTable.hpp.