Classes | Public Types | Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | Friends | List of all members
google::protobuf::RepeatedField< Element > Class Template Reference

#include <message.h>

Classes

class  FastAdderImpl
 
class  FastAdderImpl< I, false >
 
struct  Rep
 

Public Types

typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 
typedef ptrdiff_t difference_type
 
typedef ptrdiff_t difference_type
 
typedef Element * iterator
 
typedef Element * iterator
 
typedef value_typepointer
 
typedef value_typepointer
 
typedef value_typereference
 
typedef value_typereference
 
typedef std::reverse_iterator< iteratorreverse_iterator
 
typedef std::reverse_iterator< iteratorreverse_iterator
 
typedef int size_type
 
typedef int size_type
 
typedef Element value_type
 
typedef Element value_type
 

Public Member Functions

Element * Add ()
 
Element * Add ()
 
void Add (const Element &value)
 
void Add (const Element &value)
 
template<typename Iter >
void Add (Iter begin, Iter end)
 
template<typename Iter >
void Add (Iter begin, Iter end)
 
Element * AddAlreadyReserved ()
 
Element * AddAlreadyReserved ()
 
void AddAlreadyReserved (const Element &value)
 
void AddAlreadyReserved (const Element &value)
 
Element * AddNAlreadyReserved (int elements)
 
Element * AddNAlreadyReserved (int elements)
 
template<typename Iter >
PROTOBUF_ATTRIBUTE_REINITIALIZES void Assign (Iter begin, Iter end)
 
template<typename Iter >
void Assign (Iter begin, Iter end)
 
Element & at (int index)
 
Element & at (int index)
 
const Element & at (int index) const
 
const Element & at (int index) const
 
iterator begin ()
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator begin () const
 
int Capacity () const
 
int Capacity () const
 
const_iterator cbegin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
const_iterator cend () const
 
void Clear ()
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear ()
 
void CopyFrom (const RepeatedField &other)
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void CopyFrom (const RepeatedField &other)
 
const Element * data () const
 
const Element * data () const
 
bool empty () const
 
bool empty () const
 
iterator end ()
 
iterator end ()
 
const_iterator end () const
 
const_iterator end () const
 
iterator erase (const_iterator first, const_iterator last)
 
iterator erase (const_iterator first, const_iterator last)
 
iterator erase (const_iterator position)
 
iterator erase (const_iterator position)
 
void ExtractSubrange (int start, int num, Element *elements)
 
void ExtractSubrange (int start, int num, Element *elements)
 
const Element & Get (int index) const
 
const Element & Get (int index) const
 
ArenaGetArena () const
 
ArenaGetArena () const
 
void InternalSwap (RepeatedField *other)
 
void InternalSwap (RepeatedField *other)
 
void MergeFrom (const RepeatedField &other)
 
void MergeFrom (const RepeatedField &other)
 
Element * Mutable (int index)
 
Element * Mutable (int index)
 
Element * mutable_data ()
 
Element * mutable_data ()
 
RepeatedFieldoperator= (const RepeatedField &other)
 
RepeatedFieldoperator= (const RepeatedField &other)
 
RepeatedFieldoperator= (RepeatedField &&other) noexcept
 
RepeatedFieldoperator= (RepeatedField &&other) noexcept
 
Element & operator[] (int index)
 
Element & operator[] (int index)
 
const Element & operator[] (int index) const
 
const Element & operator[] (int index) const
 
reverse_iterator rbegin ()
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rbegin () const
 
void RemoveLast ()
 
void RemoveLast ()
 
reverse_iterator rend ()
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
const_reverse_iterator rend () const
 
 RepeatedField ()
 
constexpr RepeatedField ()
 
 RepeatedField (Arena *arena)
 
 RepeatedField (Arena *arena)
 
 RepeatedField (const RepeatedField &other)
 
 RepeatedField (const RepeatedField &other)
 
template<typename Iter >
 RepeatedField (Iter begin, const Iter &end)
 
template<typename Iter , typename = typename std::enable_if<std::is_constructible< Element, decltype(*std::declval<Iter>())>::value, ::type >
 RepeatedField (Iter begin, Iter end)
 
