11 #include <util/containers/PArrayIterator.h> 12 #include <util/containers/ConstPArrayIterator.h> 32 template <
typename Data>
112 template <
typename Data>
122 template <
typename Data>
129 template <
typename Data>
136 template <
typename Data>
145 template <
typename Data>
161 template <
typename Data>
178 template <
typename Data>
PArray()
Constructor (protected to prevent instantiation).
int capacity_
Allocated size of ptrs_ array.
void begin(PArrayIterator< Data > &iterator) const
Set a PArrayIterator to the beginning of this PArray.
int capacity() const
Return allocated size.
Forward iterator for a PArray.
File containing preprocessor macros for error handling.
void setCurrent(Data **ptr)
Set the current pointer value.
void setNull()
Nullify the iterator.
void setEnd(Data **ptr)
Set the value of the end pointer.
virtual ~PArray()
Destructor.
Utility classes for scientific computation.
int size_
Logical size (number of elements with initialized data).
Forward iterator for a PArray.
Data ** ptrs_
PArray of of pointers to Data objects.
void setNull()
Nullify the iterator.
void setEnd(Data **ptr)
Set the value of the end pointer.
int size() const
Return logical size.
Data & operator[](int i) const
Mimic C array subscripting.
An array that only holds pointers to its elements.
void setCurrent(Data **ptr)
Set the current pointer value.