sead
Loading...
Searching...
No Matches
agl::ResArray< Type >::iterator Class Reference

#include <aglResCommon.h>

Public Member Functions

 iterator (s32 index, ElemDataType *elem)
iteratoroperator++ ()
ElemDataTypeoperator* () const
ElemDataTypeoperator-> () const
s32 getIndex () const

Private Attributes

s32 mIndex
ElemDataTypemElem

Friends

bool operator== (const iterator &lhs, const iterator &rhs)
bool operator!= (const iterator &lhs, const iterator &rhs)

Constructor & Destructor Documentation

◆ iterator()

template<typename Type>
agl::ResArray< Type >::iterator::iterator ( s32 index,
ElemDataType * elem )
inline

Member Function Documentation

◆ operator++()

template<typename Type>
iterator & agl::ResArray< Type >::iterator::operator++ ( )
inline

◆ operator*()

template<typename Type>
ElemDataType & agl::ResArray< Type >::iterator::operator* ( ) const
inline

◆ operator->()

template<typename Type>
ElemDataType * agl::ResArray< Type >::iterator::operator-> ( ) const
inline

◆ getIndex()

template<typename Type>
s32 agl::ResArray< Type >::iterator::getIndex ( ) const
inline

◆ operator==

template<typename Type>
bool operator== ( const iterator & lhs,
const iterator & rhs )
friend

◆ operator!=

template<typename Type>
bool operator!= ( const iterator & lhs,
const iterator & rhs )
friend

Member Data Documentation

◆ mIndex

template<typename Type>
s32 agl::ResArray< Type >::iterator::mIndex
private

◆ mElem

template<typename Type>
ElemDataType* agl::ResArray< Type >::iterator::mElem
private