template<typename Iter , typename >
 RepeatedField (Iter begin, Iter end)
 
 RepeatedField (RepeatedField &&other) noexcept
 
 RepeatedField (RepeatedField &&other) noexcept
 
void Reserve (int new_size)
 
void Reserve (int new_size)
 
void Resize (int new_size, const Element &value)
 
void Resize (int new_size, const Element &value)
 
void Set (int index, const Element &value)
 
void Set (int index, const Element &value)
 
int size () const
 
int size () const
 
int SpaceUsedExcludingSelf () const
 
int SpaceUsedExcludingSelf () const
 
size_t SpaceUsedExcludingSelfLong () const
 
size_t SpaceUsedExcludingSelfLong () const
 
void Swap (RepeatedField *other)
 
void Swap (RepeatedField *other)
 
void SwapElements (int index1, int index2)
 
void SwapElements (int index1, int index2)
 
void Truncate (int new_size)
 
void Truncate (int new_size)
 
void UnsafeArenaSwap (RepeatedField *other)
 
void UnsafeArenaSwap (RepeatedField *other)
 
 ~RepeatedField ()
 
 ~RepeatedField ()
 

Public Attributes

const typedef Element * const_iterator
 
const typedef value_typeconst_pointer
 
const typedef value_typeconst_reference
 

Private Types

using FastAdder = FastAdderImpl<>
 
typedef void InternalArenaConstructable_
 
typedef void InternalArenaConstructable_
 

Private Member Functions

void CopyArray (Element *to, const Element *from, int size)
 
void CopyArray (Element *to, const Element *from, int size)
 
Element * elements () const
 
Element * elements () const
 
ArenaGetArenaNoVirtual () const
 
void InternalDeallocate (Rep *rep, int size)
 
void InternalDeallocate (Rep *rep, int size)
 
void MoveArray (Element *to, Element *from, int size)
 
void MoveArray (Element *to, Element *from, int size)
 
Reprep () const
 
Reprep () const
 
Element * unsafe_elements () const
 
Element * unsafe_elements () const
 

Private Attributes

void * arena_or_elements_
 
int current_size_
 
int total_size_
 

Static Private Attributes

static const int kInitialSize = 0
 
static constexpr int kInitialSize = 0
 
static const size_t kRepHeaderSize
 
static constexpr size_t kRepHeaderSize = offsetof(Rep, elements)
 

Friends

class ::google::protobuf::internal::ParseContext
 
class Arena
 
class TestRepeatedFieldHelper
 

Detailed Description

template<typename Element>
class google::protobuf::RepeatedField< Element >

Definition at line 184 of file bloaty/third_party/protobuf/src/google/protobuf/message.h.

Member Typedef Documentation

◆ const_reverse_iterator [1/2]

template<typename Element >
typedef std::reverse_iterator<const_iterator> google::protobuf::RepeatedField< Element >::const_reverse_iterator

◆ const_reverse_iterator [2/2]

template<typename Element >
typedef std::reverse_iterator<const_iterator> google::protobuf::RepeatedField< Element >::const_reverse_iterator

◆ difference_type [1/2]

template<typename Element >
typedef ptrdiff_t google::protobuf::RepeatedField< Element >::difference_type

◆ difference_type [2/2]

template<typename Element >
typedef ptrdiff_t google::protobuf::RepeatedField< Element >::difference_type

◆ FastAdder

template<typename Element >
using google::protobuf::RepeatedField< Element >::FastAdder = FastAdderImpl<>
private

◆ InternalArenaConstructable_ [1/2]

template<typename Element >
typedef void google::protobuf::RepeatedField< Element >::InternalArenaConstructable_
private

◆ InternalArenaConstructable_ [2/2]

template<typename Element >
typedef void google::protobuf::RepeatedField< Element >::InternalArenaConstructable_
private

◆ iterator [1/2]

template<typename Element >
typedef Element* google::protobuf::RepeatedField< Element >::iterator

◆ iterator [2/2]

template<typename Element >
typedef Element* google::protobuf::RepeatedField< Element >::iterator

◆ pointer [1/2]

template<typename Element >
typedef value_type* google::protobuf::RepeatedField< Element >::pointer

◆ pointer [2/2]

