Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
absl::inlined_vector_internal::Storage< T, N, A > Class Template Reference

#include <inlined_vector.h>

Classes

struct  Allocated
 
union  Data
 
struct  Inlined
 

Public Types

using allocator_type = A
 
using AllocatorTraits = std::allocator_traits< allocator_type >
 
using const_iterator = const_pointer
 
using const_pointer = typename allocator_type::const_pointer
 
using const_reference = typename allocator_type::const_reference
 
using const_reverse_iterator = std::reverse_iterator< const_iterator >
 
using difference_type = typename allocator_type::difference_type
 
using iterator = pointer
 
using pointer = typename allocator_type::pointer
 
using reference = typename allocator_type::reference
 
using reverse_iterator = std::reverse_iterator< iterator >
 
using rvalue_reference = typename allocator_type::value_type &&
 
using size_type = typename allocator_type::size_type
 
using value_type = typename allocator_type::value_type
 

Public Member Functions

void AddSize (size_type count)
 
size_type GetAllocatedCapacity () const
 
pointer GetAllocatedData ()
 
const_pointer GetAllocatedData () const
 
allocator_typeGetAllocPtr ()
 
const allocator_typeGetAllocPtr () const
 
pointer GetInlinedData ()
 
const_pointer GetInlinedData () const
 
bool GetIsAllocated () const
 
size_type GetSize () const
 
void SetAllocatedCapacity (size_type capacity)
 
void SetAllocatedData (pointer data)
 
void SetAllocatedSize (size_type size)
 
void SetInlinedSize (size_type size)
 
 Storage (const allocator_type &alloc)
 
void SwapAllocatedSizeAndCapacity (Storage *other)
 
void SwapSizeAndIsAllocated (Storage *other)
 

Private Types

using Metadata = container_internal::CompressedTuple< allocator_type, size_type >
 

Private Member Functions

size_typeGetSizeAndIsAllocated ()
 
const size_typeGetSizeAndIsAllocated () const
 

Private Attributes

Data data_
 
Metadata metadata_
 

Detailed Description

template<typename T, size_t N, typename A>
class absl::inlined_vector_internal::Storage< T, N, A >

Definition at line 63 of file internal/inlined_vector.h.

Member Typedef Documentation

template<typename T, size_t N, typename A>
using absl::inlined_vector_internal::Storage< T, N, A >::allocator_type = A

Definition at line 65 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
using absl::inlined_vector_internal::Storage< T, N, A >::AllocatorTraits = std::allocator_traits<allocator_type>

Definition at line 78 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
using absl::inlined_vector_internal::Storage< T, N, A >::const_iterator = const_pointer

Definition at line 75 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
using absl::inlined_vector_internal::Storage< T, N, A >::const_pointer = typename allocator_type::const_pointer

Definition at line 68 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
using absl::inlined_vector_internal::Storage< T, N, A >::const_reference = typename allocator_type::const_reference

Definition at line 70 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
using absl::inlined_vector_internal::Storage< T, N, A >::const_reverse_iterator = std::reverse_iterator<const_iterator>

Definition at line 77 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
using absl::inlined_vector_internal::Storage< T, N, A >::difference_type = typename allocator_type::difference_type

Definition at line 73 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
using absl::inlined_vector_internal::Storage< T, N, A >::iterator = pointer

Definition at line 74 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
using absl::inlined_vector_internal::Storage< T, N, A >::Metadata = container_internal::CompressedTuple<allocator_type, size_type>
private

Definition at line 147 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
using absl::inlined_vector_internal::Storage< T, N, A >::pointer = typename allocator_type::pointer

Definition at line 67 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
using absl::inlined_vector_internal::Storage< T, N, A >::reference = typename allocator_type::reference

Definition at line 69 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
using absl::inlined_vector_internal::Storage< T, N, A >::reverse_iterator = std::reverse_iterator<iterator>

