Public Member Functions | Private Attributes

AirportTileIterator Class Reference

Iterator to iterate over all tiles belonging to an airport. More...

#include <station_base.h>

Inheritance diagram for AirportTileIterator:
OrthogonalTileIterator TileIterator

Public Member Functions

 AirportTileIterator (const Station *st)
 Construct the iterator.
TileIteratoroperator++ ()
 Move ourselves to the next tile in the rectange on the map.
virtual TileIteratorClone () const
 Allocate a new iterator that is a copy of this one.

Private Attributes

const Stationst
 The station the airport is a part of.

Detailed Description

Iterator to iterate over all tiles belonging to an airport.

Definition at line 269 of file station_base.h.


Constructor & Destructor Documentation

AirportTileIterator::AirportTileIterator ( const Station st  )  [inline]

Construct the iterator.

Parameters:
ta Area, i.e. begin point and width/height of to-be-iterated area.

Definition at line 278 of file station_base.h.

Referenced by Clone().


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