Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEUndoList::RedoIterator Class Reference

redo iterator More...

#include <GNEUndoList.h>

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

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
Iteratoroperator++ (int)
 increment operator
 RedoIterator (const GNEUndoList *undoList)
 constructor for GNEUndoList

Private Attributes

GNEChangemyCurrentChange
 current change
int myIndex
 counter

Detailed Description

redo iterator

Definition at line 96 of file GNEUndoList.h.

Constructor & Destructor Documentation

◆ RedoIterator()

GNEUndoList::RedoIterator::RedoIterator ( const GNEUndoList * undoList)

Member Function Documentation

◆ end()

bool GNEUndoList::Iterator::end ( ) const
inherited

check if iterator is at the end

Definition at line 61 of file GNEUndoList.cpp.

References myCurrentChange.

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

Here is the caller graph for this function:

◆ getDescription()

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

get description

Definition at line 73 of file GNEUndoList.cpp.

References myCurrentChange, and GNEUndoList::redoName().

Referenced by GNEUndoListDialog::updateList().

Here is the caller graph for this function:

◆ getIcon()

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

get icon

Definition at line 86 of file GNEUndoList.cpp.

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

Referenced by GNEUndoListDialog::updateList().

Here is the caller graph for this function:

◆ getIndex()

int GNEUndoList::Iterator::getIndex ( ) const
inherited

get index

Definition at line 67 of file GNEUndoList.cpp.

References myIndex.

◆ getTimeStamp()

const std::string GNEUndoList::Iterator::getTimeStamp ( ) const
inherited

get timeStamp

Definition at line 80 of file GNEUndoList.cpp.

References GNEChangeGroup::getTimeStamp(), GNEChangeGroup::GNEChangeGroup(), and myCurrentChange.

Referenced by GNEUndoListDialog::updateList().

Here is the caller graph for this function:

◆ operator++()

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

increment operator

Definition at line 97 of file GNEUndoList.cpp.

References myCurrentChange, and myIndex.

Field Documentation

◆ myCurrentChange

GNEChange* GNEUndoList::Iterator::myCurrentChange
privateinherited

current change

Definition at line 81 of file GNEUndoList.h.

Referenced by end(), getDescription(), getIcon(), getTimeStamp(), Iterator(), Iterator(), and operator++().

◆ myIndex

int GNEUndoList::Iterator::myIndex
privateinherited

counter

Definition at line 84 of file GNEUndoList.h.

Referenced by getIndex(), Iterator(), Iterator(), and operator++().


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