tbx  0.7.6
Public Member Functions | Friends | List of all members
tbx::res::ResFile::const_iterator Class Reference

Constant iterator of objects in this resource file. More...

#include <resfile.h>

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

Public Member Functions

const_iteratoroperator++ ()
 Increment iterator. More...
 
const_iterator operator++ (int)
 Increment iterator. More...
 
ResObject operator* () const
 Get object reference by iterator. More...
 
- Public Member Functions inherited from tbx::res::ResIteratorBase< ResFile >
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 ResFile
 

Additional Inherited Members

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

Detailed Description

Constant iterator of objects in this resource file.

Member Function Documentation

◆ operator*()

ResObject tbx::res::ResFile::const_iterator::operator* ( ) const
inline

Get object reference by iterator.

Returns
ResObject referenced

◆ operator++() [1/2]

const_iterator& tbx::res::ResFile::const_iterator::operator++ ( )
inline

Increment iterator.

Returns
incremented iterator

◆ operator++() [2/2]

const_iterator tbx::res::ResFile::const_iterator::operator++ ( int  )
inline

Increment iterator.

Returns
iterator before increment

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