webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
A type-unsafe stack for storing different types of data. More...
#include <stack.h>
Public Member Functions | |
Stack (Allocator *allocator, size_t stackCapacity) | |
~Stack () | |
void | Clear () |
void | ShrinkToFit () |
template<typename T > | |
RAPIDJSON_FORCEINLINE 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 |
A type-unsafe stack for storing different types of data.
Allocator | Allocator for allocating stack memory. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |