Path Tracing
Loading...
Searching...
No Matches
ImStableVector< T, BLOCKSIZE > Struct Template Reference

#include <imgui_internal.h>

Collaboration diagram for ImStableVector< T, BLOCKSIZE >:

Public Member Functions

 ~ImStableVector ()
void clear ()
void resize (int new_size)
void reserve (int new_cap)
T & operator[] (int i)
const T & operator[] (int i) const
T * push_back (const T &v)

Public Attributes

int Size = 0
int Capacity = 0
ImVector< T * > Blocks

Constructor & Destructor Documentation

◆ ~ImStableVector()

template<typename T, int BLOCKSIZE>
ImStableVector< T, BLOCKSIZE >::~ImStableVector ( )
inline

Member Function Documentation

◆ clear()

template<typename T, int BLOCKSIZE>
void ImStableVector< T, BLOCKSIZE >::clear ( )
inline

◆ operator[]() [1/2]

template<typename T, int BLOCKSIZE>
T & ImStableVector< T, BLOCKSIZE >::operator[] ( int i)
inline

◆ operator[]() [2/2]

template<typename T, int BLOCKSIZE>
const T & ImStableVector< T, BLOCKSIZE >::operator[] ( int i) const
inline

◆ push_back()

template<typename T, int BLOCKSIZE>
T * ImStableVector< T, BLOCKSIZE >::push_back ( const T & v)
inline

◆ reserve()

template<typename T, int BLOCKSIZE>
void ImStableVector< T, BLOCKSIZE >::reserve ( int new_cap)
inline

◆ resize()

template<typename T, int BLOCKSIZE>
void ImStableVector< T, BLOCKSIZE >::resize ( int new_size)
inline

Member Data Documentation

◆ Blocks

template<typename T, int BLOCKSIZE>
ImVector<T*> ImStableVector< T, BLOCKSIZE >::Blocks

◆ Capacity

template<typename T, int BLOCKSIZE>
int ImStableVector< T, BLOCKSIZE >::Capacity = 0

◆ Size

template<typename T, int BLOCKSIZE>
int ImStableVector< T, BLOCKSIZE >::Size = 0

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