Classes | |
| struct | rebind |
Public Types | |
| typedef BaseAllocator | BaseAllocatorType |
| typedef traits_type::size_type | size_type |
| typedef traits_type::difference_type | difference_type |
| typedef traits_type::value_type | value_type |
| typedef traits_type::pointer | pointer |
| typedef traits_type::const_pointer | const_pointer |
| typedef allocator_type::reference | reference |
| typedef allocator_type::const_reference | const_reference |
Public Member Functions | |
| StdAllocator (const StdAllocator &rhs) RAPIDJSON_NOEXCEPT | |
| template<typename U> | |
| StdAllocator (const StdAllocator< U, BaseAllocator > &rhs) RAPIDJSON_NOEXCEPT | |
| StdAllocator (const BaseAllocator &baseAllocator) RAPIDJSON_NOEXCEPT | |
| pointer | address (reference r) const RAPIDJSON_NOEXCEPT |
| const_pointer | address (const_reference r) const RAPIDJSON_NOEXCEPT |
| size_type | max_size () const RAPIDJSON_NOEXCEPT |
| void | construct (pointer p, const_reference r) |
| void | destroy (pointer p) |
| template<typename U> | |
| U * | allocate (size_type n=1, const void *=0) |
| template<typename U> | |
| void | deallocate (U *p, size_type n=1) |
| pointer | allocate (size_type n=1, const void *=0) |
| void | deallocate (pointer p, size_type n=1) |
| template<typename U> | |
| bool | operator== (const StdAllocator< U, BaseAllocator > &rhs) const RAPIDJSON_NOEXCEPT |
| template<typename U> | |
| bool | operator!= (const StdAllocator< U, BaseAllocator > &rhs) const RAPIDJSON_NOEXCEPT |
| void * | Malloc (size_t size) |
| void * | Realloc (void *originalPtr, size_t originalSize, size_t newSize) |
Static Public Member Functions | |
| static void | Free (void *ptr) RAPIDJSON_NOEXCEPT |
Static Public Attributes | |
| static const bool | kNeedFree = BaseAllocator::kNeedFree |
| rapidjson Allocator concept | |
| static const bool | kRefCounted = internal::IsRefCounted<BaseAllocator>::Value |
Private Types | |
| typedef std::allocator< T > | allocator_type |
| typedef allocator_type | traits_type |
Private Attributes | |
| BaseAllocator | baseAllocator_ |
Definition at line 460 of file allocators.h.
|
private |
Definition at line 463 of file allocators.h.
| typedef BaseAllocator StdAllocator< T, BaseAllocator >::BaseAllocatorType |
Definition at line 471 of file allocators.h.
| typedef traits_type::const_pointer StdAllocator< T, BaseAllocator >::const_pointer |
Definition at line 519 of file allocators.h.
| typedef allocator_type::const_reference StdAllocator< T, BaseAllocator >::const_reference |
Definition at line 553 of file allocators.h.
| typedef traits_type::difference_type StdAllocator< T, BaseAllocator >::difference_type |
Definition at line 515 of file allocators.h.
| typedef traits_type::pointer StdAllocator< T, BaseAllocator >::pointer |
Definition at line 518 of file allocators.h.
| typedef allocator_type::reference StdAllocator< T, BaseAllocator >::reference |
Definition at line 552 of file allocators.h.
| typedef traits_type::size_type StdAllocator< T, BaseAllocator >::size_type |
Definition at line 514 of file allocators.h.
|
private |
Definition at line 467 of file allocators.h.
| typedef traits_type::value_type StdAllocator< T, BaseAllocator >::value_type |
Definition at line 517 of file allocators.h.
|
inline |
Definition at line 473 of file allocators.h.
|
inline |
Definition at line 478 of file allocators.h.
|
inline |
Definition at line 484 of file allocators.h.
|
inline |
Definition at line 501 of file allocators.h.
|
inline |
Definition at line 506 of file allocators.h.
|
inline |
Definition at line 559 of file allocators.h.
|
inline |
Definition at line 555 of file allocators.h.
|
inline |
Definition at line 591 of file allocators.h.
|
inline |
Definition at line 581 of file allocators.h.
|
inline |
Definition at line 569 of file allocators.h.
|
inline |
Definition at line 595 of file allocators.h.
|
inline |
Definition at line 586 of file allocators.h.
|
inline |
Definition at line 573 of file allocators.h.
|
inlinestatic |
Definition at line 626 of file allocators.h.
|
inline |
Definition at line 618 of file allocators.h.
|
inline |
Definition at line 564 of file allocators.h.
|
inline |
Definition at line 610 of file allocators.h.
|
inline |
Definition at line 605 of file allocators.h.
|
inline |
Definition at line 622 of file allocators.h.
|
friend |
Definition at line 633 of file allocators.h.
|
private |
Definition at line 635 of file allocators.h.
|
static |
rapidjson Allocator concept
Definition at line 616 of file allocators.h.
|
static |
Definition at line 617 of file allocators.h.