1 #ifndef UTIL_P_ARRAY_ITERATOR_H 2 #define UTIL_P_ARRAY_ITERATOR_H 33 template <
typename Data>
85 {
return (current_ == end_); }
93 {
return (current_ != end_); }
137 if (current_ != end_) {
bool isEnd() const
Is the current pointer at the end of the PArray?
Data & operator*() const
Return a reference to the current Data.
PArrayIterator< Data > & operator++()
Increment the current pointer.
void setEnd(Data **ptr)
Set the value of the end pointer.
bool notEnd() const
Is the current pointer not at the end of the PArray?
Utility classes for scientific computation.
Data * operator->() const
Provide a pointer to the current Data object.
Forward iterator for a PArray.
void setNull()
Nullify the iterator.
PArrayIterator()
Default constructor.
void setCurrent(Data **ptr)
Set the current pointer value.