#include <fwd_iter1d.hh>
Inheritance diagram for oln::fwd_iter1d< Exact >:
Public Types | |
typedef mlc::exact_vt< fwd_iter1d< Exact >, Exact >::ret | exact_type |
The exact type. | |
typedef abstract::iter1d< exact_type > | super_type |
The super type. | |
typedef abstract::iter< exact_type > | super_iter_type |
The super iterator type. | |
typedef iter_traits< exact_type >::point_type | point_type |
The associate image's type of point. | |
enum | { dim = iter_traits<exact_type>::dim } |
Public Member Functions | |
template<class Image> | fwd_iter1d (const Image &ima) |
Construct a forward iterator (1 dimension).
| |
template<class U> U | operator= (U u) |
Set current iterator's point. | |
Static Public Member Functions | |
std::string | name () |
Return the name of the type. | |
Protected Member Functions | |
void | goto_begin_ () |
Set current point to the first iterator's point. | |
void | goto_end_ () |
Set current point to the last iterator's point. | |
bool | is_at_end_ () const |
Test if iterator's current point is the last one. | |
void | goto_next_ () |
Go to the next iterator's point. | |
Friends | |
class | abstract::iter< exact_type > |
class | abstract::iter1d< exact_type > |
Allow iterable object (like image, window, ...) of 1 dimension forward traversing.
Definition at line 55 of file fwd_iter1d.hh.
|
The associate image's type of point.
Reimplemented from oln::abstract::iter< Exact >. Definition at line 74 of file fwd_iter1d.hh. |
|
Set current point to the first iterator's point. Set current point of iterator to the first iterator's point. Definition at line 115 of file fwd_iter1d.hh.
00116 { 00117 this->p_.col() = 0; 00118 } |
|
Set current point to the last iterator's point. Set current point of iterator to the last iterator's point. Definition at line 126 of file fwd_iter1d.hh.
|
|
Test if iterator's current point is the last one.
Definition at line 136 of file fwd_iter1d.hh.
|
|
Set current iterator's point. Set current point of iterator to the first iterator's point. Definition at line 95 of file fwd_iter1d.hh.
00096 {
00097 return super_iter_type::operator=(u);
00098 }
|