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

#include <command_line_interface.h>

Classes

class  TypeHandler
 

Public Types

typedef internal::RepeatedPtrIterator< const Element > const_iterator
 
typedef internal::RepeatedPtrOverPtrsIterator< const Element *const, const void *const > const_pointer_iterator
 
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 
typedef ptrdiff_t difference_type
 
typedef internal::RepeatedPtrIterator< Element > iterator
 
typedef value_typepointer
 
typedef internal::RepeatedPtrOverPtrsIterator< Element *, void * > pointer_iterator
 
typedef value_typereference
 
typedef std::reverse_iterator< iteratorreverse_iterator
 
typedef int size_type
 
typedef Element value_type
 

Public Member Functions

Element * Add ()
 
void Add (Element &&value)
 
void AddAllocated (Element *value)
 
void AddCleared (Element *value)
 
Element & at (int index)
 
const Element & at (int index) const
 
iterator begin ()
 
const_iterator begin () const
 
int Capacity () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
void Clear ()
 
int ClearedCount () const
 
void CopyFrom (const RepeatedPtrField &other)
 
const Element *const * data () const
 
void DeleteSubrange (int start, int num)
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
iterator erase (const_iterator first, const_iterator last)
 
iterator erase (const_iterator position)
 
void ExtractSubrange (int start, int num, Element **elements)
 
const Element & Get (int index) const
 
ArenaGetArena () const
 
void MergeFrom (const RepeatedPtrField &other)
 
Element * Mutable (int index)
 
Element ** mutable_data ()
 
RepeatedPtrFieldoperator= (const RepeatedPtrField &other)
 
RepeatedPtrFieldoperator= (RepeatedPtrField &&other) noexcept
 
Element & operator[] (int index)
 
const Element & operator[] (int index) const
 
pointer_iterator pointer_begin ()
 
const_pointer_iterator pointer_begin () const
 
pointer_iterator pointer_end ()
 
const_pointer_iterator pointer_end () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
Element * ReleaseCleared ()
 
Element * ReleaseLast ()
 
void RemoveLast ()
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
 RepeatedPtrField ()
 
 RepeatedPtrField (Arena *arena)
 
 RepeatedPtrField (const RepeatedPtrField &other)
 
template<typename Iter >
 RepeatedPtrField (Iter begin, const Iter &end)
 
 RepeatedPtrField (RepeatedPtrField &&other) noexcept
 
void Reserve (int new_size)
 
int size () const
 
int SpaceUsedExcludingSelf () const
 
size_t SpaceUsedExcludingSelfLong () const
 
void Swap (RepeatedPtrField *other)
 
void SwapElements (int index1, int index2)
 
void UnsafeArenaAddAllocated (Element *value)
 
void UnsafeArenaExtractSubrange (int start, int num, Element **elements)
 
Element * UnsafeArenaReleaseLast ()
 
void UnsafeArenaSwap (RepeatedPtrField *other)
 
 ~RepeatedPtrField ()
 

Public Attributes

const typedef value_typeconst_pointer
 
const typedef value_typeconst_reference
 

Private Types

typedef void InternalArenaConstructable_
 

Private Member Functions

void ExtractSubrangeInternal (int start, int num, Element **elements, std::false_type)
 
void ExtractSubrangeInternal (int start, int num, Element **elements, std::true_type)
 
ArenaGetArenaNoVirtual () const
 

Friends

class Arena
 
class MessageLite
 

Detailed Description

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

Definition at line 62 of file command_line_interface.h.

Member Typedef Documentation

◆ const_iterator

template<typename Element >
typedef internal::RepeatedPtrIterator<const Element> google::protobuf::RepeatedPtrField< Element >::const_iterator

Definition at line 876 of file repeated_field.h.

◆ const_pointer_iterator

template<typename Element >
typedef internal::RepeatedPtrOverPtrsIterator<const Element* const, const void* const> google::protobuf::RepeatedPtrField< Element >::const_pointer_iterator

Definition at line 910 of file repeated_field.h.

◆ const_reverse_iterator

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

Definition at line 893 of file repeated_field.h.

◆ difference_type

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

Definition at line 883 of file repeated_field.h.

◆ InternalArenaConstructable_

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

Definition at line 1061 of file repeated_field.h.

◆ iterator

template<typename Element >
typedef internal::RepeatedPtrIterator<Element> google::protobuf::RepeatedPtrField< Element >::iterator

Definition at line 875 of file repeated_field.h.

◆ pointer

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

Definition at line 880 of file repeated_field.h.

