webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Types | Public Member Functions | Friends | List of all members
google::protobuf::RepeatedField< Element > Class Template Reference

#include <message.h>

Public Types

typedef Elementiterator
 
typedef const Elementconst_iterator
 
typedef Element value_type
 
typedef value_typereference
 
typedef const value_typeconst_reference
 
typedef value_typepointer
 
typedef const value_typeconst_pointer
 
typedef int size_type
 
typedef ptrdiff_t difference_type
 
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 
typedef std::reverse_iterator< iteratorreverse_iterator
 

Public Member Functions

 RepeatedField ()
 
 RepeatedField (Arena *arena)
 
 RepeatedField (const RepeatedField &other)
 
template<typename Iter >
 RepeatedField (Iter begin, const Iter &end)
 
 ~RepeatedField ()
 
RepeatedFieldoperator= (const RepeatedField &other)
 
bool empty () const
 
int size () const
 
const ElementGet (int index) const
 
ElementMutable (int index)
 
void Set (int index, const Element &value)
 
void Add (const Element &value)
 
ElementAdd ()
 
void RemoveLast ()
 
void ExtractSubrange (int start, int num, Element *elements)
 
void Clear ()
 
void MergeFrom (const RepeatedField &other)
 
void CopyFrom (const RepeatedField &other)
 
void Reserve (int new_size)
 
void Truncate (int new_size)
 
void AddAlreadyReserved (const Element &value)
 
ElementAddAlreadyReserved ()
 
int Capacity () const
 
void Resize (int new_size, const Element &value)
 
Elementmutable_data ()
 
const Elementdata () const
 
void Swap (RepeatedField *other)
 
void UnsafeArenaSwap (RepeatedField *other)
 
void SwapElements (int index1, int index2)
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
iterator end ()
 
const_iterator end () const
 
const_iterator cend () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
int SpaceUsedExcludingSelf () const
 
iterator erase (const_iterator position)
 
iterator erase (const_iterator first, const_iterator last)
 
::google::protobuf::ArenaGetArena () const
 

Friends

class Arena
 

Member Typedef Documentation

◆ const_iterator

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

◆ const_pointer

◆ const_reference

◆ const_reverse_iterator

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

◆ difference_type

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

◆ iterator

◆ pointer

◆ reference

◆ reverse_iterator

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

◆ size_type

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

◆ value_type

Constructor & Destructor Documentation

◆ RepeatedField() [1/4]

template<typename Element >
RepeatedField::RepeatedField ( )
inline

◆ RepeatedField() [2/4]

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

◆ RepeatedField() [3/4]

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

◆ RepeatedField() [4/4]

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

◆ ~RepeatedField()

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

Member Function Documentation

◆ Add() [1/2]

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

◆ Add() [2/2]

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

◆ AddAlreadyReserved() [1/2]

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

◆ AddAlreadyReserved() [2/2]

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

◆ begin() [1/2]

template<typename Element >
RepeatedField< Element >::iterator RepeatedField::begin ( )
inline

◆ begin() [2/2]

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

◆ Capacity()

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

◆ cbegin()

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

◆ cend()

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

◆ Clear()

template<typename Element >
void RepeatedField::Clear ( )
inline

◆ CopyFrom()

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

◆ data()

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

◆ empty()

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

◆ end() [1/2]

template<typename Element >
RepeatedField< Element >::iterator RepeatedField::end ( )
inline

◆ end() [2/2]

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

◆ erase() [1/2]

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

◆ erase() [2/2]

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

◆ ExtractSubrange()

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

◆ Get()

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

◆ GetArena()

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

◆ MergeFrom()

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

◆ Mutable()

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

◆ mutable_data()

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

◆ operator=()

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

◆ rbegin() [1/2]

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

◆ rbegin() [2/2]

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

◆ RemoveLast()

template<typename Element >
void RepeatedField::RemoveLast ( )
inline

◆ rend() [1/2]

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

◆ rend() [2/2]

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

◆ Reserve()

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

◆ Resize()

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

◆ Set()

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

◆ size()

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

◆ SpaceUsedExcludingSelf()

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

◆ Swap()

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

◆ SwapElements()

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

◆ Truncate()

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

◆ UnsafeArenaSwap()

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

Friends And Related Function Documentation

◆ Arena

template<typename Element>
friend class Arena
friend

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