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

Constant iterator for gadgets in the window resource. More...

#include <reswindow.h>

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

Public Member Functions

const_gadget_iteratoroperator++ ()
 Increment to the next gadget. More...
 
const_gadget_iterator operator++ (int)
 Increment to the next gadget. More...
 
ResGadget operator* () const
 Get the gadget 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 gadgets in the window resource.

Member Function Documentation

◆ operator*()

ResGadget tbx::res::ResWindow::const_gadget_iterator::operator* ( ) const
inline

Get the gadget pointed to by this iterator.

Returns
ResGadget pointed to

◆ operator++() [1/2]

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

Increment to the next gadget.

Returns
incremented iterator

◆ operator++() [2/2]

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

Increment to the next gadget.

Returns
iterator before increment

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