Intrepid
Public Types | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
Intrepid::Storage< T, DYNAMIC > Class Template Reference

#include <Intrepid_MiniTensor_Storage.h>

List of all members.

Public Types

typedef T value_type
typedef T * pointer_type
typedef T & reference_type
typedef T const * const_pointer_type
typedef T const & const_reference_type

Public Member Functions

 Storage (Index const number_entries)
T const & operator[] (Index const i) const
T & operator[] (Index const i)
Index size () const
void resize (Index const number_entries)
void clear ()
pointer_type get_pointer ()
const_pointer_type get_const_pointer () const

Static Public Attributes

static bool const IS_DYNAMIC = true
static bool const IS_STATIC = false

Private Member Functions

 Storage (Storage< T, DYNAMIC > const &s)
Storage< T, DYNAMIC > & operator= (Storage< T, DYNAMIC > const &s)

Private Attributes

T * storage_
Index size_

Detailed Description

template<typename T>
class Intrepid::Storage< T, DYNAMIC >

Base dynamic storage class. Simple linear access memory model.

Definition at line 268 of file Intrepid_MiniTensor_Storage.h.


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