Sly Engine
TRAIterator Class Reference

#include <TRAIterator.h>

Collaboration diagram for TRAIterator:
Collaboration graph

Public Member Functions

 TRAIterator ()=default
 Default constructor. More...
 
 TRAIterator (const TRAIterator &otherIterator)
 Copy constructor. More...
 
 TRAIterator (TRAIterator &&)=delete
 Move constructor. More...
 
TRAIteratoroperator= (const TRAIterator &)
 Assignment operator. More...
 
TRAIteratoroperator= (TRAIterator &&)=default
 Move assignment operator. More...
 
 ~TRAIterator ()
 Deconstructor. More...
 
 TRAIterator (TerrainRectangleArea *range)
 
 TRAIterator (TerrainRectangleArea *range, int i, int j)
 
TRAIteratoroperator++ ()
 
bool operator!= (TRAIterator &otherIterator)
 
bool operator== (TRAIterator &otherIterator)
 
bool operator!= (const TRAIterator &otherIterator)
 
bool operator== (const TRAIterator &otherIterator)
 
TerrainCelloperator-> ()
 
TerrainCelloperator* ()
 

Private Member Functions

const TerrainCellgetCell () const
 Gets the cell. More...
 

Private Attributes

TerrainRectangleAreacallback
 
TerrainCell cell
 

Constructor & Destructor Documentation

◆ TRAIterator() [1/5]

TRAIterator::TRAIterator ( )
default

Default constructor.

◆ TRAIterator() [2/5]

TRAIterator::TRAIterator ( const TRAIterator otherIterator)

Copy constructor.

Here is the call graph for this function:

◆ TRAIterator() [3/5]

TRAIterator::TRAIterator ( TRAIterator &&  )
delete

Move constructor.

◆ ~TRAIterator()

TRAIterator::~TRAIterator ( )

Deconstructor.

◆ TRAIterator() [4/5]

TRAIterator::TRAIterator ( TerrainRectangleArea range)
Here is the call graph for this function:

◆ TRAIterator() [5/5]

TRAIterator::TRAIterator ( TerrainRectangleArea range,
int  i,
int  j 
)
Here is the call graph for this function:

Member Function Documentation

◆ getCell()

const TerrainCell & TRAIterator::getCell ( ) const
private

Gets the cell.

Returns
The cell.
Here is the caller graph for this function:

◆ operator!=() [1/2]

bool TRAIterator::operator!= ( const TRAIterator otherIterator)
Here is the call graph for this function:

◆ operator!=() [2/2]

bool TRAIterator::operator!= ( TRAIterator otherIterator)
Here is the call graph for this function:

◆ operator*()

TerrainCell & TRAIterator::operator* ( )

◆ operator++()

TRAIterator & TRAIterator::operator++ ( )
Here is the call graph for this function:

◆ operator->()

TerrainCell * TRAIterator::operator-> ( )

◆ operator=() [1/2]

TRAIterator & TRAIterator::operator= ( const TRAIterator otherIterator)

Assignment operator.

Here is the call graph for this function:

◆ operator=() [2/2]

TRAIterator& TRAIterator::operator= ( TRAIterator &&  )
default

Move assignment operator.

◆ operator==() [1/2]

bool TRAIterator::operator== ( const TRAIterator otherIterator)
Here is the call graph for this function:

◆ operator==() [2/2]

bool TRAIterator::operator== ( TRAIterator otherIterator)
Here is the call graph for this function:

Member Data Documentation

◆ callback

TerrainRectangleArea* TRAIterator::callback
private

◆ cell

TerrainCell TRAIterator::cell
private

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