Blender
V3.3
|
#include <BLI_stack.hh>
Public Member Functions | |
int64_t | capacity () const |
Public Attributes | |
StackChunk * | below |
StackChunk * | above |
T * | begin |
T * | capacity_end |
A StackChunk references a contiguous memory buffer. Multiple StackChunk instances are linked in a double linked list.
Definition at line 38 of file BLI_stack.hh.
|
inline |
Definition at line 48 of file BLI_stack.hh.
References blender::StackChunk< T >::begin, and blender::StackChunk< T >::capacity_end.
StackChunk* blender::StackChunk< T >::above |
The above chunk contains the elements that have been pushed on the stack afterwards.
Definition at line 42 of file BLI_stack.hh.
Referenced by blender::Stack< T, InlineBufferCapacity, Allocator >::Stack(), and blender::Stack< T, InlineBufferCapacity, Allocator >::~Stack().
T* blender::StackChunk< T >::begin |
Pointer to the first element of the referenced buffer.
Definition at line 44 of file BLI_stack.hh.
Referenced by blender::StackChunk< T >::capacity(), blender::Stack< T, InlineBufferCapacity, Allocator >::clear(), blender::Stack< T, InlineBufferCapacity, Allocator >::is_invariant_maintained(), blender::Stack< T, InlineBufferCapacity, Allocator >::peek(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), and blender::Stack< T, InlineBufferCapacity, Allocator >::Stack().
StackChunk* blender::StackChunk< T >::below |
The below chunk contains the elements that have been pushed on the stack before.
Definition at line 40 of file BLI_stack.hh.
Referenced by blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), and blender::Stack< T, InlineBufferCapacity, Allocator >::Stack().
T* blender::StackChunk< T >::capacity_end |
Pointer to one element past the end of the referenced buffer.
Definition at line 46 of file BLI_stack.hh.
Referenced by blender::StackChunk< T >::capacity(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), blender::Stack< T, InlineBufferCapacity, Allocator >::push_as(), and blender::Stack< T, InlineBufferCapacity, Allocator >::push_multiple().