◆ pointer_iterator

template<typename Element >
typedef internal::RepeatedPtrOverPtrsIterator<Element*, void*> google::protobuf::RepeatedPtrField< Element >::pointer_iterator

Definition at line 907 of file repeated_field.h.

◆ reference

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

Definition at line 878 of file repeated_field.h.

◆ reverse_iterator

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

Definition at line 894 of file repeated_field.h.

◆ size_type

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

Definition at line 882 of file repeated_field.h.

◆ value_type

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

Definition at line 877 of file repeated_field.h.

Constructor & Destructor Documentation

◆ RepeatedPtrField() [1/5]

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

Definition at line 1936 of file repeated_field.h.

◆ RepeatedPtrField() [2/5]

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

Definition at line 1939 of file repeated_field.h.

◆ RepeatedPtrField() [3/5]

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

Definition at line 1943 of file repeated_field.h.

◆ RepeatedPtrField() [4/5]

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

Definition at line 1951 of file repeated_field.h.

◆ ~RepeatedPtrField()

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

Definition at line 1963 of file repeated_field.h.

◆ RepeatedPtrField() [5/5]

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

Definition at line 1975 of file repeated_field.h.

Member Function Documentation

◆ Add() [1/2]

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

Definition at line 2035 of file repeated_field.h.

◆ Add() [2/2]

template<typename Element >
void google::protobuf::RepeatedPtrField< Element >::Add ( Element &&  value)
inline

Definition at line 2040 of file repeated_field.h.

◆ AddAllocated()

template<typename Element >
void google::protobuf::RepeatedPtrField< Element >::AddAllocated ( Element *  value)
inline

Definition at line 2204 of file repeated_field.h.

◆ AddCleared()

template<typename Element >
void google::protobuf::RepeatedPtrField< Element >::AddCleared ( Element *  value)
inline

Definition at line 2229 of file repeated_field.h.

◆ at() [1/2]

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

Definition at line 2024 of file repeated_field.h.

◆ at() [2/2]

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

Definition at line 2019 of file repeated_field.h.

◆ begin() [1/2]

template<typename Element >
RepeatedPtrField< Element >::const_iterator google::protobuf::RepeatedPtrField< Element >::begin
inline

Definition at line 2444 of file repeated_field.h.

◆ begin() [2/2]

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

◆ Capacity()

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

Definition at line 2244 of file repeated_field.h.

◆ cbegin()

template<typename Element >
RepeatedPtrField< Element >::const_iterator google::protobuf::RepeatedPtrField< Element >::cbegin
inline

Definition at line 2454 of file repeated_field.h.

◆ cend()

template<typename Element >
RepeatedPtrField< Element >::const_iterator google::protobuf::RepeatedPtrField< Element >::cend
inline

Definition at line 2469 of file repeated_field.h.

◆ Clear()

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

Definition at line 2135 of file repeated_field.h.

◆ ClearedCount()

template<typename Element >
int google::protobuf::RepeatedPtrField< Element >::ClearedCount
inline

Definition at line 2224 of file repeated_field.h.

◆ CopyFrom()

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

Definition at line 2146 of file repeated_field.h.

◆ data()

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

Definition at line 2171 of file repeated_field.h.

◆ DeleteSubrange()

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

Definition at line 2050 of file repeated_field.h.

◆ empty()

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

Definition at line 2004 of file repeated_field.h.

◆ end() [1/2]

template<typename Element >
RepeatedPtrField< Element >::const_iterator google::protobuf::RepeatedPtrField< Element >::end
inline

Definition at line 2459 of file repeated_field.h.

◆ end() [2/2]

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

◆ erase() [1/2]

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

Definition at line 2158 of file repeated_field.h.

◆ erase() [2/2]

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

Definition at line 2152 of file repeated_field.h.

◆ ExtractSubrange()

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

Definition at line 2061 of file repeated_field.h.

◆ ExtractSubrangeInternal() [1/2]

template<typename Element >
void google::protobuf::RepeatedPtrField< Element >::ExtractSubrangeInternal ( int  start,
int  num,
Element **  elements,
std::false_type   
)
inlineprivate

Definition at line 2104 of file repeated_field.h.

◆ ExtractSubrangeInternal() [2/2]

template<typename Element >
void google::protobuf::RepeatedPtrField< Element >::ExtractSubrangeInternal ( int  start,
int  num,
Element **  elements,
std::true_type   
)
inlineprivate

Definition at line 2071 of file repeated_field.h.

◆ Get()

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

