11#include <util/containers/ArrayIterator.h>
12#include <util/containers/ConstArrayIterator.h>
38 template <
typename Data>
44 Array<Data>& operator = (Array<Data>
const & other) =
delete;
45 Array(Array
const & other) =
delete;
102 Data
const *
cArray()
const;
127 template <
typename Data>
136 template <
typename Data>
143 template <
typename Data>
150 template <
typename Data>
162 template <
typename Data>
174 template <
typename Data>
186 template <
typename Data>
198 template <
typename Data>
205 template <
typename Data>
Forward iterator for an Array or a C array.
void setEnd(Data *ptr)
Set the value of the end pointer.
void setCurrent(Data *ptr)
Set the current pointer value.
Data * cArray()
Return a pointer to the underlying C array.
Data * data_
Pointer to an array of Data elements.
int capacity() const
Return allocated size.
void begin(ArrayIterator< Data > &iterator)
Set an iterator to begin this Array.
Data & operator[](int i)
Get an element by non-const reference.
~Array()
Destructor (protected to prevent direct destruction).
int capacity_
Allocated size of the data_ array.
Array()
Constructor (protected to provent direct instantiation).
Forward const iterator for an Array or a C array.
void setEnd(Data *ptr)
Set the value of the end pointer.
void setCurrent(Data *ptr)
Set the current pointer value.
File containing preprocessor macros for error handling.
Utility classes for scientific computation.