Arcane  v3.16.8.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Référence du modèle de la classe StdAllocator< void, BaseAllocator >
+ Graphe d'héritage de StdAllocator< void, BaseAllocator >:
+ Graphe de collaboration de StdAllocator< void, BaseAllocator >:

Classes

struct  rebind
 

Types publics

typedef BaseAllocator BaseAllocatorType
 
typedef allocator_type::value_type value_type
 
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
 

Fonctions membres publiques

 StdAllocator (const StdAllocator &rhs) RAPIDJSON_NOEXCEPT
 
template<typename U>
 StdAllocator (const StdAllocator< U, BaseAllocator > &rhs) RAPIDJSON_NOEXCEPT
 
 StdAllocator (const BaseAllocator &baseAllocator) RAPIDJSON_NOEXCEPT
 
 StdAllocator (const StdAllocator &rhs) RAPIDJSON_NOEXCEPT
 
 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)
 
U * allocate (size_type n=1, const void *=0)
 
pointer allocate (size_type n=1, const void *=0)
 
void deallocate (U *p, size_type n=1)
 
void deallocate (pointer p, size_type n=1)
 
bool operator== (const StdAllocator< U, BaseAllocator > &rhs) const RAPIDJSON_NOEXCEPT
 
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)
 

Fonctions membres publiques statiques

static void Free (void *ptr) RAPIDJSON_NOEXCEPT
 

Attributs publics statiques

static const bool kNeedFree
 rapidjson Allocator concept
 
static const bool kRefCounted
 

Types privés

typedef std::allocator< void > allocator_type
 
typedef std::allocator< void > allocator_type
 
typedef allocator_type traits_type
 

Attributs privés

BaseAllocator baseAllocator_
 
BaseAllocator baseAllocator_
 

Description détaillée

template<typename BaseAllocator>
class StdAllocator< void, BaseAllocator >

Définition à la ligne 640 du fichier allocators.h.

Documentation des définitions de type membres

◆ allocator_type [1/2]

typedef std::allocator<void> StdAllocator< void, BaseAllocator >::allocator_type
private

Définition à la ligne 463 du fichier allocators.h.

◆ allocator_type [2/2]

template<typename BaseAllocator>
typedef std::allocator<void> StdAllocator< void, BaseAllocator >::allocator_type
private

Définition à la ligne 643 du fichier allocators.h.

◆ BaseAllocatorType [1/2]

typedef BaseAllocator StdAllocator< void, BaseAllocator >::BaseAllocatorType

Définition à la ligne 471 du fichier allocators.h.

◆ BaseAllocatorType [2/2]

template<typename BaseAllocator>
typedef BaseAllocator StdAllocator< void, BaseAllocator >::BaseAllocatorType

Définition à la ligne 646 du fichier allocators.h.

◆ const_pointer

typedef traits_type::const_pointer StdAllocator< void, BaseAllocator >::const_pointer

Définition à la ligne 519 du fichier allocators.h.

◆ const_reference

typedef allocator_type::const_reference StdAllocator< void, BaseAllocator >::const_reference

Définition à la ligne 553 du fichier allocators.h.

◆ difference_type

typedef traits_type::difference_type StdAllocator< void, BaseAllocator >::difference_type

Définition à la ligne 515 du fichier allocators.h.

◆ pointer

typedef traits_type::pointer StdAllocator< void, BaseAllocator >::pointer

Définition à la ligne 518 du fichier allocators.h.

◆ reference

typedef allocator_type::reference StdAllocator< void, BaseAllocator >::reference

Définition à la ligne 552 du fichier allocators.h.

◆ size_type

typedef traits_type::size_type StdAllocator< void, BaseAllocator >::size_type

Définition à la ligne 514 du fichier allocators.h.

◆ traits_type

typedef allocator_type StdAllocator< void, BaseAllocator >::traits_type
private

Définition à la ligne 467 du fichier allocators.h.

◆ value_type [1/2]

typedef traits_type::value_type StdAllocator< void, BaseAllocator >::value_type

Définition à la ligne 517 du fichier allocators.h.

◆ value_type [2/2]

template<typename BaseAllocator>
typedef allocator_type::value_type StdAllocator< void, BaseAllocator >::value_type

Définition à la ligne 678 du fichier allocators.h.

Documentation des constructeurs et destructeur

◆ StdAllocator() [1/8]

template<typename BaseAllocator>
StdAllocator< void, BaseAllocator >::StdAllocator ( )
inline

Définition à la ligne 648 du fichier allocators.h.

◆ StdAllocator() [2/8]

template<typename BaseAllocator>
StdAllocator< void, BaseAllocator >::StdAllocator ( const StdAllocator< void, BaseAllocator > & rhs)
inline

Définition à la ligne 653 du fichier allocators.h.

◆ StdAllocator() [3/8]

template<typename BaseAllocator>
template<typename U>
StdAllocator< void, BaseAllocator >::StdAllocator ( const StdAllocator< U, BaseAllocator > & rhs)
inline

Définition à la ligne 659 du fichier allocators.h.

◆ StdAllocator() [4/8]

template<typename BaseAllocator>
StdAllocator< void, BaseAllocator >::StdAllocator ( const BaseAllocator & baseAllocator)
inline

