tbx  0.7.3
Public Member Functions | Friends | List of all members
tbx::res::ResMenu::const_iterator Class Reference

Constant iterator for menu items. More...

#include <resmenu.h>

Inheritance diagram for tbx::res::ResMenu::const_iterator:
ResIteratorBase< ResMenu >

Public Member Functions

const_iteratoroperator++ ()
 Increment constant iterator. More...
 
const_iterator operator++ (int)
 Increment constant iterator. More...
 
ResMenuItem operator* () const
 Get the menu item this constant iterator refers to. More...
 
- Public Member Functions inherited from ResIteratorBase< ResMenu >
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

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

Detailed Description

Constant iterator for menu items.

Member Function Documentation

ResMenuItem tbx::res::ResMenu::const_iterator::operator* ( ) const
inline

Get the menu item this constant iterator refers to.

Returns
menu item resource
const_iterator& tbx::res::ResMenu::const_iterator::operator++ ( )
inline

Increment constant iterator.

Returns
constant iterator after increment
const_iterator tbx::res::ResMenu::const_iterator::operator++ ( int  )
inline

Increment constant iterator.

Returns
constant iterator before increment

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