OpenTTD Source 20241224-master-gf74b0cf984
Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::IterateWrapperFiltered< T, F > Struct Template Reference

Public Member Functions

 IterateWrapperFiltered (size_t from, F filter)
 
PoolIteratorFiltered< T, F > begin ()
 
PoolIteratorFiltered< T, F > end ()
 
bool empty ()
 

Data Fields

size_t from
 
filter
 

Detailed Description

template<class Titem, typename Tindex, size_t Tgrowth_step, size_t Tmax_size, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true>
template<class T, class F>
struct Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::IterateWrapperFiltered< T, F >

Definition at line 223 of file pool_type.hpp.

Constructor & Destructor Documentation

◆ IterateWrapperFiltered()

template<class Titem , typename Tindex , size_t Tgrowth_step, size_t Tmax_size, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true>
template<class T , class F >
Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::IterateWrapperFiltered< T, F >::IterateWrapperFiltered ( size_t  from,
filter 
)
inline

Definition at line 226 of file pool_type.hpp.

Member Function Documentation

◆ begin()

template<class Titem , typename Tindex , size_t Tgrowth_step, size_t Tmax_size, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true>
template<class T , class F >
PoolIteratorFiltered< T, F > Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::IterateWrapperFiltered< T, F >::begin ( )
inline

Definition at line 227 of file pool_type.hpp.

◆ empty()

template<class Titem , typename Tindex , size_t Tgrowth_step, size_t Tmax_size, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true>
template<class T , class F >
bool Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::IterateWrapperFiltered< T, F >::empty ( )
inline

Definition at line 229 of file pool_type.hpp.

◆ end()

template<class Titem , typename Tindex , size_t Tgrowth_step, size_t Tmax_size, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true>
template<class T , class F >
PoolIteratorFiltered< T, F > Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::IterateWrapperFiltered< T, F >::end ( )
inline

Definition at line 228 of file pool_type.hpp.

Field Documentation

◆ filter

template<class Titem , typename Tindex , size_t Tgrowth_step, size_t Tmax_size, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true>
template<class T , class F >
F Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::IterateWrapperFiltered< T, F >::filter

Definition at line 225 of file pool_type.hpp.

◆ from

template<class Titem , typename Tindex , size_t Tgrowth_step, size_t Tmax_size, PoolType Tpool_type = PT_NORMAL, bool Tcache = false, bool Tzero = true>
template<class T , class F >
size_t Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::IterateWrapperFiltered< T, F >::from

Definition at line 224 of file pool_type.hpp.


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