|
Blender V4.3
|
#include <BLI_linear_allocator_chunked_list.hh>
Public Attributes | |
| ChunkedListSegment * | next = nullptr |
| int64_t | size = 0 |
| std::array< TypedBuffer< T >, Capacity > | values |
The list is a linked list of segments containing multiple elements. The capacity of each segment is a template parameter because that removes the need to store it for every segment.
Definition at line 19 of file BLI_linear_allocator_chunked_list.hh.
| ChunkedListSegment* blender::linear_allocator::ChunkedListSegment< T, Capacity >::next = nullptr |
Pointer to the next segment in the list.
Definition at line 21 of file BLI_linear_allocator_chunked_list.hh.
Referenced by blender::linear_allocator::ChunkedList< T, SegmentCapacity >::append_as(), blender::linear_allocator::ChunkedList< T, SegmentCapacity >::ConstIterator::operator++(), blender::linear_allocator::ChunkedList< T, SegmentCapacity >::MutableIterator::operator++(), and blender::linear_allocator::ChunkedList< T, SegmentCapacity >::~ChunkedList().
| int64_t blender::linear_allocator::ChunkedListSegment< T, Capacity >::size = 0 |
Number of constructed elements in this segment. The constructed elements are always at the beginning of the array below.
Definition at line 26 of file BLI_linear_allocator_chunked_list.hh.
Referenced by blender::linear_allocator::ChunkedList< T, SegmentCapacity >::append_as(), blender::linear_allocator::ChunkedList< T, SegmentCapacity >::ConstIterator::operator++(), and blender::linear_allocator::ChunkedList< T, SegmentCapacity >::MutableIterator::operator++().
| std::array<TypedBuffer<T>, Capacity> blender::linear_allocator::ChunkedListSegment< T, Capacity >::values |
The memory that actually contains the values in the end. The values are constructed and destructed by higher level code.
Definition at line 31 of file BLI_linear_allocator_chunked_list.hh.
Referenced by blender::linear_allocator::ChunkedList< T, SegmentCapacity >::append_as(), blender::linear_allocator::ChunkedList< T, SegmentCapacity >::ConstIterator::operator*(), and blender::linear_allocator::ChunkedList< T, SegmentCapacity >::MutableIterator::operator*().