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 third_party/bloaty/third_party/protobuf/src/google/protobuf/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

◆ difference_type

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

◆ pointer

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

◆ reference

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

◆ size_type

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

◆ value_type

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

Constructor & Destructor Documentation

◆ MapAllocator() [1/3]

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

◆ MapAllocator() [2/3]

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

◆ 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

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

◆ arena()

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

◆ construct()

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

◆ deallocate()

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

◆ destroy()

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

◆ max_size()

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

◆ 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

◆ 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

Member Data Documentation

◆ arena_

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

◆ const_pointer

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

◆ const_reference

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

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:20