rapidjson::internal::Stack< Allocator > Class Template Reference

A type-unsafe stack for storing different types of data. More...

#include <stack.h>

Collaboration diagram for rapidjson::internal::Stack< Allocator >:
[legend]

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 ()
 
AllocatorGetAllocator ()
 
bool Empty () const
 
size_t GetSize () const
 
size_t GetCapacity () const
 

Private Attributes

Allocatorallocator_
 
Allocatorown_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.

Template Parameters
AllocatorAllocator for allocating stack memory.

The documentation for this class was generated from the following file:
  • /home/travis/build/urho3d/Urho3D/Source/ThirdParty/rapidjson/include/rapidjson/internal/stack.h