28 #ifndef CASA_VECTORSTLITERATOR_H
29 #define CASA_VECTORSTLITERATOR_H
67 :
public std::iterator<std::random_access_iterator_tag, T> {
84 step_p (std::
max(ssize_t(1), c.steps()(0))),
91 step_p (std::
max(ssize_t(1), c.steps()(0))),
97 : std::
iterator<std::random_access_iterator_tag, T>(that),
A 1-D Specialization of the Array class.
iterator & operator-=(difference_type i)
pointer iter_p
Current element pointer.
iterator operator+(difference_type i) const
reference operator[](uInt i)
Access.
pointer const start_p
Start (for random indexing)
LatticeExprNode max(const LatticeExprNode &left, const LatticeExprNode &right)
PtrHolder< T > & operator=(const PtrHolder< T > &other)
VectorSTLIterator(const typename Array< T >::IteratorSTL &c)
Bool operator<(const iterator &other) const
ptrdiff_t difference_type
~VectorSTLIterator()
Destructor.
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
const_reference operator*() const
const value_type * const_pointer
iterator operator-(difference_type i) const
Bool operator==(const iterator &other) const
Comparisons.
Casacore Vector iterator.
bool Bool
Define the standard types used by Casacore.
difference_type operator-(const VectorSTLIterator< T > &x) const
Size related.
VectorSTLIterator< T > iterator
VectorSTLIterator(const Vector< T > &c)
Constructors.
iterator & operator+=(difference_type i)
const value_type & const_reference
const_reference operator[](uInt i) const
const Double c
Fundamental physical constants (SI units):
const iterator & operator++()
Manipulation.
difference_type step_p
Distance between elements.
Bool operator!=(const iterator other) const
VectorSTLIterator< T > & operator=(const VectorSTLIterator< T > &that)
Assignment.
const VectorSTLIterator< T > const_iterator
VectorSTLIterator(const VectorSTLIterator< T > &that)
Copy constructor.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.