internal::Stack
Engine/source/persistence/rapidjson/internal/stack.h
A type-unsafe stack for storing different types of data.
Private Attributes
size_t
char *
char *
char *
Public Functions
~Stack()
bool
Empty()
size_t
size_t
GetSize()
bool
RAPIDJSON_FORCEINLINE T *
PushUnsafe(size_t count)
Private Functions
Detailed Description
A type-unsafe stack for storing different types of data.
Parameters:
Allocator | Allocator for allocating stack memory. |
Private Attributes
Allocator * allocator_
size_t initialCapacity_
Allocator * ownAllocator_
char * stack_
char * stackEnd_
char * stackTop_
Public Functions
Stack(Allocator * allocator, size_t stackCapacity)
~Stack()
Bottom()
Bottom()
Clear()
Empty()
End()
End()
GetAllocator()
GetCapacity()
GetSize()
HasAllocator()
Pop(size_t count)
Push(size_t count)
PushUnsafe(size_t count)
Reserve(size_t count)
ShrinkToFit()
Swap(Stack & rhs)
Top()
Top()