tbx  0.7.3
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ResIteratorBase< T > Class Template Reference

Base class for Resource component iterators. More...

#include <resiteratorbase.h>

Public Member Functions

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...
 

Protected Member Functions

 ResIteratorBase (const T *object, int offset)
 Construct from an object and initial offset. More...
 

Protected Attributes

const T * _object
 Reference to object being iterated.
 
int _offset
 Offset of current item being iterated.
 

Detailed Description

template<class T>
class ResIteratorBase< T >

Base class for Resource component iterators.

Constructor & Destructor Documentation

template<class T>
ResIteratorBase< T >::ResIteratorBase ( const T *  object,
int  offset 
)
inlineprotected

Construct from an object and initial offset.

Parameters
objectobject being iterated
offsetoffset within object

Member Function Documentation

template<class T>
bool ResIteratorBase< T >::operator!= ( const ResIteratorBase< T > &  other) const
inline

Check if this ResIteratorBase is not the same as another.

Parameters
otherResIteratorBase to check
Returns
true if they are not the same
template<class T>
bool ResIteratorBase< T >::operator== ( const ResIteratorBase< T > &  other) const
inline

Check if this ResIteratorBase is the same as another.

Parameters
otherResIteratorBase to check
Returns
true if they are the same

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