|
OpenTTD
|
Definition of Pool, structure used to access PoolItems, and PoolItem, base structure for Vehicle, Town, and other indexed items. More...
Go to the source code of this file.
Data Structures | |
| struct | PoolBase |
| Base class for base of all pools. More... | |
| struct | Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero > |
| Base class for all pools. More... | |
| struct | Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolIterator< T > |
| Iterator to iterate all valid T of a pool. More... | |
| struct | Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::IterateWrapper< T > |
| struct | Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem< Tpool > |
| Base class for all PoolItems. More... | |
| struct | Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::AllocCache |
| Helper struct to cache 'freed' PoolItems so we do not need to allocate them again. More... | |
Typedefs | |
| typedef std::vector< struct PoolBase * > | PoolVector |
| Vector of pointers to PoolBase. | |
Enumerations | |
| enum | PoolType { PT_NONE = 0x00, PT_NORMAL = 0x01, PT_NCLIENT = 0x02, PT_NADMIN = 0x04, PT_DATA = 0x08, PT_ALL = 0x0F } |
| Various types of a pool. More... | |
Definition of Pool, structure used to access PoolItems, and PoolItem, base structure for Vehicle, Town, and other indexed items.
Definition in file pool_type.hpp.
| enum PoolType |
Various types of a pool.
Definition at line 18 of file pool_type.hpp.