Blender  V3.3
Public Member Functions | Public Attributes | List of all members
blender::StackChunk< T > Struct Template Reference

#include <BLI_stack.hh>

Public Member Functions

int64_t capacity () const
 

Public Attributes

StackChunkbelow
 
StackChunkabove
 
Tbegin
 
Tcapacity_end
 

Detailed Description

template<typename T>
struct blender::StackChunk< T >

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.

Member Function Documentation

◆ capacity()

template<typename T >
int64_t blender::StackChunk< T >::capacity ( ) const
inline

Member Data Documentation

◆ above

template<typename T >
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().

◆ begin

template<typename T >
T* blender::StackChunk< T >::begin

◆ below

template<typename T >
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().

◆ capacity_end

template<typename T >
T* blender::StackChunk< T >::capacity_end

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