OpenTTD Source 20250312-master-gcdcc6b491d
Pool< Titem, Tindex, Tgrowth_step, Tpool_type, Tcache >::IterateWrapper< T > Struct Template Reference

Public Member Functions

 IterateWrapper (size_t from=0)
 
PoolIterator< T > begin ()
 
PoolIterator< T > end ()
 
bool empty ()
 

Data Fields

size_t from
 

Detailed Description

template<class Titem, typename Tindex, size_t Tgrowth_step, PoolType Tpool_type = PoolType::Normal, bool Tcache = false>
template<class T>
struct Pool< Titem, Tindex, Tgrowth_step, Tpool_type, Tcache >::IterateWrapper< T >

Definition at line 227 of file pool_type.hpp.

Constructor & Destructor Documentation

◆ IterateWrapper()

template<class Titem , typename Tindex , size_t Tgrowth_step, PoolType Tpool_type = PoolType::Normal, bool Tcache = false>
template<class T >
Pool< Titem, Tindex, Tgrowth_step, Tpool_type, Tcache >::IterateWrapper< T >::IterateWrapper ( size_t  from = 0)
inline

Definition at line 229 of file pool_type.hpp.

Member Function Documentation

◆ begin()

template<class Titem , typename Tindex , size_t Tgrowth_step, PoolType Tpool_type = PoolType::Normal, bool Tcache = false>
template<class T >
PoolIterator< T > Pool< Titem, Tindex, Tgrowth_step, Tpool_type, Tcache >::IterateWrapper< T >::begin ( )
inline

Definition at line 230 of file pool_type.hpp.

◆ empty()

template<class Titem , typename Tindex , size_t Tgrowth_step, PoolType Tpool_type = PoolType::Normal, bool Tcache = false>
template<class T >
bool Pool< Titem, Tindex, Tgrowth_step, Tpool_type, Tcache >::IterateWrapper< T >::empty ( )
inline

Definition at line 232 of file pool_type.hpp.

◆ end()

template<class Titem , typename Tindex , size_t Tgrowth_step, PoolType Tpool_type = PoolType::Normal, bool Tcache = false>
template<class T >
PoolIterator< T > Pool< Titem, Tindex, Tgrowth_step, Tpool_type, Tcache >::IterateWrapper< T >::end ( )
inline

Definition at line 231 of file pool_type.hpp.

Field Documentation

◆ from

template<class Titem , typename Tindex , size_t Tgrowth_step, PoolType Tpool_type = PoolType::Normal, bool Tcache = false>
template<class T >
size_t Pool< Titem, Tindex, Tgrowth_step, Tpool_type, Tcache >::IterateWrapper< T >::from

Definition at line 228 of file pool_type.hpp.


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