Definition at line 2014 of file repeated_field.h.

◆ GetArena()

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

Definition at line 1035 of file repeated_field.h.

◆ GetArenaNoVirtual()

template<typename Element >
Arena * google::protobuf::RepeatedPtrField< Element >::GetArenaNoVirtual
inlineprivate

Definition at line 2194 of file repeated_field.h.

◆ MergeFrom()

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

Definition at line 2140 of file repeated_field.h.

◆ Mutable()

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

Definition at line 2030 of file repeated_field.h.

◆ mutable_data()

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

Definition at line 2166 of file repeated_field.h.

◆ operator=() [1/2]

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

Definition at line 1968 of file repeated_field.h.

◆ operator=() [2/2]

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

Definition at line 1989 of file repeated_field.h.

◆ operator[]() [1/2]

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

Definition at line 831 of file repeated_field.h.

◆ operator[]() [2/2]

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

Definition at line 830 of file repeated_field.h.

◆ pointer_begin() [1/2]

template<typename Element >
RepeatedPtrField< Element >::const_pointer_iterator google::protobuf::RepeatedPtrField< Element >::pointer_begin
inline

Definition at line 2475 of file repeated_field.h.

◆ pointer_begin() [2/2]

template<typename Element >
const_pointer_iterator google::protobuf::RepeatedPtrField< Element >::pointer_begin ( ) const

◆ pointer_end() [1/2]

template<typename Element >
RepeatedPtrField< Element >::const_pointer_iterator google::protobuf::RepeatedPtrField< Element >::pointer_end
inline

Definition at line 2485 of file repeated_field.h.

◆ pointer_end() [2/2]

template<typename Element >
const_pointer_iterator google::protobuf::RepeatedPtrField< Element >::pointer_end ( ) const

◆ rbegin() [1/2]

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

Definition at line 895 of file repeated_field.h.

◆ rbegin() [2/2]

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

Definition at line 896 of file repeated_field.h.

◆ ReleaseCleared()

template<typename Element >
Element * google::protobuf::RepeatedPtrField< Element >::ReleaseCleared
inline

Definition at line 2234 of file repeated_field.h.

◆ ReleaseLast()

template<typename Element >
Element * google::protobuf::RepeatedPtrField< Element >::ReleaseLast
inline

Definition at line 2214 of file repeated_field.h.

◆ RemoveLast()

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

Definition at line 2045 of file repeated_field.h.

◆ rend() [1/2]

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

Definition at line 899 of file repeated_field.h.

◆ rend() [2/2]

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

Definition at line 900 of file repeated_field.h.

◆ Reserve()

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

Definition at line 2239 of file repeated_field.h.

◆ size()

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

Definition at line 2009 of file repeated_field.h.

◆ SpaceUsedExcludingSelf()

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

Definition at line 920 of file repeated_field.h.

◆ SpaceUsedExcludingSelfLong()

template<typename Element >
size_t google::protobuf::RepeatedPtrField< Element >::SpaceUsedExcludingSelfLong
inline

Definition at line 2199 of file repeated_field.h.

◆ Swap()

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

Definition at line 2176 of file repeated_field.h.

◆ SwapElements()

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

Definition at line 2189 of file repeated_field.h.

◆ UnsafeArenaAddAllocated()

template<typename Element >
void google::protobuf::RepeatedPtrField< Element >::UnsafeArenaAddAllocated ( Element *  value)
inline

Definition at line 2209 of file repeated_field.h.

◆ UnsafeArenaExtractSubrange()

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

Definition at line 2117 of file repeated_field.h.

◆ UnsafeArenaReleaseLast()

template<typename Element >
Element * google::protobuf::RepeatedPtrField< Element >::UnsafeArenaReleaseLast
inline

Definition at line 2219 of file repeated_field.h.

◆ UnsafeArenaSwap()

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

Definition at line 2182 of file repeated_field.h.

Friends And Related Function Documentation

◆ Arena

template<typename Element >
friend class Arena
friend

Definition at line 1058 of file repeated_field.h.

◆ MessageLite

template<typename Element >
friend class MessageLite
friend

Definition at line 1059 of file repeated_field.h.

Member Data Documentation

◆ const_pointer

template<typename Element >
const typedef value_type* google::protobuf::RepeatedPtrField< Element >::const_pointer

Definition at line 881 of file repeated_field.h.

◆ const_reference

template<typename Element >
const typedef value_type& google::protobuf::RepeatedPtrField< Element >::const_reference

Definition at line 879 of file repeated_field.h.


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


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:09