rapidjson
A fast JSON parser/generator for C++ with both SAX/DOM style API
 All Classes Functions Variables Typedefs Pages
Public Member Functions | List of all members
rapidjson::internal::Stack< Allocator > Class Template Reference

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

#include <stack.h>

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

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: