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_); }
130 if (current_ != end_) {
Forward iterator for a PArray.
const Data * get() const
Return a pointer to const current data.
void setEnd(Data **ptr)
Set the value of the end pointer.
ConstPArrayIterator< Data > & operator++()
Increment the current pointer.
ConstPArrayIterator()
Default constructor.
void setCurrent(Data **ptr)
Set the current pointer value.
bool notEnd() const
Is the current pointer not at the end of the array?
void setNull()
Nullify the iterator.
const Data * operator->() const
Provide a pointer to the current Data object.
bool isEnd() const
Is the current pointer at the end of the array.
const Data & operator*() const
Return a const refererence to the current Data.
Utility classes for scientific computation.