Définition à la ligne 665 du fichier allocators.h.

◆ ~StdAllocator() [1/2]

template<typename BaseAllocator>
StdAllocator< void, BaseAllocator >::~StdAllocator ( )
inline

Définition à la ligne 670 du fichier allocators.h.

◆ StdAllocator() [5/8]

StdAllocator< void, BaseAllocator >::StdAllocator ( )
inline

Définition à la ligne 473 du fichier allocators.h.

◆ StdAllocator() [6/8]

StdAllocator< void, BaseAllocator >::StdAllocator ( const StdAllocator< void, BaseAllocator > & rhs)
inline

Définition à la ligne 478 du fichier allocators.h.

◆ StdAllocator() [7/8]

StdAllocator< void, BaseAllocator >::StdAllocator ( const StdAllocator< U, BaseAllocator > & rhs)
inline

Définition à la ligne 484 du fichier allocators.h.

◆ StdAllocator() [8/8]

StdAllocator< void, BaseAllocator >::StdAllocator ( const BaseAllocator & baseAllocator)
inline

Définition à la ligne 501 du fichier allocators.h.

◆ ~StdAllocator() [2/2]

StdAllocator< void, BaseAllocator >::~StdAllocator ( )
inline

Définition à la ligne 506 du fichier allocators.h.

Documentation des fonctions membres

◆ address() [1/2]

const_pointer StdAllocator< void, BaseAllocator >::address ( const_reference r) const
inline

Définition à la ligne 559 du fichier allocators.h.

◆ address() [2/2]

pointer StdAllocator< void, BaseAllocator >::address ( reference r) const
inline

Définition à la ligne 555 du fichier allocators.h.

◆ allocate() [1/2]

U * StdAllocator< void, BaseAllocator >::allocate ( size_type n = 1,
const void * = 0 )
inline

Définition à la ligne 581 du fichier allocators.h.

◆ allocate() [2/2]

pointer StdAllocator< void, BaseAllocator >::allocate ( size_type n = 1,
const void * = 0 )
inline

Définition à la ligne 591 du fichier allocators.h.

◆ construct()

void StdAllocator< void, BaseAllocator >::construct ( pointer p,
const_reference r )
inline

Définition à la ligne 569 du fichier allocators.h.

◆ deallocate() [1/2]

void StdAllocator< void, BaseAllocator >::deallocate ( pointer p,
size_type n = 1 )
inline

Définition à la ligne 595 du fichier allocators.h.

◆ deallocate() [2/2]

void StdAllocator< void, BaseAllocator >::deallocate ( U * p,
size_type n = 1 )
inline

Définition à la ligne 586 du fichier allocators.h.

◆ destroy()

void StdAllocator< void, BaseAllocator >::destroy ( pointer p)
inline

Définition à la ligne 573 du fichier allocators.h.

◆ Free()

static void StdAllocator< void, BaseAllocator >::Free ( void * ptr)
inlinestatic

Définition à la ligne 626 du fichier allocators.h.

◆ Malloc()

void * StdAllocator< void, BaseAllocator >::Malloc ( size_t size)
inline

Définition à la ligne 618 du fichier allocators.h.

◆ max_size()

size_type StdAllocator< void, BaseAllocator >::max_size ( ) const
inline

Définition à la ligne 564 du fichier allocators.h.

◆ operator!=()

bool StdAllocator< void, BaseAllocator >::operator!= ( const StdAllocator< U, BaseAllocator > & rhs) const
inline

Définition à la ligne 610 du fichier allocators.h.

◆ operator==()

bool StdAllocator< void, BaseAllocator >::operator== ( const StdAllocator< U, BaseAllocator > & rhs) const
inline

Définition à la ligne 605 du fichier allocators.h.

◆ Realloc()

void * StdAllocator< void, BaseAllocator >::Realloc ( void * originalPtr,
size_t originalSize,
size_t newSize )
inline

Définition à la ligne 622 du fichier allocators.h.

Documentation des fonctions amies et associées

◆ StdAllocator [1/2]

friend class StdAllocator
friend

Définition à la ligne 633 du fichier allocators.h.

◆ StdAllocator [2/2]

template<typename BaseAllocator>
template<typename, typename>
friend class StdAllocator
friend

Définition à la ligne 682 du fichier allocators.h.

Documentation des données membres

◆ baseAllocator_ [1/2]

BaseAllocator StdAllocator< void, BaseAllocator >::baseAllocator_
private

Définition à la ligne 635 du fichier allocators.h.

◆ baseAllocator_ [2/2]

template<typename BaseAllocator>
BaseAllocator StdAllocator< void, BaseAllocator >::baseAllocator_
private

Définition à la ligne 684 du fichier allocators.h.

◆ kNeedFree

const bool StdAllocator< void, BaseAllocator >::kNeedFree
static

rapidjson Allocator concept

Définition à la ligne 616 du fichier allocators.h.

◆ kRefCounted

const bool StdAllocator< void, BaseAllocator >::kRefCounted
static

Définition à la ligne 617 du fichier allocators.h.


La documentation de cette classe a été générée à partir du fichier suivant :