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

Classes

struct  rebind
 

Types publics

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
 
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)
 

Fonctions membres publiques statiques

static void Free (void *ptr) RAPIDJSON_NOEXCEPT
 

Attributs publics statiques

static const bool kNeedFree = BaseAllocator::kNeedFree
 rapidjson Allocator concept
 
static const bool kRefCounted = internal::IsRefCounted<BaseAllocator>::Value
 

Types privés

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

Attributs privés

BaseAllocator baseAllocator_
 

Description détaillée

template<typename T, typename BaseAllocator = CrtAllocator>
class StdAllocator< T, BaseAllocator >

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

Documentation des définitions de type membres

◆ allocator_type

template<typename T, typename BaseAllocator = CrtAllocator>
typedef std::allocator<T> StdAllocator< T, BaseAllocator >::allocator_type
private

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

◆ BaseAllocatorType

template<typename T, typename BaseAllocator = CrtAllocator>
typedef BaseAllocator StdAllocator< T, BaseAllocator >::BaseAllocatorType

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

◆ const_pointer

template<typename T, typename BaseAllocator = CrtAllocator>
typedef traits_type::const_pointer StdAllocator< T, BaseAllocator >::const_pointer

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

◆ const_reference

template<typename T, typename BaseAllocator = CrtAllocator>
typedef allocator_type::const_reference StdAllocator< T, BaseAllocator >::const_reference

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

◆ difference_type

template<typename T, typename BaseAllocator = CrtAllocator>
typedef traits_type::difference_type StdAllocator< T, BaseAllocator >::difference_type

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

◆ pointer

template<typename T, typename BaseAllocator = CrtAllocator>
typedef traits_type::pointer StdAllocator< T, BaseAllocator >::pointer

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

◆ reference

template<typename T, typename BaseAllocator = CrtAllocator>
typedef allocator_type::reference StdAllocator< T, BaseAllocator >::reference

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

◆ size_type

template<typename T, typename BaseAllocator = CrtAllocator>
typedef traits_type::size_type StdAllocator< T, BaseAllocator >::size_type

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

◆ traits_type

template<typename T, typename BaseAllocator = CrtAllocator>
typedef allocator_type StdAllocator< T, BaseAllocator >::traits_type
private

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

◆ value_type

template<typename T, typename BaseAllocator = CrtAllocator>
typedef traits_type::value_type StdAllocator< T, BaseAllocator >::value_type

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

Documentation des constructeurs et destructeur

◆ StdAllocator() [1/4]

template<typename T, typename BaseAllocator = CrtAllocator>
StdAllocator< T, BaseAllocator >::StdAllocator ( )
inline

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

◆ StdAllocator() [2/4]

template<typename T, typename BaseAllocator = CrtAllocator>
StdAllocator< T, BaseAllocator >::StdAllocator ( const StdAllocator< T, BaseAllocator > & rhs)
inline

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

◆ StdAllocator() [3/4]

template<typename T, typename BaseAllocator = CrtAllocator>
template<typename U>
StdAllocator< T, BaseAllocator >::StdAllocator ( const StdAllocator< U, BaseAllocator > & rhs)
inline

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

◆ StdAllocator() [4/4]

template<typename T, typename BaseAllocator = CrtAllocator>
StdAllocator< T, BaseAllocator >::StdAllocator ( const BaseAllocator & baseAllocator)
inline

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

◆ ~StdAllocator()

template<typename T, typename BaseAllocator = CrtAllocator>
StdAllocator< T, BaseAllocator >::~StdAllocator ( )
inline

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

Documentation des fonctions membres

◆ address() [1/2]

template<typename T, typename BaseAllocator = CrtAllocator>
const_pointer StdAllocator< T, BaseAllocator >::address ( const_reference r) const
inline

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

◆ address() [2/2]

template<typename T, typename BaseAllocator = CrtAllocator>
pointer StdAllocator< T, BaseAllocator >::address ( reference r) const
inline

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

◆ allocate() [1/2]

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

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

◆ allocate() [2/2]

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

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

◆ construct()

template<typename T, typename BaseAllocator = CrtAllocator>
void StdAllocator< T, BaseAllocator >::construct ( pointer p,
const_reference r )
inline

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

◆ deallocate() [1/2]

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

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

◆ deallocate() [2/2]

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

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

◆ destroy()

template<typename T, typename BaseAllocator = CrtAllocator>
void StdAllocator< T, BaseAllocator >::destroy ( pointer p)
inline

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

◆ Free()

template<typename T, typename BaseAllocator = CrtAllocator>
static void StdAllocator< T, BaseAllocator >::Free ( void * ptr)
inlinestatic

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

◆ Malloc()

template<typename T, typename BaseAllocator = CrtAllocator>
void * StdAllocator< T, BaseAllocator >::Malloc ( size_t size)
inline

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

◆ max_size()

template<typename T, typename BaseAllocator = CrtAllocator>
size_type StdAllocator< T, BaseAllocator >::max_size ( ) const
inline

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

◆ operator!=()

template<typename T, typename BaseAllocator = CrtAllocator>
template<typename U>
bool StdAllocator< T, BaseAllocator >::operator!= ( const StdAllocator< U, BaseAllocator > & rhs) const
inline

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

◆ operator==()

template<typename T, typename BaseAllocator = CrtAllocator>
template<typename U>
bool StdAllocator< T, BaseAllocator >::operator== ( const StdAllocator< U, BaseAllocator > & rhs) const
inline

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

◆ Realloc()

template<typename T, typename BaseAllocator = CrtAllocator>
void * StdAllocator< T, 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

template<typename T, typename BaseAllocator = CrtAllocator>
template<typename, typename>
friend class StdAllocator
friend

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

Documentation des données membres

◆ baseAllocator_

template<typename T, typename BaseAllocator = CrtAllocator>
BaseAllocator StdAllocator< T, BaseAllocator >::baseAllocator_
private

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

◆ kNeedFree

template<typename T, typename BaseAllocator = CrtAllocator>
const bool StdAllocator< T, BaseAllocator >::kNeedFree = BaseAllocator::kNeedFree
static

rapidjson Allocator concept

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

◆ kRefCounted

template<typename T, typename BaseAllocator = CrtAllocator>
const bool StdAllocator< T, BaseAllocator >::kRefCounted = internal::IsRefCounted<BaseAllocator>::Value
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 :