11 #include <util/containers/ArrayIterator.h> 12 #include <util/containers/ConstArrayIterator.h> 32 template <
typename Data>
61 void begin(ArrayIterator<Data>& iterator);
68 void begin(ConstArrayIterator<Data>& iterator)
const;
98 const Data*
cArray()
const;
136 template <
typename Data>
145 template <
typename Data>
152 template <
typename Data>
159 template <
typename Data>
171 template <
typename Data>
183 template <
typename Data>
195 template <
typename Data>
207 template <
typename Data>
214 template <
typename Data>
Data * data_
Pointer to an array of Data elements.
void begin(ArrayIterator< Data > &iterator)
Set an iterator to begin this Array.
Data * cArray()
Return pointer to underlying C array.
int capacity_
Allocated size of the data_ array.
void setCurrent(Data *ptr)
Set the current pointer value.
Array container class template.
File containing preprocessor macros for error handling.
Forward const iterator for an Array or a C array.
void setEnd(Data *ptr)
Set the value of the end pointer.
Utility classes for scientific computation.
Forward iterator for an Array or a C array.
void setEnd(Data *ptr)
Set the value of the end pointer.
Data & operator[](int i)
Get an element by non-const reference.
void setCurrent(Data *ptr)
Set the current pointer value.
virtual ~Array()
Destructor.
Array()
Default constructor.
int capacity() const
Return allocated size.