Classes | Public Types | Public Member Functions | Public Attributes | Private Types | Private Attributes | List of all members
google::protobuf::Map< Key, T >::MapAllocator< U > Class Template Reference

Classes

struct  rebind
 

Public Types

typedef ptrdiff_t difference_type
 
typedef value_typepointer
 
typedef value_typereference
 
typedef size_t size_type
 
typedef U value_type
 

Public Member Functions

pointer allocate (size_type n, const void *=0)
 
Arenaarena () const
 
void construct (pointer p, const_reference t)
 
void deallocate (pointer p, size_type n)
 
void destroy (pointer p)
 
 MapAllocator ()
 
 MapAllocator (Arena *arena)
 
template<typename X >
 MapAllocator (const MapAllocator< X > &allocator)
 
size_type max_size () const
 
template<typename X >
bool operator!= (const MapAllocator< X > &other) const
 
template<typename X >
bool operator== (const MapAllocator< X > &other) const
 

Public Attributes

const typedef value_typeconst_pointer
 
const typedef value_typeconst_reference
 

Private Types

typedef void DestructorSkippable_
 

Private Attributes

Arena *const arena_
 

Detailed Description

template<typename Key, typename T>
template<typename U>
class google::protobuf::Map< Key, T >::MapAllocator< U >

Definition at line 194 of file map.h.

Member Typedef Documentation

◆ DestructorSkippable_

template<typename Key , typename T >
template<typename U >
typedef void google::protobuf::Map< Key, T >::MapAllocator< U >::DestructorSkippable_
private

Definition at line 281 of file map.h.

◆ difference_type

template<typename Key , typename T >
template<typename U >
typedef ptrdiff_t google::protobuf::Map< Key, T >::MapAllocator< U >::difference_type

Definition at line 202 of file map.h.

◆ pointer

template<typename Key , typename T >
template<typename U >
typedef value_type* google::protobuf::Map< Key, T >::MapAllocator< U >::pointer

Definition at line 197 of file map.h.

◆ reference

template<typename Key , typename T >
template<typename U >
typedef value_type& google::protobuf::Map< Key, T >::MapAllocator< U >::reference

Definition at line 199 of file map.h.

◆ size_type

template<typename Key , typename T >
template<typename U >
typedef size_t google::protobuf::Map< Key, T >::MapAllocator< U >::size_type

Definition at line 201 of file map.h.

◆ value_type

template<typename Key , typename T >
template<typename U >
typedef U google::protobuf::Map< Key, T >::MapAllocator< U >::value_type

Definition at line 196 of file map.h.

Constructor & Destructor Documentation

◆ MapAllocator() [1/3]

template<typename Key , typename T >
template<typename U >
google::protobuf::Map< Key, T >::MapAllocator< U >::MapAllocator ( )
inline

Definition at line 204 of file map.h.

◆ MapAllocator() [2/3]

template<typename Key , typename T >
template<typename U >
google::protobuf::Map< Key, T >::MapAllocator< U >::MapAllocator ( Arena arena)
inlineexplicit

Definition at line 205 of file map.h.

◆ MapAllocator() [3/3]

template<typename Key , typename T >
template<typename U >
template<typename X >
google::protobuf::Map< Key, T >::MapAllocator< U >::MapAllocator ( const MapAllocator< X > &  allocator)
inline

Definition at line 207 of file map.h.

Member Function Documentation

◆ allocate()

template<typename Key , typename T >
template<typename U >
pointer google::protobuf::Map< Key, T >::MapAllocator< U >::allocate ( size_type  n,
const void = 0 
)
inline

Definition at line 210 of file map.h.

◆ arena()

template<typename Key , typename T >
template<typename U >
Arena* google::protobuf::Map< Key, T >::MapAllocator< U >::arena ( ) const
inline

Definition at line 278 of file map.h.

◆ construct()

template<typename Key , typename T >
template<typename U >
void google::protobuf::Map< Key, T >::MapAllocator< U >::construct ( pointer  p,
const_reference  t 
)
inline

Definition at line 250 of file map.h.

◆ deallocate()

template<typename Key , typename T >
template<typename U >
void google::protobuf::Map< Key, T >::MapAllocator< U >::deallocate ( pointer  p,
size_type  n 
)
inline

Definition at line 221 of file map.h.

◆ destroy()

template<typename Key , typename T >
template<typename U >
void google::protobuf::Map< Key, T >::MapAllocator< U >::destroy ( pointer  p)
inline

Definition at line 252 of file map.h.

◆ max_size()

template<typename Key , typename T >
template<typename U >
size_type google::protobuf::Map< Key, T >::MapAllocator< U >::max_size ( ) const
inline

Definition at line 271 of file map.h.

◆ operator!=()

template<typename Key , typename T >
template<typename U >
template<typename X >
bool google::protobuf::Map< Key, T >::MapAllocator< U >::operator!= ( const MapAllocator< X > &  other) const
inline

Definition at line 266 of file map.h.

◆ operator==()

template<typename Key , typename T >
template<typename U >
template<typename X >
bool google::protobuf::Map< Key, T >::MapAllocator< U >::operator== ( const MapAllocator< X > &  other) const
inline

Definition at line 261 of file map.h.

Member Data Documentation

◆ arena_

template<typename Key , typename T >
template<typename U >
Arena* const google::protobuf::Map< Key, T >::MapAllocator< U >::arena_
private

Definition at line 282 of file map.h.

◆ const_pointer

template<typename Key , typename T >
template<typename U >
const typedef value_type* google::protobuf::Map< Key, T >::MapAllocator< U >::const_pointer

Definition at line 198 of file map.h.

◆ const_reference

template<typename Key , typename T >
template<typename U >
const typedef value_type& google::protobuf::Map< Key, T >::MapAllocator< U >::const_reference

Definition at line 200 of file map.h.


The documentation for this class was generated from the following file:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:08