template<typename Element >
typedef value_type* google::protobuf::RepeatedField< Element >::pointer

◆ reference [1/2]

template<typename Element >
typedef value_type& google::protobuf::RepeatedField< Element >::reference

◆ reference [2/2]

template<typename Element >
typedef value_type& google::protobuf::RepeatedField< Element >::reference

◆ reverse_iterator [1/2]

template<typename Element >
typedef std::reverse_iterator<iterator> google::protobuf::RepeatedField< Element >::reverse_iterator

◆ reverse_iterator [2/2]

template<typename Element >
typedef std::reverse_iterator<iterator> google::protobuf::RepeatedField< Element >::reverse_iterator

◆ size_type [1/2]

template<typename Element >
typedef int google::protobuf::RepeatedField< Element >::size_type

◆ size_type [2/2]

template<typename Element >
typedef int google::protobuf::RepeatedField< Element >::size_type

◆ value_type [1/2]

template<typename Element >
typedef Element google::protobuf::RepeatedField< Element >::value_type

◆ value_type [2/2]

template<typename Element >
typedef Element google::protobuf::RepeatedField< Element >::value_type

Constructor & Destructor Documentation

◆ RepeatedField() [1/11]

template<typename Element >
constexpr RepeatedField::RepeatedField
inlineconstexpr

◆ RepeatedField() [2/11]

template<typename Element >
RepeatedField::RepeatedField ( Arena arena)
inlineexplicit

◆ RepeatedField() [3/11]

template<typename Element >
RepeatedField::RepeatedField ( const RepeatedField< Element > &  other)
inline

◆ RepeatedField() [4/11]

template<typename Element >
template<typename Iter >
RepeatedField::RepeatedField ( Iter  begin,
const Iter &  end 
)

◆ ~RepeatedField() [1/2]

template<typename Element >
RepeatedField::~RepeatedField

◆ RepeatedField() [5/11]

template<typename Element >
RepeatedField::RepeatedField ( RepeatedField< Element > &&  other)
inlinenoexcept

◆ RepeatedField() [6/11]

template<typename Element >
constexpr google::protobuf::RepeatedField< Element >::RepeatedField ( )
constexpr

◆ RepeatedField() [7/11]

template<typename Element >
google::protobuf::RepeatedField< Element >::RepeatedField ( Arena arena)
explicit

◆ RepeatedField() [8/11]

template<typename Element >
google::protobuf::RepeatedField< Element >::RepeatedField ( const RepeatedField< Element > &  other)

◆ RepeatedField() [9/11]

template<typename Element >
template<typename Iter , typename = typename std::enable_if<std::is_constructible< Element, decltype(*std::declval<Iter>())>::value, ::type >
google::protobuf::RepeatedField< Element >::RepeatedField ( Iter  begin,
Iter  end 
)

◆ ~RepeatedField() [2/2]

template<typename Element >
google::protobuf::RepeatedField< Element >::~RepeatedField ( )

◆ RepeatedField() [10/11]

template<typename Element >
google::protobuf::RepeatedField< Element >::RepeatedField ( RepeatedField< Element > &&  other)
noexcept

◆ RepeatedField() [11/11]

template<typename Element >
template<typename Iter , typename >
google::protobuf::RepeatedField< Element >::RepeatedField ( Iter  begin,
Iter  end 
)

Member Function Documentation

◆ Add() [1/6]

template<typename Element >
Element * RepeatedField::Add
inline

◆ Add() [2/6]

template<typename Element >
Element* google::protobuf::RepeatedField< Element >::Add ( )

◆ Add() [3/6]

template<typename Element >
void RepeatedField::Add ( const Element &  value)
inline

◆ Add() [4/6]

template<typename Element >
void google::protobuf::RepeatedField< Element >::Add ( const Element &  value)

◆ Add() [5/6]

template<typename Element >
template<typename Iter >
void RepeatedField::Add ( Iter  begin,
Iter  end 
)
inline

◆ Add() [6/6]

template<typename Element >
template<typename Iter >
void google::protobuf::RepeatedField< Element >::Add ( Iter  begin,
Iter  end 
)

◆ AddAlreadyReserved() [1/4]

template<typename Element >
Element * RepeatedField::AddAlreadyReserved
inline

