Steppable 0.0.1
A CAS project written from scratch in C++
Loading...
Searching...
No Matches
ImSpanAllocator< CHUNKS > Struct Template Reference

#include <imgui_internal.h>

Public Member Functions

 ImSpanAllocator ()
 
void Reserve (int n, size_t sz, int a=4)
 
int GetArenaSizeInBytes ()
 
void SetArenaBasePtr (void *base_ptr)
 
void * GetSpanPtrBegin (int n)
 
void * GetSpanPtrEnd (int n)
 
template<typename T>
void GetSpan (int n, ImSpan< T > *span)
 

Public Attributes

char * BasePtr
 
int CurrOff
 
int CurrIdx
 
int Offsets [CHUNKS]
 
int Sizes [CHUNKS]
 

Constructor & Destructor Documentation

◆ ImSpanAllocator()

template<int CHUNKS>
ImSpanAllocator< CHUNKS >::ImSpanAllocator ( )
inline

Member Function Documentation

◆ GetArenaSizeInBytes()

template<int CHUNKS>
int ImSpanAllocator< CHUNKS >::GetArenaSizeInBytes ( )
inline
Here is the caller graph for this function:

◆ GetSpan()

template<int CHUNKS>
template<typename T>
void ImSpanAllocator< CHUNKS >::GetSpan ( int n,
ImSpan< T > * span )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetSpanPtrBegin()

template<int CHUNKS>
void * ImSpanAllocator< CHUNKS >::GetSpanPtrBegin ( int n)
inline
Here is the caller graph for this function:

◆ GetSpanPtrEnd()

template<int CHUNKS>
void * ImSpanAllocator< CHUNKS >::GetSpanPtrEnd ( int n)
inline
Here is the caller graph for this function:

◆ Reserve()

template<int CHUNKS>
void ImSpanAllocator< CHUNKS >::Reserve ( int n,
size_t sz,
int a = 4 )
inline
Here is the caller graph for this function:

◆ SetArenaBasePtr()

template<int CHUNKS>
void ImSpanAllocator< CHUNKS >::SetArenaBasePtr ( void * base_ptr)
inline
Here is the caller graph for this function:

Member Data Documentation

◆ BasePtr

template<int CHUNKS>
char* ImSpanAllocator< CHUNKS >::BasePtr

◆ CurrIdx

template<int CHUNKS>
int ImSpanAllocator< CHUNKS >::CurrIdx

◆ CurrOff

template<int CHUNKS>
int ImSpanAllocator< CHUNKS >::CurrOff

◆ Offsets

template<int CHUNKS>
int ImSpanAllocator< CHUNKS >::Offsets[CHUNKS]

◆ Sizes

template<int CHUNKS>
int ImSpanAllocator< CHUNKS >::Sizes[CHUNKS]

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