|
Intrepid
|
#include <Intrepid_MiniTensor_Storage.h>
Public Member Functions | |
| StorageSTLVector () | |
| StorageSTLVector (Index const number_entries) | |
| ~StorageSTLVector () | |
| 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 | |
| StorageSTLVector (StorageSTLVector< T > const &s) | |
| StorageSTLVector< T > & | operator= (StorageSTLVector< T > const &s) |
Private Attributes | |
| std::vector< T > | storage_ |
Additional Inherited Members | |
Public Types inherited from Intrepid::MiniTensor::Storage< T > | |
| typedef T | type |
Storage with an STL vector
Definition at line 222 of file Intrepid_MiniTensor_Storage.h.
|
inline |
Default constructor
Definition at line 140 of file Intrepid_MiniTensor_Storage.i.h.
|
inlineexplicit |
Constructor to given size
| number_entries | number of entries |
Definition at line 147 of file Intrepid_MiniTensor_Storage.i.h.
|
inline |
Simple destructor
Definition at line 155 of file Intrepid_MiniTensor_Storage.i.h.
|
private |
No copy constructor
|
inlinevirtual |
Clear the storage
Implements Intrepid::MiniTensor::Storage< T >.
Definition at line 198 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 163 of file Intrepid_MiniTensor_Storage.i.h.
|
inlinevirtual |
Entry access
| i | the index |
Implements Intrepid::MiniTensor::Storage< T >.
Definition at line 172 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 189 of file Intrepid_MiniTensor_Storage.i.h.
|
inlinevirtual |
Implements Intrepid::MiniTensor::Storage< T >.
Definition at line 181 of file Intrepid_MiniTensor_Storage.i.h.
|
private |
STL Vector
Definition at line 292 of file Intrepid_MiniTensor_Storage.h.
1.8.5