tbx  0.7.5
Public Member Functions | Friends | List of all members
tbx::res::ResWindow::const_shortcut_iterator Class Reference

Constant iterator for shortcuts. More...

#include <reswindow.h>

Inheritance diagram for tbx::res::ResWindow::const_shortcut_iterator:
ResIteratorBase< ResWindow >

Public Member Functions

const_shortcut_iteratoroperator++ ()
 Increment to the next shortcut. More...
 
const_shortcut_iterator operator++ (int)
 Increment to the next shortcut. More...
 
ResShortcut operator* () const
 Get the shortcut pointed to by this iterator. More...
 
- Public Member Functions inherited from ResIteratorBase< ResWindow >
bool operator== (const ResIteratorBase &other) const
 Check if this ResIteratorBase is the same as another. More...
 
bool operator!= (const ResIteratorBase &other) const
 Check if this ResIteratorBase is not the same as another. More...
 

Friends

class ResWindow
 

Additional Inherited Members

- Protected Member Functions inherited from ResIteratorBase< ResWindow >
 ResIteratorBase (const ResWindow *object, int offset)
 Construct from an object and initial offset. More...
 
- Protected Attributes inherited from ResIteratorBase< ResWindow >
const ResWindow * _object
 Reference to object being iterated.
 
int _offset
 Offset of current item being iterated.
 

Detailed Description

Constant iterator for shortcuts.

Member Function Documentation

◆ operator*()

ResShortcut tbx::res::ResWindow::const_shortcut_iterator::operator* ( ) const
inline

Get the shortcut pointed to by this iterator.

Returns
ResShortcut pointed to

◆ operator++() [1/2]

const_shortcut_iterator& tbx::res::ResWindow::const_shortcut_iterator::operator++ ( )
inline

Increment to the next shortcut.

Returns
incremented iterator

◆ operator++() [2/2]

const_shortcut_iterator tbx::res::ResWindow::const_shortcut_iterator::operator++ ( int  )
inline

Increment to the next shortcut.

Returns
iterator before increment

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