◆ AddAlreadyReserved() [2/4]

template<typename Element >
Element* google::protobuf::RepeatedField< Element >::AddAlreadyReserved ( )

◆ AddAlreadyReserved() [3/4]

template<typename Element >
void RepeatedField::AddAlreadyReserved ( const Element &  value)
inline

◆ AddAlreadyReserved() [4/4]

template<typename Element >
void google::protobuf::RepeatedField< Element >::AddAlreadyReserved ( const Element &  value)

◆ AddNAlreadyReserved() [1/2]

template<typename Element >
Element * RepeatedField::AddNAlreadyReserved ( int  elements)
inline

◆ AddNAlreadyReserved() [2/2]

template<typename Element >
Element* google::protobuf::RepeatedField< Element >::AddNAlreadyReserved ( int  elements)

◆ Assign() [1/2]

template<typename Element >
template<typename Iter >
PROTOBUF_ATTRIBUTE_REINITIALIZES void google::protobuf::RepeatedField< Element >::Assign ( Iter  begin,
Iter  end 
)

◆ Assign() [2/2]

template<typename Element >
template<typename Iter >
void google::protobuf::RepeatedField< Element >::Assign ( Iter  begin,
Iter  end 
)
inline

◆ at() [1/4]

template<typename Element >
Element & RepeatedField::at ( int  index)
inline

◆ at() [2/4]

template<typename Element >
Element& google::protobuf::RepeatedField< Element >::at ( int  index)

◆ at() [3/4]

template<typename Element >
const Element & RepeatedField::at ( int  index) const
inline

◆ at() [4/4]

template<typename Element >
const Element& google::protobuf::RepeatedField< Element >::at ( int  index) const

◆ begin() [1/4]

template<typename Element >
RepeatedField< Element >::const_iterator RepeatedField::begin
inline

◆ begin() [2/4]

template<typename Element >
iterator google::protobuf::RepeatedField< Element >::begin ( )

◆ begin() [3/4]

template<typename Element >
const_iterator google::protobuf::RepeatedField< Element >::begin ( ) const

◆ begin() [4/4]

template<typename Element >
const_iterator google::protobuf::RepeatedField< Element >::begin ( ) const

◆ Capacity() [1/2]

template<typename Element >
int RepeatedField::Capacity
inline

◆ Capacity() [2/2]

template<typename Element >
int google::protobuf::RepeatedField< Element >::Capacity ( ) const

◆ cbegin() [1/2]

template<typename Element >
RepeatedField< Element >::const_iterator RepeatedField::cbegin
inline

◆ cbegin() [2/2]

template<typename Element >
const_iterator google::protobuf::RepeatedField< Element >::cbegin ( ) const

◆ cend() [1/2]

template<typename Element >
RepeatedField< Element >::const_iterator RepeatedField::cend
inline

◆ cend() [2/2]

template<typename Element >
const_iterator google::protobuf::RepeatedField< Element >::cend ( ) const

◆ Clear() [1/2]

template<typename Element >
void RepeatedField::Clear
inline

◆ Clear() [2/2]

template<typename Element >
PROTOBUF_ATTRIBUTE_REINITIALIZES void google::protobuf::RepeatedField< Element >::Clear ( )

◆ CopyArray() [1/2]

template<typename Element >
void RepeatedField::CopyArray ( Element *  to,
const Element *  from,
int  size 
)
inlineprivate

◆ CopyArray() [2/2]

template<typename Element >
void google::protobuf::RepeatedField< Element >::CopyArray ( Element *  to,
const Element *  from,
int  size 
)
private

◆ CopyFrom() [1/2]

template<typename Element >
void RepeatedField::CopyFrom ( const RepeatedField< Element > &  other)
inline

◆ CopyFrom() [2/2]

template<typename Element >
PROTOBUF_ATTRIBUTE_REINITIALIZES void google::protobuf::RepeatedField< Element >::CopyFrom ( const RepeatedField< Element > &  other)

◆ data() [1/2]

template<typename Element >
const Element * RepeatedField::data
inline

◆ data() [2/2]

template<typename Element >
const Element* google::protobuf::RepeatedField< Element >::data ( ) const

◆ elements() [1/2]