Definition at line 76 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
using absl::inlined_vector_internal::Storage< T, N, A >::rvalue_reference = typename allocator_type::value_type&&

Definition at line 71 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
using absl::inlined_vector_internal::Storage< T, N, A >::size_type = typename allocator_type::size_type

Definition at line 72 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
using absl::inlined_vector_internal::Storage< T, N, A >::value_type = typename allocator_type::value_type

Definition at line 66 of file internal/inlined_vector.h.

Constructor & Destructor Documentation

template<typename T, size_t N, typename A>
absl::inlined_vector_internal::Storage< T, N, A >::Storage ( const allocator_type alloc)
inlineexplicit

Definition at line 80 of file internal/inlined_vector.h.

Member Function Documentation

template<typename T, size_t N, typename A>
void absl::inlined_vector_internal::Storage< T, N, A >::AddSize ( size_type  count)
inline

Definition at line 121 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
size_type absl::inlined_vector_internal::Storage< T, N, A >::GetAllocatedCapacity ( ) const
inline

Definition at line 103 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
pointer absl::inlined_vector_internal::Storage< T, N, A >::GetAllocatedData ( )
inline

Definition at line 97 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
const_pointer absl::inlined_vector_internal::Storage< T, N, A >::GetAllocatedData ( ) const
inline

Definition at line 99 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
allocator_type* absl::inlined_vector_internal::Storage< T, N, A >::GetAllocPtr ( )
inline

Definition at line 107 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
const allocator_type* absl::inlined_vector_internal::Storage< T, N, A >::GetAllocPtr ( ) const
inline

Definition at line 111 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
pointer absl::inlined_vector_internal::Storage< T, N, A >::GetInlinedData ( )
inline

Definition at line 87 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
const_pointer absl::inlined_vector_internal::Storage< T, N, A >::GetInlinedData ( ) const
inline

Definition at line 92 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
bool absl::inlined_vector_internal::Storage< T, N, A >::GetIsAllocated ( ) const
inline

Definition at line 85 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
size_type absl::inlined_vector_internal::Storage< T, N, A >::GetSize ( ) const
inline

Definition at line 83 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
size_type& absl::inlined_vector_internal::Storage< T, N, A >::GetSizeAndIsAllocated ( )
inlineprivate

Definition at line 140 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
const size_type& absl::inlined_vector_internal::Storage< T, N, A >::GetSizeAndIsAllocated ( ) const
inlineprivate

Definition at line 142 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
void absl::inlined_vector_internal::Storage< T, N, A >::SetAllocatedCapacity ( size_type  capacity)
inline

Definition at line 125 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
void absl::inlined_vector_internal::Storage< T, N, A >::SetAllocatedData ( pointer  data)
inline

Definition at line 123 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
void absl::inlined_vector_internal::Storage< T, N, A >::SetAllocatedSize ( size_type  size)
inline

Definition at line 115 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
void absl::inlined_vector_internal::Storage< T, N, A >::SetInlinedSize ( size_type  size)
inline

Definition at line 119 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
void absl::inlined_vector_internal::Storage< T, N, A >::SwapAllocatedSizeAndCapacity ( Storage< T, N, A > *  other)
inline

Definition at line 134 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
void absl::inlined_vector_internal::Storage< T, N, A >::SwapSizeAndIsAllocated ( Storage< T, N, A > *  other)
inline

Definition at line 129 of file internal/inlined_vector.h.

Member Data Documentation

template<typename T, size_t N, typename A>
Data absl::inlined_vector_internal::Storage< T, N, A >::data_
private

Definition at line 166 of file internal/inlined_vector.h.

template<typename T, size_t N, typename A>
Metadata absl::inlined_vector_internal::Storage< T, N, A >::metadata_
private

Definition at line 165 of file internal/inlined_vector.h.


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


abseil_cpp
Author(s):
autogenerated on Wed Jun 19 2019 19:19:59