|
Intrepid
|
#include <Intrepid_MiniTensor_Storage.h>
Public Member Functions | |
| StorageRaw () | |
| StorageRaw (Index const number_entries) | |
| ~StorageRaw () | |
| T const & | operator[] (Index const i) const |
| T & | operator[] (Index const i) |
| Index | size () const |
| void | resize (Index const number_entries) |
| void | clear () |
Public Member Functions inherited from Intrepid::MiniTensor::Storage< T > | |
| Storage () | |
| Storage (Index const number_entries) | |
| virtual | ~Storage () |
Private Member Functions | |
| StorageRaw (StorageRaw< T > const &s) | |
| StorageRaw< T > & | operator= (StorageRaw< T > const &s) |
Private Attributes | |
| Index | size_ |
| T * | pointer_ |
Additional Inherited Members | |
Public Types inherited from Intrepid::MiniTensor::Storage< T > | |
| typedef T | type |
Storage with raw pointers
Definition at line 138 of file Intrepid_MiniTensor_Storage.h.
|
inline |
Default constructor
Definition at line 53 of file Intrepid_MiniTensor_Storage.i.h.
|
inlineexplicit |
Constructor to given size
| number_entries | number of entries |
Definition at line 62 of file Intrepid_MiniTensor_Storage.i.h.
References Intrepid::MiniTensor::StorageRaw< T >::resize().
|
inline |
Simple destructor
Definition at line 72 of file Intrepid_MiniTensor_Storage.i.h.
|
private |
No copy constructor
|
inlinevirtual |
Clear the storage
Implements Intrepid::MiniTensor::Storage< T >.
Definition at line 125 of file Intrepid_MiniTensor_Storage.i.h.
|
private |
No copy assignment
|
inlinevirtual |
Entry access
| i | the index |
Implements Intrepid::MiniTensor::Storage< T >.
Definition at line 81 of file Intrepid_MiniTensor_Storage.i.h.
|
inlinevirtual |
Entry access
| i | the index |
Implements Intrepid::MiniTensor::Storage< T >.
Definition at line 90 of file Intrepid_MiniTensor_Storage.i.h.
|
inlinevirtual |
Resize the storage (assume destructive)
| number_entries | number of entries |
Implements Intrepid::MiniTensor::Storage< T >.
Definition at line 107 of file Intrepid_MiniTensor_Storage.i.h.
Referenced by Intrepid::MiniTensor::StorageRaw< T >::StorageRaw().
|
inlinevirtual |
Implements Intrepid::MiniTensor::Storage< T >.
Definition at line 99 of file Intrepid_MiniTensor_Storage.i.h.
|
private |
Raw pointer
Definition at line 214 of file Intrepid_MiniTensor_Storage.h.
|
private |
Size
Definition at line 208 of file Intrepid_MiniTensor_Storage.h.
1.8.5