template<typename Element >
Element* google::protobuf::RepeatedField< Element >::elements ( ) const
inlineprivate

◆ elements() [2/2]

template<typename Element >
Element* google::protobuf::RepeatedField< Element >::elements ( ) const
inlineprivate

◆ empty() [1/2]

template<typename Element >
bool RepeatedField::empty
inline

◆ empty() [2/2]

template<typename Element >
bool google::protobuf::RepeatedField< Element >::empty ( ) const

◆ end() [1/4]

template<typename Element >
RepeatedField< Element >::const_iterator RepeatedField::end
inline

◆ end() [2/4]

template<typename Element >
iterator google::protobuf::RepeatedField< Element >::end ( )

◆ end() [3/4]

template<typename Element >
const_iterator google::protobuf::RepeatedField< Element >::end ( ) const

◆ end() [4/4]

template<typename Element >
const_iterator google::protobuf::RepeatedField< Element >::end ( ) const

◆ erase() [1/4]

template<typename Element >
RepeatedField< Element >::iterator RepeatedField::erase ( const_iterator  first,
const_iterator  last 
)
inline

◆ erase() [2/4]

template<typename Element >
iterator google::protobuf::RepeatedField< Element >::erase ( const_iterator  first,
const_iterator  last 
)

◆ erase() [3/4]

template<typename Element >
RepeatedField< Element >::iterator RepeatedField::erase ( const_iterator  position)
inline

◆ erase() [4/4]

template<typename Element >
iterator google::protobuf::RepeatedField< Element >::erase ( const_iterator  position)

◆ ExtractSubrange() [1/2]

template<typename Element >
void RepeatedField::ExtractSubrange ( int  start,
int  num,
Element *  elements 
)

◆ ExtractSubrange() [2/2]

template<typename Element >
void google::protobuf::RepeatedField< Element >::ExtractSubrange ( int  start,
int  num,
Element *  elements 
)

◆ Get() [1/2]

template<typename Element >
const Element & RepeatedField::Get ( int  index) const
inline

◆ Get() [2/2]

template<typename Element >
const Element& google::protobuf::RepeatedField< Element >::Get ( int  index) const

◆ GetArena() [1/2]

template<typename Element >
Arena* google::protobuf::RepeatedField< Element >::GetArena ( ) const
inline

◆ GetArena() [2/2]

template<typename Element >
Arena* google::protobuf::RepeatedField< Element >::GetArena ( ) const
inline

◆ GetArenaNoVirtual()

template<typename Element >
Arena* google::protobuf::RepeatedField< Element >::GetArenaNoVirtual ( ) const
inlineprivate

◆ InternalDeallocate() [1/2]

template<typename Element >
void google::protobuf::RepeatedField< Element >::InternalDeallocate ( Rep rep,
int  size 
)
inlineprivate

◆ InternalDeallocate() [2/2]

template<typename Element >
void google::protobuf::RepeatedField< Element >::InternalDeallocate ( Rep rep,
int  size 
)
inlineprivate

◆ InternalSwap() [1/2]

template<typename Element >
void RepeatedField::InternalSwap ( RepeatedField< Element > *  other)
inline

◆ InternalSwap() [2/2]

template<typename Element >
void google::protobuf::RepeatedField< Element >::InternalSwap ( RepeatedField< Element > *  other)
inline

◆ MergeFrom() [1/2]

template<typename Element >
void RepeatedField::MergeFrom ( const RepeatedField< Element > &  other)
inline

◆ MergeFrom() [2/2]

template<typename Element >
void google::protobuf::RepeatedField< Element >::MergeFrom ( const RepeatedField< Element > &  other)

◆ MoveArray() [1/2]

template<typename Element >
void RepeatedField::MoveArray ( Element *  to,
Element *  from,
int  size 
)
inlineprivate

◆ MoveArray() [2/2]

template<typename Element >
void google::protobuf::RepeatedField< Element >::MoveArray ( Element *  to,
Element *  from,
int  size 
)
private

◆ Mutable() [1/2]

template<typename Element >
Element * RepeatedField::Mutable ( int  index)
inline

◆ Mutable() [2/2]

template<typename Element >
Element* google::protobuf::RepeatedField< Element >::Mutable ( int  index)

