Object-oriented Scientific Computing Library: Version 0.910
Public Member Functions | Protected Member Functions | Protected Attributes | Friends
ovector_const_view_tlate< data_t, vparent_t, block_t >::const_iterator Class Reference

A const iterator for ovectors. More...

#include <ovector_tlate.h>

Inheritance diagram for ovector_const_view_tlate< data_t, vparent_t, block_t >::const_iterator:
ovector_const_view_tlate< data_t, vparent_t, block_t >::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)
 Copy-constructor for a const iterator.
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.

Friends

class ovector_const_view_tlate< data_t, vparent_t, block_t >
 Grant access to ovector classes for begin() and end() functions.
class ovector_base_tlate< data_t, vparent_t, block_t >
 Grant access to ovector classes for begin() and end() functions.

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.