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