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 28 of file Teuchos_SimpleObjectTable.hpp.
Teuchos::SimpleObjectTable< T >::SimpleObjectTable | ( | ) |
Definition at line 58 of file Teuchos_SimpleObjectTable.hpp.
Teuchos::SimpleObjectTable< T >::~SimpleObjectTable | ( | ) |
Definition at line 64 of file Teuchos_SimpleObjectTable.hpp.
int Teuchos::SimpleObjectTable< T >::storeRCP | ( | const RCP< T > & | robj | ) |
Definition at line 70 of file Teuchos_SimpleObjectTable.hpp.
int Teuchos::SimpleObjectTable< T >::storeNew | ( | T * | obj, |
bool | owned = true |
||
) |
Definition at line 89 of file Teuchos_SimpleObjectTable.hpp.
int Teuchos::SimpleObjectTable< T >::storeCastedRCP | ( | const RCP< TOld > & | robj_old | ) |
Definition at line 96 of file Teuchos_SimpleObjectTable.hpp.
int Teuchos::SimpleObjectTable< T >::removeRCP | ( | int & | index | ) |
Definition at line 102 of file Teuchos_SimpleObjectTable.hpp.
const RCP< T > Teuchos::SimpleObjectTable< T >::getRCP | ( | int | index | ) |
Definition at line 118 of file Teuchos_SimpleObjectTable.hpp.
void Teuchos::SimpleObjectTable< T >::purge | ( | ) |
Definition at line 128 of file Teuchos_SimpleObjectTable.hpp.
|
private |
Definition at line 51 of file Teuchos_SimpleObjectTable.hpp.
|
private |
Definition at line 53 of file Teuchos_SimpleObjectTable.hpp.