◆ mutable_data() [1/2]

template<typename Element >
Element * RepeatedField::mutable_data
inline

◆ mutable_data() [2/2]

template<typename Element >
Element* google::protobuf::RepeatedField< Element >::mutable_data ( )

◆ operator=() [1/4]

template<typename Element >
RepeatedField< Element > & RepeatedField::operator= ( const RepeatedField< Element > &  other)
inline

◆ operator=() [2/4]

template<typename Element >
RepeatedField& google::protobuf::RepeatedField< Element >::operator= ( const RepeatedField< Element > &  other)

◆ operator=() [3/4]

template<typename Element >
RepeatedField< Element > & RepeatedField::operator= ( RepeatedField< Element > &&  other)
inlinenoexcept

◆ operator=() [4/4]

template<typename Element >
RepeatedField& google::protobuf::RepeatedField< Element >::operator= ( RepeatedField< Element > &&  other)
noexcept

◆ operator[]() [1/4]

template<typename Element >
Element& google::protobuf::RepeatedField< Element >::operator[] ( int  index)
inline

◆ operator[]() [2/4]

template<typename Element >
Element& google::protobuf::RepeatedField< Element >::operator[] ( int  index)
inline

◆ operator[]() [3/4]

template<typename Element >
const Element& google::protobuf::RepeatedField< Element >::operator[] ( int  index) const
inline

◆ operator[]() [4/4]

template<typename Element >
const Element& google::protobuf::RepeatedField< Element >::operator[] ( int  index) const
inline

◆ rbegin() [1/4]

template<typename Element >
reverse_iterator google::protobuf::RepeatedField< Element >::rbegin ( )
inline

◆ rbegin() [2/4]

template<typename Element >
reverse_iterator google::protobuf::RepeatedField< Element >::rbegin ( )
inline

◆ rbegin() [3/4]

template<typename Element >
const_reverse_iterator google::protobuf::RepeatedField< Element >::rbegin ( ) const
inline

◆ rbegin() [4/4]

template<typename Element >
const_reverse_iterator google::protobuf::RepeatedField< Element >::rbegin ( ) const
inline

◆ RemoveLast() [1/2]

template<typename Element >
void RepeatedField::RemoveLast
inline

◆ RemoveLast() [2/2]

template<typename Element >
void google::protobuf::RepeatedField< Element >::RemoveLast ( )

◆ rend() [1/4]

template<typename Element >
reverse_iterator google::protobuf::RepeatedField< Element >::rend ( )
inline

◆ rend() [2/4]

template<typename Element >
reverse_iterator google::protobuf::RepeatedField< Element >::rend ( )
inline

◆ rend() [3/4]

template<typename Element >
const_reverse_iterator google::protobuf::RepeatedField< Element >::rend ( ) const
inline

◆ rend() [4/4]

template<typename Element >
const_reverse_iterator google::protobuf::RepeatedField< Element >::rend ( ) const
inline

◆ rep() [1/2]

template<typename Element >
Rep* google::protobuf::RepeatedField< Element >::rep ( ) const
inlineprivate

◆ rep() [2/2]

template<typename Element >
Rep* google::protobuf::RepeatedField< Element >::rep ( ) const
inlineprivate

◆ Reserve() [1/2]

template<typename Element >
void RepeatedField::Reserve ( int  new_size)

◆ Reserve() [2/2]

template<typename Element >
void google::protobuf::RepeatedField< Element >::Reserve ( int  new_size)

◆ Resize() [1/2]

template<typename Element >
void RepeatedField::Resize ( int  new_size,
const Element &  value 
)
inline

◆ Resize() [2/2]

template<typename Element >
void google::protobuf::RepeatedField< Element >::Resize ( int  new_size,
const Element &  value 
)

◆ Set() [1/2]

template<typename Element >
void RepeatedField::Set ( int  index,
const Element &  value 
)
inline

◆ Set() [2/2]

template<typename Element >
void google::protobuf::RepeatedField< Element >::Set ( int  index,
const Element &  value 
)

◆ size() [1/2]

template<typename Element >
int RepeatedField::size
inline

◆ size() [2/2]

