Intrepid
Public Types | Public Member Functions | Private Member Functions | List of all members
Intrepid::MiniTensor::Storage< T > Class Template Referenceabstract

#include <Intrepid_MiniTensor_Storage.h>

Inheritance diagram for Intrepid::MiniTensor::Storage< T >:
Intrepid::MiniTensor::StorageRaw< T > Intrepid::MiniTensor::StorageRCPArray< T > Intrepid::MiniTensor::StorageSTLVector< T >

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)
 

Detailed Description

template<typename T>
class Intrepid::MiniTensor::Storage< T >

Base Storage class. Simple linear access memory model.

Definition at line 55 of file Intrepid_MiniTensor_Storage.h.

Member Typedef Documentation

template<typename T>
typedef T Intrepid::MiniTensor::Storage< T >::type

Component type

Definition at line 61 of file Intrepid_MiniTensor_Storage.h.

Constructor & Destructor Documentation

template<typename T>
Intrepid::MiniTensor::Storage< T >::Storage ( )
inline

Default constructor

Definition at line 66 of file Intrepid_MiniTensor_Storage.h.

Referenced by Intrepid::MiniTensor::Storage< Index >::~Storage().

template<typename T>
Intrepid::MiniTensor::Storage< T >::Storage ( Index const  number_entries)
inlineexplicit

Constructor to given size

Parameters
number_entriesnumber of entries

Definition at line 73 of file Intrepid_MiniTensor_Storage.h.

template<typename T>
virtual Intrepid::MiniTensor::Storage< T >::~Storage ( )
inlinevirtual

Simple destructor

Definition at line 79 of file Intrepid_MiniTensor_Storage.h.

template<typename T>
Intrepid::MiniTensor::Storage< T >::Storage ( Storage< T > const &  s)
private

No copy constructor

Member Function Documentation

template<typename T>
virtual void Intrepid::MiniTensor::Storage< T >::clear ( )
pure virtual
template<typename T>
Storage<T>& Intrepid::MiniTensor::Storage< T >::operator= ( Storage< T > const &  s)
private

No copy assignment

Referenced by Intrepid::MiniTensor::Storage< Index >::~Storage().

template<typename T>
virtual T const& Intrepid::MiniTensor::Storage< T >::operator[] ( Index const  i) const
pure virtual
template<typename T>
virtual T& Intrepid::MiniTensor::Storage< T >::operator[] ( Index const  i)
pure virtual
template<typename T>
virtual void Intrepid::MiniTensor::Storage< T >::resize ( Index const  number_entries)
pure virtual
template<typename T>
virtual Index Intrepid::MiniTensor::Storage< T >::size ( ) const
pure virtual

The documentation for this class was generated from the following file: