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] |
|
inline |
|
inline |
|
inline |
References CurrOff.
|
inline |
References BasePtr.
|
inline |
|
inline |
|
inline |
References GetSpanPtrBegin(), GetSpanPtrEnd(), and ImSpan< T >::set().
| char* ImSpanAllocator< CHUNKS >::BasePtr |
Referenced by GetSpanPtrBegin(), GetSpanPtrEnd(), and SetArenaBasePtr().
| int ImSpanAllocator< CHUNKS >::CurrOff |
Referenced by GetArenaSizeInBytes(), and Reserve().
| int ImSpanAllocator< CHUNKS >::CurrIdx |
Referenced by GetSpanPtrBegin(), GetSpanPtrEnd(), and Reserve().
| int ImSpanAllocator< CHUNKS >::Offsets[CHUNKS] |
Referenced by GetSpanPtrBegin(), GetSpanPtrEnd(), and Reserve().
| int ImSpanAllocator< CHUNKS >::Sizes[CHUNKS] |
Referenced by GetSpanPtrEnd(), and Reserve().