![]() |
Eclipse SUMO - Simulation of Urban MObility
|
FOX declaration. More...
#include <GNEUndoList.h>
Public Member Functions | |
| bool | end () const |
| check if iterator is at the end | |
| const std::string | getDescription () const |
| get description | |
| FXIcon * | getIcon () const |
| get icon | |
| int | getIndex () const |
| get index | |
| const std::string | getTimeStamp () const |
| get timeStamp | |
| Iterator & | operator++ (int) |
| increment operator | |
| ~Iterator () | |
| destructor | |
Protected Member Functions | |
| Iterator (GNEChange *change) | |
| constructor for GNEUndoList | |
Private Member Functions | |
| Iterator () | |
| default constructor | |
Private Attributes | |
| GNEChange * | myCurrentChange |
| current change | |
| int | myIndex |
| counter | |
| GNEUndoList::Iterator::~Iterator | ( | ) |
destructor
Definition at line 57 of file GNEUndoList.cpp.
References GNEUndoList::GNEUndoList(), and Iterator().
|
protected |
constructor for GNEUndoList
Definition at line 106 of file GNEUndoList.cpp.
References GNEChange::GNEChange(), myCurrentChange, and myIndex.
Referenced by GNEUndoList::RedoIterator::RedoIterator(), GNEUndoList::UndoIterator::UndoIterator(), and ~Iterator().
|
private |
default constructor
Definition at line 112 of file GNEUndoList.cpp.
References myCurrentChange, and myIndex.
| bool GNEUndoList::Iterator::end | ( | ) | const |
check if iterator is at the end
Definition at line 61 of file GNEUndoList.cpp.
References myCurrentChange.
Referenced by GNEUndoListDialog::GNEUndoListDialog(), and GNEUndoListDialog::updateList().
| const std::string GNEUndoList::Iterator::getDescription | ( | ) | const |
get description
Definition at line 73 of file GNEUndoList.cpp.
References myCurrentChange, and GNEUndoList::redoName().
Referenced by GNEUndoListDialog::updateList().
| FXIcon * GNEUndoList::Iterator::getIcon | ( | ) | const |
get icon
Definition at line 86 of file GNEUndoList.cpp.
References GNEChangeGroup::getGroupIcon(), GUIIconSubSys::getIcon(), GNEChangeGroup::GNEChangeGroup(), and myCurrentChange.
Referenced by GNEUndoListDialog::updateList().
| int GNEUndoList::Iterator::getIndex | ( | ) | const |
| const std::string GNEUndoList::Iterator::getTimeStamp | ( | ) | const |
get timeStamp
Definition at line 80 of file GNEUndoList.cpp.
References GNEChangeGroup::getTimeStamp(), GNEChangeGroup::GNEChangeGroup(), and myCurrentChange.
Referenced by GNEUndoListDialog::updateList().
| GNEUndoList::Iterator & GNEUndoList::Iterator::operator++ | ( | int | ) |
increment operator
Definition at line 97 of file GNEUndoList.cpp.
References myCurrentChange, and myIndex.
|
private |
current change
Definition at line 81 of file GNEUndoList.h.
Referenced by end(), getDescription(), getIcon(), getTimeStamp(), Iterator(), Iterator(), and operator++().
|
private |
counter
Definition at line 84 of file GNEUndoList.h.
Referenced by getIndex(), Iterator(), Iterator(), and operator++().