Eclipse SUMO - Simulation of Urban MObility
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 More...
 
const std::string getDescription () const
 get description More...
 
FXIcon * getIcon () const
 get icon More...
 
int getIndex () const
 get index More...
 
const std::string getTimeStamp () const
 get timeStamp More...
 
Iteratoroperator++ (int)
 increment operator More...
 
 RedoIterator (const GNEUndoList *undoList)
 constructor for GNEUndoList More...
 

Private Attributes

GNEChangemyCurrentChange
 current change More...
 
int myIndex
 counter More...
 

Detailed Description

redo iterator

Definition at line 96 of file GNEUndoList.h.

Constructor & Destructor Documentation

◆ RedoIterator()

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

constructor for GNEUndoList

Definition at line 120 of file GNEUndoList.cpp.

Member Function Documentation

◆ end()

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

check if iterator is at the end

Definition at line 58 of file GNEUndoList.cpp.

References GNEUndoList::Iterator::myCurrentChange.

Referenced by GNEUndoListDialog::recalcList(), 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 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
inherited

get icon

Definition at line 83 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
inherited

get index

Definition at line 64 of file GNEUndoList.cpp.

◆ getTimeStamp()

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

get timeStamp

Definition at line 77 of file GNEUndoList.cpp.

References GNEChangeGroup::getTimeStamp().

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 94 of file GNEUndoList.cpp.

Field Documentation

◆ myCurrentChange

GNEChange* GNEUndoList::Iterator::myCurrentChange
privateinherited

current change

Definition at line 81 of file GNEUndoList.h.

Referenced by GNEUndoList::Iterator::end().

◆ myIndex

int GNEUndoList::Iterator::myIndex
privateinherited

counter

Definition at line 84 of file GNEUndoList.h.


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