ovector_const_view_tlate::const_iterator Class Reference

A const iterator for ovectors. More...

#include <ovector_tlate.h>

Inheritance diagram for ovector_const_view_tlate::const_iterator:

ovector_const_view_tlate::iterator

Detailed Description

template<class data_t, class vparent_t, class block_t>
class ovector_const_view_tlate< data_t, vparent_t, block_t >::const_iterator

Note:
Experimental.
Todo:
Default constructor and iterator typedefs

Definition at line 123 of file ovector_tlate.h.


Public Member Functions

 const_iterator (const iterator &it)
 Desc.
bool operator== (const const_iterator &it) const
 Equality.
bool operator!= (const const_iterator &it) const
 Inequality.
bool operator!= (const iterator &it) const
 Inequality.
bool operator< (const const_iterator &it) const
 Less than.
bool operator> (const const_iterator &it) const
 Greater than.
const_iterator operator++ ()
 Prefix increment.
const_iterator operator-- ()
 Prefix decrement.
const_iterator operator++ (int)
 Postfix increment.
const_iterator operator-- (int)
 Postfix decrement.
const data_t operator* () const
 Dereference - return the corresponding vector element.
const_iterator operator+= (size_t n)
 Move forward.
const_iterator operator-= (size_t n)
 Move backwards.

Protected Member Functions

 const_iterator (data_t *p, size_t s)
 Internally create an iterator directly from a pointer.

Protected Attributes

data_t * dp
 Pointer to current.
size_t stride
 Stride.

The documentation for this class was generated from the following file:

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page