Eclipse SUMO - Simulation of Urban MObility
GNEUndoList::Iterator Class Reference

FOX declaration. More...

#include <GNEUndoList.h>

Inheritance diagram for GNEUndoList::Iterator:
[legend]
Collaboration diagram for GNEUndoList::Iterator:
[legend]

Public Member Functions

bool end () const
 check if iterator is at the end More...
 
const std::string getDescription () const
 get description More...
 
FXIcon * getIcon () const
 get icon More...
 
int getIndex () const
 get index More...
 
Iterator & operator++ (int)
 increment operator More...
 
 ~Iterator ()
 destructor More...
 

Protected Member Functions

 Iterator (GNEChange *change)
 constructor for GNEUndoList More...
 

Private Member Functions

 Iterator ()
 default constructor More...
 

Private Attributes

GNEChange * myCurrentChange
 current change More...
 
int myIndex
 counter More...
 

Detailed Description

FOX declaration.

iterator

Definition at line 48 of file GNEUndoList.h.

Constructor & Destructor Documentation

◆ ~Iterator()

GNEUndoList::Iterator::~Iterator ( )

destructor

Definition at line 54 of file GNEUndoList.cpp.

◆ Iterator() [1/2]

GNEUndoList::Iterator::Iterator ( GNEChange *  change)
protected

constructor for GNEUndoList

Definition at line 101 of file GNEUndoList.cpp.

◆ Iterator() [2/2]

GNEUndoList::Iterator::Iterator ( )
private

default constructor

Definition at line 107 of file GNEUndoList.cpp.

Member Function Documentation

◆ end()

bool GNEUndoList::Iterator::end ( ) const

check if iterator is at the end

Definition at line 58 of file GNEUndoList.cpp.

References myCurrentChange.

Referenced by GNEUndoListDialog::recalcList(), and GNEUndoListDialog::updateList().

Here is the caller graph for this function:

◆ getDescription()

const std::string GNEUndoList::Iterator::getDescription ( ) const

get description

Definition at line 70 of file GNEUndoList.cpp.

References GNEUndoList::redoName().

Referenced by GNEUndoListDialog::updateList().

Here is the caller graph for this function:

◆ getIcon()

FXIcon * GNEUndoList::Iterator::getIcon ( ) const

get icon

Definition at line 81 of file GNEUndoList.cpp.

References GNEChangeGroup::getGroupIcon(), and GUIIconSubSys::getIcon().

Referenced by GNEUndoListDialog::updateList().

Here is the caller graph for this function:

◆ getIndex()

int GNEUndoList::Iterator::getIndex ( ) const

get index

Definition at line 64 of file GNEUndoList.cpp.

◆ operator++()

GNEUndoList::Iterator & GNEUndoList::Iterator::operator++ ( int  )

increment operator

Definition at line 92 of file GNEUndoList.cpp.

Field Documentation

◆ myCurrentChange

GNEChange* GNEUndoList::Iterator::myCurrentChange
private

current change

Definition at line 78 of file GNEUndoList.h.

Referenced by end().

◆ myIndex

int GNEUndoList::Iterator::myIndex
private

counter

Definition at line 81 of file GNEUndoList.h.


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