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

#include <command_line_interface.h>

Inheritance diagram for google::protobuf::RepeatedPtrField< Element >:
google::protobuf.internal::RepeatedPtrFieldBase

Classes

class  TypeHandler
 

Public Member Functions

 RepeatedPtrField ()
 
 RepeatedPtrField (::google::protobuf::Arena *arena)
 
 RepeatedPtrField (const RepeatedPtrField &other)
 
template<typename Iter >
 RepeatedPtrField (Iter begin, const Iter &end)
 
 ~RepeatedPtrField ()
 
RepeatedPtrField & operator= (const RepeatedPtrField &other)
 
bool empty () const
 
int size () const
 
const Element & Get (int index) const
 
Element * Mutable (int index)
 
Element * Add ()
 
void RemoveLast ()
 
void DeleteSubrange (int start, int num)
 
void Clear ()
 
void MergeFrom (const RepeatedPtrField &other)
 
void CopyFrom (const RepeatedPtrField &other)
 
void Reserve (int new_size)
 
int Capacity () const
 
Element ** mutable_data ()
 
const Element *const * data () const
 
void Swap (RepeatedPtrField *other)
 
void UnsafeArenaSwap (RepeatedPtrField *other)
 
void SwapElements (int index1, int index2)
 
- Public Member Functions inherited from google::protobuf.internal::RepeatedPtrFieldBase
template<typename TypeHandler >
void Swap (RepeatedPtrFieldBase *other)
 
template<typename TypeHandler >
void SwapFallback (RepeatedPtrFieldBase *other)
 
template<typename TypeHandler >
void AddAllocatedSlowWithCopy (typename TypeHandler::Type *value, Arena *value_arena, Arena *my_arena)
 

Protected Member Functions

Arena * GetArenaNoVirtual () const
 
- Protected Member Functions inherited from google::protobuf.internal::RepeatedPtrFieldBase
 RepeatedPtrFieldBase ()
 
 RepeatedPtrFieldBase (::google::protobuf::Arena *arena)
 
 ~RepeatedPtrFieldBase ()
 
template<typename TypeHandler >
void Destroy ()
 
bool empty () const
 
int size () const
 
template<typename TypeHandler >
const TypeHandler::Type & Get (int index) const
 
template<typename TypeHandler >
TypeHandler::Type * Mutable (int index)
 
template<typename TypeHandler >
void Delete (int index)
 
template<typename TypeHandler >
TypeHandler::Type * Add (typename TypeHandler::Type *prototype=NULL)
 
template<typename TypeHandler >
void RemoveLast ()
 
template<typename TypeHandler >
void Clear ()
 
template<typename TypeHandler >
void MergeFrom (const RepeatedPtrFieldBase &other)
 
template<typename TypeHandler >
void CopyFrom (const RepeatedPtrFieldBase &other)
 
void CloseGap (int start, int num)
 
void Reserve (int new_size)
 
int Capacity () const
 
void *const * raw_data () const
 
void ** raw_mutable_data () const
 
template<typename TypeHandler >
TypeHandler::Type ** mutable_data ()
 
template<typename TypeHandler >
const TypeHandler::Type *const * data () const
 
template<typename TypeHandler >
GOOGLE_ATTRIBUTE_ALWAYS_INLINE void Swap (RepeatedPtrFieldBase *other)
 
void SwapElements (int index1, int index2)
 
template<typename TypeHandler >
int SpaceUsedExcludingSelf () const
 
template<typename TypeHandler >
TypeHandler::Type * AddFromCleared ()
 
template<typename TypeHandler >
void AddAllocated (typename TypeHandler::Type *value)
 
template<typename TypeHandler >
void UnsafeArenaAddAllocated (typename TypeHandler::Type *value)
 
template<typename TypeHandler >
TypeHandler::Type * ReleaseLast ()
 
template<typename TypeHandler >
TypeHandler::Type * UnsafeArenaReleaseLast ()
 
int ClearedCount () const
 
template<typename TypeHandler >
void AddCleared (typename TypeHandler::Type *value)
 
template<typename TypeHandler >
TypeHandler::Type * ReleaseCleared ()
 
void InternalSwap (RepeatedPtrFieldBase *other)
 
template<typename TypeHandler >
void AddAllocatedInternal (typename TypeHandler::Type *value, google::protobuf::internal::true_type)
 
template<typename TypeHandler >
void AddAllocatedInternal (typename TypeHandler::Type *value, google::protobuf::internal::false_type)
 
template<typename TypeHandler >
GOOGLE_ATTRIBUTE_NOINLINE void AddAllocatedSlowWithCopy (typename TypeHandler::Type *value, Arena *value_arena, Arena *my_arena)
 
template<typename TypeHandler >
GOOGLE_ATTRIBUTE_NOINLINE void AddAllocatedSlowWithoutCopy (typename TypeHandler::Type *value)
 
template<typename TypeHandler >
TypeHandler::Type * ReleaseLastInternal (google::protobuf::internal::true_type)
 
template<typename TypeHandler >
TypeHandler::Type * ReleaseLastInternal (google::protobuf::internal::false_type)
 
template<typename TypeHandler >
GOOGLE_ATTRIBUTE_NOINLINE void SwapFallback (RepeatedPtrFieldBase *other)
 
Arena * GetArenaNoVirtual () const
 

Friends

class Arena
 

Constructor & Destructor Documentation

◆ RepeatedPtrField() [1/4]

template<typename Element >
google::protobuf::RepeatedPtrField< Element >::RepeatedPtrField ( )
inline

◆ RepeatedPtrField() [2/4]

template<typename Element >
google::protobuf::RepeatedPtrField< Element >::RepeatedPtrField ( ::google::protobuf::Arena *  arena)
inlineexplicit

◆ RepeatedPtrField() [3/4]

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

◆ RepeatedPtrField() [4/4]

template<typename Element >
template<typename Iter >
google::protobuf::RepeatedPtrField< Element >::RepeatedPtrField ( Iter  begin,
const Iter &  end 
)
inline

◆ ~RepeatedPtrField()

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

Member Function Documentation

◆ Add()

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

◆ Capacity()

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

◆ Clear()

template<typename Element >
void google::protobuf::RepeatedPtrField< Element >::Clear ( )
inline

◆ CopyFrom()

template<typename Element >
void google::protobuf::RepeatedPtrField< Element >::CopyFrom ( const RepeatedPtrField< Element > &  other)
inline

◆ data()

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

◆ DeleteSubrange()

template<typename Element >
void google::protobuf::RepeatedPtrField< Element >::DeleteSubrange ( int  start,
int  num 
)
inline

◆ empty()

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

◆ Get()

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

◆ GetArenaNoVirtual()

template<typename Element >
Arena * google::protobuf::RepeatedPtrField< Element >::GetArenaNoVirtual ( ) const
inlineprotected

◆ MergeFrom()

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

◆ Mutable()

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

◆ mutable_data()

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

◆ operator=()

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

◆ RemoveLast()

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

◆ Reserve()

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

◆ size()

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

◆ Swap()

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

◆ SwapElements()

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

◆ UnsafeArenaSwap()

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

Friends And Related Function Documentation

◆ Arena

template<typename Element>
friend class Arena
friend

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