|
Intrepid
|
#include <Intrepid_MiniTensor_Storage.h>
Public Types | |
| typedef T | type |
Public Member Functions | |
| Storage () | |
| Storage (Index const number_entries) | |
| virtual | ~Storage () |
| virtual T const & | operator[] (Index const i) const =0 |
| virtual T & | operator[] (Index const i)=0 |
| virtual Index | size () const =0 |
| virtual void | resize (Index const number_entries)=0 |
| virtual void | clear ()=0 |
Private Member Functions | |
| Storage (Storage< T > const &s) | |
| Storage< T > & | operator= (Storage< T > const &s) |
Base Storage class. Simple linear access memory model.
Definition at line 55 of file Intrepid_MiniTensor_Storage.h.
| typedef T Intrepid::MiniTensor::Storage< T >::type |
Component type
Definition at line 61 of file Intrepid_MiniTensor_Storage.h.
|
inline |
Default constructor
Definition at line 66 of file Intrepid_MiniTensor_Storage.h.
Referenced by Intrepid::MiniTensor::Storage< Index >::~Storage().
|
inlineexplicit |
Constructor to given size
| number_entries | number of entries |
Definition at line 73 of file Intrepid_MiniTensor_Storage.h.
|
inlinevirtual |
Simple destructor
Definition at line 79 of file Intrepid_MiniTensor_Storage.h.
|
private |
No copy constructor
|
pure virtual |
Clear the storage
Implemented in Intrepid::MiniTensor::StorageRCPArray< T >, Intrepid::MiniTensor::StorageRCPArray< Index >, Intrepid::MiniTensor::StorageSTLVector< T >, and Intrepid::MiniTensor::StorageRaw< T >.
Referenced by Intrepid::MiniTensor::Storage< Index >::~Storage().
|
private |
No copy assignment
Referenced by Intrepid::MiniTensor::Storage< Index >::~Storage().
|
pure virtual |
Entry access
| i | the index |
Implemented in Intrepid::MiniTensor::StorageRCPArray< T >, Intrepid::MiniTensor::StorageRCPArray< Index >, Intrepid::MiniTensor::StorageSTLVector< T >, and Intrepid::MiniTensor::StorageRaw< T >.
Referenced by Intrepid::MiniTensor::Storage< Index >::~Storage().
|
pure virtual |
Entry access
| i | the index |
Implemented in Intrepid::MiniTensor::StorageRCPArray< T >, Intrepid::MiniTensor::StorageRCPArray< Index >, Intrepid::MiniTensor::StorageSTLVector< T >, and Intrepid::MiniTensor::StorageRaw< T >.
|
pure virtual |
Resize the storage (assume destructive)
| number_entries | number of entries |
Implemented in Intrepid::MiniTensor::StorageRCPArray< T >, Intrepid::MiniTensor::StorageRCPArray< Index >, Intrepid::MiniTensor::StorageSTLVector< T >, and Intrepid::MiniTensor::StorageRaw< T >.
Referenced by Intrepid::MiniTensor::Storage< Index >::Storage(), and Intrepid::MiniTensor::Storage< Index >::~Storage().
|
pure virtual |
Implemented in Intrepid::MiniTensor::StorageRCPArray< T >, Intrepid::MiniTensor::StorageRCPArray< Index >, Intrepid::MiniTensor::StorageSTLVector< T >, and Intrepid::MiniTensor::StorageRaw< T >.
Referenced by Intrepid::MiniTensor::Storage< Index >::~Storage().
1.8.11