tbx
0.7.3
|
Iterator for menu items. More...
#include <resmenu.h>
Public Member Functions | |
iterator & | operator++ () |
Increment iterator. More... | |
iterator | operator++ (int) |
Increment iterator. More... | |
ResMenuItem | operator* () const |
Get the menu item this iterator refers to. More... | |
![]() | |
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 | ResMenu |
Additional Inherited Members | |
![]() | |
ResIteratorBase (const ResMenu *object, int offset) | |
Construct from an object and initial offset. More... | |
![]() | |
const ResMenu * | _object |
Reference to object being iterated. | |
int | _offset |
Offset of current item being iterated. | |
Iterator for menu items.
Note: You can not use *iterator=value as the iterator returns a copy of the item in the Menu not the item itself.
|
inline |
Get the menu item this iterator refers to.
|
inline |
Increment iterator.
|
inline |
Increment iterator.