28 #ifndef CASA_VECTORSTLITERATOR_H 29 #define CASA_VECTORSTLITERATOR_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/casa/Arrays/Vector.h> 67 :
public std::iterator<std::random_access_iterator_tag, T> {
83 :
start_p(const_cast<T*>(c.data())),
85 iter_p (const_cast<T*>(c.data()))
97 :
std::iterator<
std::random_access_iterator_tag, T>(that),
iterator operator-(difference_type i) const
A 1-D Specialization of the Array class.
iterator & operator-=(difference_type i)
Bool operator<(const iterator &other) const
pointer iter_p
Current element pointer.
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)
Define real & complex conjugation for non-complex types and put comparisons into std namespace...
VectorSTLIterator(const typename Array< T >::IteratorSTL &c)
ptrdiff_t difference_type
Bool operator!=(const iterator other) const
difference_type operator-(const VectorSTLIterator< T > &x) const
Size related.
iterator operator+(difference_type i) const
~VectorSTLIterator()
Destructor.
const value_type * const_pointer
Casacore Vector iterator.
const_reference operator[](uInt i) const
bool Bool
Define the standard types used by Casacore.
VectorSTLIterator< T > iterator
const_reference operator*() const
VectorSTLIterator(const Vector< T > &c)
Constructors.
iterator & operator+=(difference_type i)
const value_type & const_reference
Bool operator==(const iterator &other) const
Comparisons.
const Double c
Fundamental physical constants (SI units):
const iterator & operator++()
Manipulation.
difference_type step_p
Distance between elements.
VectorSTLIterator< T > & operator=(const VectorSTLIterator< T > &that)
Assignment.
const VectorSTLIterator< T > const_iterator
this file contains all the compiler specific defines
VectorSTLIterator(const VectorSTLIterator< T > &that)
Copy constructor.