openModeller  Version 1.5.0
MapIterator Class Reference

#include <MapIterator.hh>

Collaboration diagram for MapIterator:
Collaboration graph

Public Member Functions

 MapIterator ()
 
 MapIterator (const Header &h, GeoTransform *gt)
 
std::pair< Coord, Coordoperator* () const
 
MapIteratoroperator++ ()
 
MapIteratoroperator-- ()
 
MapIterator operator++ (int)
 
MapIterator operator-- (int)
 

Private Member Functions

bool isPastBounds () const
 

Private Attributes

bool isTerminal
 
GeoTransformgt
 
Header h
 
int xcur
 
int ycur
 

Friends

dllexp bool operator== (const MapIterator &, const MapIterator &)
 
dllexp bool operator!= (const MapIterator &, const MapIterator &)
 

Detailed Description

Definition at line 40 of file MapIterator.hh.

Constructor & Destructor Documentation

MapIterator::MapIterator ( )

Definition at line 36 of file MapIterator.cpp.

MapIterator::MapIterator ( const Header h,
GeoTransform gt 
)

Definition at line 40 of file MapIterator.cpp.

Member Function Documentation

bool MapIterator::isPastBounds ( ) const
private

Definition at line 91 of file MapIterator.cpp.

References h, xcur, Header::xdim, ycur, and Header::ydim.

Referenced by operator==().

pair< Coord, Coord > MapIterator::operator* ( ) const

Definition at line 49 of file MapIterator.cpp.

References Header::convertXY2LonLat(), gt, h, GeoTransform::transfOut(), xcur, and ycur.

Here is the call graph for this function:

MapIterator & MapIterator::operator++ ( )

Definition at line 56 of file MapIterator.cpp.

References h, xcur, Header::xdim, and ycur.

Referenced by operator++().

MapIterator MapIterator::operator++ ( int  )

Definition at line 76 of file MapIterator.cpp.

References operator++().

Here is the call graph for this function:

MapIterator & MapIterator::operator-- ( )

Definition at line 66 of file MapIterator.cpp.

References h, xcur, Header::xdim, and ycur.

Referenced by operator--().

MapIterator MapIterator::operator-- ( int  )

Definition at line 83 of file MapIterator.cpp.

References operator--().

Here is the call graph for this function:

Friends And Related Function Documentation

dllexp bool operator!= ( const MapIterator lhs,
const MapIterator rhs 
)
friend

Definition at line 124 of file MapIterator.cpp.

dllexp bool operator== ( const MapIterator lhs,
const MapIterator rhs 
)
friend

Definition at line 109 of file MapIterator.cpp.

Member Data Documentation

GeoTransform* MapIterator::gt
private

Definition at line 82 of file MapIterator.hh.

Referenced by operator*().

Header MapIterator::h
private

Definition at line 83 of file MapIterator.hh.

Referenced by isPastBounds(), operator*(), operator++(), and operator--().

bool MapIterator::isTerminal
private

Definition at line 80 of file MapIterator.hh.

Referenced by operator==().

int MapIterator::xcur
private

Definition at line 84 of file MapIterator.hh.

Referenced by isPastBounds(), operator*(), operator++(), operator--(), and operator==().

int MapIterator::ycur
private

Definition at line 85 of file MapIterator.hh.

Referenced by isPastBounds(), operator*(), operator++(), operator--(), and operator==().


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