A type-unsafe stack for storing different types of data. Plus de détails...
#include <arcane/utils/internal/json/rapidjson/internal/stack.h>
Graphe de collaboration de internal::Stack< Allocator >:Fonctions membres publiques | |
| Stack (Allocator *allocator, size_t stackCapacity) | |
| void | Swap (Stack &rhs) RAPIDJSON_NOEXCEPT |
| void | Clear () |
| void | ShrinkToFit () |
| template<typename T> | |
| RAPIDJSON_FORCEINLINE void | Reserve (size_t count=1) |
| template<typename T> | |
| RAPIDJSON_FORCEINLINE T * | Push (size_t count=1) |
| template<typename T> | |
| RAPIDJSON_FORCEINLINE T * | PushUnsafe (size_t count=1) |
| template<typename T> | |
| T * | Pop (size_t count) |
| template<typename T> | |
| T * | Top () |
| template<typename T> | |
| const T * | Top () const |
| template<typename T> | |
| T * | End () |
| template<typename T> | |
| const T * | End () const |
| template<typename T> | |
| T * | Bottom () |
| template<typename T> | |
| const T * | Bottom () const |
| bool | HasAllocator () const |
| Allocator & | GetAllocator () |
| bool | Empty () const |
| size_t | GetSize () const |
| size_t | GetCapacity () const |
Fonctions membres privées | |
| template<typename T> | |
| void | Expand (size_t count) |
| void | Resize (size_t newCapacity) |
| void | Destroy () |
| Stack (const Stack &) | |
| Stack & | operator= (const Stack &) |
Attributs privés | |
| Allocator * | allocator_ |
| Allocator * | ownAllocator_ |
| char * | stack_ |
| char * | stackTop_ |
| char * | stackEnd_ |
| size_t | initialCapacity_ |
A type-unsafe stack for storing different types of data.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |