Tramway SDK
Public Member Functions | Public Attributes | Friends | List of all members
tram::Pool< T >::iterator Struct Reference

#include <pool.h>

Public Member Functions

 iterator (T *ptr)
 
T & operator* () const
 
T * operator-> ()
 
iteratoroperator++ ()
 
iterator operator++ (int)
 

Public Attributes

T * ptr
 

Friends

bool operator== (const iterator &a, const iterator &b)
 
bool operator!= (const iterator &a, const iterator &b)
 

Constructor & Destructor Documentation

◆ iterator()

template<typename T >
tram::Pool< T >::iterator::iterator ( T *  ptr)
inline

Member Function Documentation

◆ operator*()

template<typename T >
T & tram::Pool< T >::iterator::operator* ( ) const
inline

◆ operator++() [1/2]

template<typename T >
iterator & tram::Pool< T >::iterator::operator++ ( )
inline

◆ operator++() [2/2]

template<typename T >
iterator tram::Pool< T >::iterator::operator++ ( int  )
inline

◆ operator->()

template<typename T >
T * tram::Pool< T >::iterator::operator-> ( )
inline

Friends And Related Function Documentation

◆ operator!=

template<typename T >
bool operator!= ( const iterator a,
const iterator b 
)
friend

◆ operator==

template<typename T >
bool operator== ( const iterator a,
const iterator b 
)
friend

Member Data Documentation

◆ ptr

template<typename T >
T* tram::Pool< T >::iterator::ptr

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