OpenTTD Source 20241224-master-gf74b0cf984
|
SmallStack item that can be kept in a pool. More...
#include <smallstack_type.hpp>
Data Fields | |
Tindex | branch_count |
Number of branches in the tree structure this item is parent of. | |
Data Fields inherited from SmallStackItem< Titem, Tindex > | |
Tindex | next |
Pool index of next item. | |
Titem | value |
Value of current item. | |
Additional Inherited Members | |
Public Member Functions inherited from SmallStackItem< Titem, Tindex > | |
SmallStackItem (const Titem &value, Tindex next) | |
Create a new item. | |
SmallStack item that can be kept in a pool.
Definition at line 143 of file smallstack_type.hpp.
Tindex SmallStack< Titem, Tindex, Tinvalid, Tgrowth_step, Tmax_size >::PooledSmallStack::branch_count |
Number of branches in the tree structure this item is parent of.
Definition at line 144 of file smallstack_type.hpp.
Referenced by SmallStack< Titem, Tindex, Tinvalid, Tgrowth_step, Tmax_size >::Pop(), and SmallStack< Titem, Tindex, Tinvalid, Tgrowth_step, Tmax_size >::Push().