rapidjson::internal::Stack< Allocator > Class Template Reference
rapidjson::internal::Stack< Allocator > Class Template Reference
A type-unsafe stack for storing different types of data. More...
#include <ThirdParty/rapidjson/include/rapidjson/internal/stack.h>
Collaboration diagram for rapidjson::internal::Stack< Allocator >:
Public Member Functions | |
Stack (Allocator *allocator, size_t stack_capacity) | |
void | Clear () |
template<typename T > | |
T * | Push (size_t count=1) |
template<typename T > | |
T * | Pop (size_t count) |
template<typename T > | |
T * | Top () |
template<typename T > | |
T * | Bottom () |
Allocator & | GetAllocator () |
bool | Empty () const |
size_t | GetSize () const |
size_t | GetCapacity () const |
Private Attributes | |
Allocator * | allocator_ |
Allocator * | own_allocator_ |
char * | stack_ |
char * | stack_top_ |
char * | stack_end_ |
size_t | stack_capacity_ |
Detailed Description
template<typename Allocator>
class rapidjson::internal::Stack< Allocator >
A type-unsafe stack for storing different types of data.
The documentation for this class was generated from the following file:
- Source/ThirdParty/rapidjson/include/rapidjson/internal/stack.h