18 #if !defined escript_DataVector_20050324_H
19 #define escript_DataVector_20050324_H
22 #include "esysUtils/EsysAssert.h"
224 EsysAssert(i<
size(),
"DataVector: invalid index specified. " << i <<
" of " <<
size());
232 EsysAssert(i<
size(),
"DataVector: invalid index specified. " << i <<
" of " <<
size());
const ElementType * ConstValueType
Definition: DataVector.h:55
DataVector implements an arbitrarily long vector of data values. DataVector is the underlying data co...
Definition: DataVector.h:44
size_type m_size
Definition: DataVector.h:195
size_type m_dim
Definition: DataVector.h:196
size_type size() const
Return the number of elements in this DataVector.
Definition: DataVector.h:215
void releaseUnusedMemory()
releases unused memory in the memory manager.
Definition: DataVector.cpp:36
double ElementType
Definition: DataVector.h:50
size_type m_N
Definition: DataVector.h:197
ElementType * ValueType
Definition: DataVector.h:54
#define EsysAssert(AssertTest, AssertMessage)
EsysAssert is a MACRO that will throw an exception if the boolean condition specified is false...
Definition: EsysAssert.h:96
const ElementType & const_reference
Definition: DataVector.h:62
reference operator[](const size_type i)
Return a reference to the element at position i in this DataVector. Will throw an exception if an inv...
Definition: DataVector.h:222
#define ESCRIPT_DLL_API
Definition: escriptcore/src/system_dep.h:64
ElementType & reference
Definition: DataVector.h:61
ElementType value_type
Definition: DataVector.h:59
long size_type
Definition: DataVector.h:60
Definition: WrappedArray.h:29
ValueType m_array_data
Definition: DataVector.h:201