template<typename Element >
int google::protobuf::RepeatedField< Element >::size ( ) const

◆ SpaceUsedExcludingSelf() [1/2]

template<typename Element >
int google::protobuf::RepeatedField< Element >::SpaceUsedExcludingSelf ( ) const
inline

◆ SpaceUsedExcludingSelf() [2/2]

template<typename Element >
int google::protobuf::RepeatedField< Element >::SpaceUsedExcludingSelf ( ) const
inline

◆ SpaceUsedExcludingSelfLong() [1/2]

template<typename Element >
size_t RepeatedField::SpaceUsedExcludingSelfLong
inline

◆ SpaceUsedExcludingSelfLong() [2/2]

template<typename Element >
size_t google::protobuf::RepeatedField< Element >::SpaceUsedExcludingSelfLong ( ) const

◆ Swap() [1/2]

template<typename Element >
void RepeatedField::Swap ( RepeatedField< Element > *  other)

◆ Swap() [2/2]

template<typename Element >
void google::protobuf::RepeatedField< Element >::Swap ( RepeatedField< Element > *  other)

◆ SwapElements() [1/2]

template<typename Element >
void RepeatedField::SwapElements ( int  index1,
int  index2 
)

◆ SwapElements() [2/2]

template<typename Element >
void google::protobuf::RepeatedField< Element >::SwapElements ( int  index1,
int  index2 
)

◆ Truncate() [1/2]

template<typename Element >
void RepeatedField::Truncate ( int  new_size)
inline

◆ Truncate() [2/2]

template<typename Element >
void google::protobuf::RepeatedField< Element >::Truncate ( int  new_size)

◆ unsafe_elements() [1/2]

template<typename Element >
Element* google::protobuf::RepeatedField< Element >::unsafe_elements ( ) const
inlineprivate

◆ unsafe_elements() [2/2]

template<typename Element >
Element* google::protobuf::RepeatedField< Element >::unsafe_elements ( ) const
inlineprivate

◆ UnsafeArenaSwap() [1/2]

template<typename Element >
void RepeatedField::UnsafeArenaSwap ( RepeatedField< Element > *  other)

◆ UnsafeArenaSwap() [2/2]

template<typename Element >
void google::protobuf::RepeatedField< Element >::UnsafeArenaSwap ( RepeatedField< Element > *  other)

Friends And Related Function Documentation

◆ ::google::protobuf::internal::ParseContext

template<typename Element >
friend class ::google::protobuf::internal::ParseContext
friend

◆ Arena

template<typename Element >
Arena
friend

◆ TestRepeatedFieldHelper

template<typename Element >
friend class TestRepeatedFieldHelper
friend

Member Data Documentation

◆ arena_or_elements_

template<typename Element >
void * RepeatedField::arena_or_elements_
private

◆ const_iterator

template<typename Element >
const typedef Element * RepeatedField::const_iterator

◆ const_pointer

template<typename Element >
const typedef value_type * RepeatedField::const_pointer

◆ const_reference

template<typename Element >
const typedef value_type & RepeatedField::const_reference

◆ current_size_

template<typename Element >
int RepeatedField::current_size_
private

◆ kInitialSize [1/2]

template<typename Element >
const int google::protobuf::RepeatedField< Element >::kInitialSize = 0
staticprivate

◆ kInitialSize [2/2]

template<typename Element >
constexpr int google::protobuf::RepeatedField< Element >::kInitialSize = 0
staticconstexprprivate

◆ kRepHeaderSize [1/2]

template<typename Element >
const size_t RepeatedField::kRepHeaderSize
staticprivate
Initial value:
=
reinterpret_cast<size_t>(&reinterpret_cast<Rep*>(16)->elements[0]) - 16

Definition at line 290 of file bloaty/third_party/protobuf/src/google/protobuf/repeated_field.h.

◆ kRepHeaderSize [2/2]

template<typename Element >
constexpr size_t google::protobuf::RepeatedField< Element >::kRepHeaderSize = offsetof(Rep, elements)
staticconstexprprivate

◆ total_size_

template<typename Element >
int RepeatedField::total_size_
private

The documentation for this class was generated from the following files:
google::protobuf::RepeatedField::elements
Element * elements() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/repeated_field.h:299


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