OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4GUI::Container::ReverseIterator Class Reference

#include <C4Gui.h>

Public Member Functions

 ReverseIterator (Element *element=nullptr)
 
Elementoperator* () const
 
Elementoperator-> () const
 
void operator++ ()
 
void operator++ (int)
 
bool operator== (const ReverseIterator &other) const
 
bool operator!= (const ReverseIterator &other) const
 

Detailed Description

Definition at line 800 of file C4Gui.h.

Constructor & Destructor Documentation

C4GUI::Container::ReverseIterator::ReverseIterator ( Element element = nullptr)
inline

Definition at line 805 of file C4Gui.h.

805 : current(element) { }

Member Function Documentation

bool C4GUI::Container::ReverseIterator::operator!= ( const ReverseIterator other) const
inline

Definition at line 817 of file C4Gui.h.

818  {
819  return !(*this == other);
820  }
Element* C4GUI::Container::ReverseIterator::operator* ( ) const
inline

Definition at line 807 of file C4Gui.h.

807 { return current; }
void C4GUI::Container::ReverseIterator::operator++ ( )
inline

Definition at line 809 of file C4Gui.h.

References C4GUI::Element::GetPrev().

809 { current = current->GetPrev(); };
Element * GetPrev() const
Definition: C4Gui.h:450

Here is the call graph for this function:

void C4GUI::Container::ReverseIterator::operator++ ( int  )
inline

Definition at line 810 of file C4Gui.h.

References operator++().

Referenced by operator++().

810 { operator++(); }

Here is the call graph for this function:

Here is the caller graph for this function:

Element* C4GUI::Container::ReverseIterator::operator-> ( ) const
inline

Definition at line 808 of file C4Gui.h.

808 { return current; }
bool C4GUI::Container::ReverseIterator::operator== ( const ReverseIterator other) const
inline

Definition at line 812 of file C4Gui.h.

813  {
814  return (current == other.current);
815  }

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