#include <repeated_field.h>
Classes | |
| struct | Rep |
Public Member Functions | |
| template<typename TypeHandler > | |
| void | AddAllocatedSlowWithCopy (typename TypeHandler::Type *value, Arena *value_arena, Arena *my_arena) |
| MessageLite * | AddWeak (const MessageLite *prototype) |
| template<typename TypeHandler > | |
| void | Clear () |
| template<typename TypeHandler > | |
| const TypeHandler::WeakType & | Get (int index) const |
| void | InternalSwap (RepeatedPtrFieldBase *other) |
| template<typename TypeHandler > | |
| void | MergeFrom (const RepeatedPtrFieldBase &other) |
| template<typename TypeHandler > | |
| void | Swap (RepeatedPtrFieldBase *other) |
| template<typename TypeHandler > | |
| void | SwapFallback (RepeatedPtrFieldBase *other) |
Protected Member Functions | |
| template<typename TypeHandler , typename std::enable_if< TypeHandler::Movable::value >::type * = nullptr> | |
| void | Add (typename TypeHandler::Type &&value) |
| template<typename TypeHandler > | |
| TypeHandler::Type * | Add (typename TypeHandler::Type *prototype=NULL) |
| template<typename TypeHandler > | |
| void | AddAllocated (typename TypeHandler::Type *value) |
| template<typename TypeHandler > | |
| void | AddAllocatedInternal (typename TypeHandler::Type *value, std::false_type) |
| template<typename TypeHandler > | |
| void | AddAllocatedInternal (typename TypeHandler::Type *value, std::true_type) |
| template<typename TypeHandler > | |
| PROTOBUF_NOINLINE void | AddAllocatedSlowWithCopy (typename TypeHandler::Type *value, Arena *value_arena, Arena *my_arena) |
| template<typename TypeHandler > | |
| PROTOBUF_NOINLINE void | AddAllocatedSlowWithoutCopy (typename TypeHandler::Type *value) |
| template<typename TypeHandler > | |
| void | AddCleared (typename TypeHandler::Type *value) |
| template<typename TypeHandler > | |
| TypeHandler::Type * | AddFromCleared () |
| template<typename TypeHandler > | |
| TypeHandler::Type & | at (int index) |
| template<typename TypeHandler > | |
| const TypeHandler::Type & | at (int index) const |
| int | Capacity () const |
| int | ClearedCount () const |
| void | CloseGap (int start, int num) |
| template<typename TypeHandler > | |
| void | CopyFrom (const RepeatedPtrFieldBase &other) |
| template<typename TypeHandler > | |
| const TypeHandler::Type *const * | data () const |
| template<typename TypeHandler > | |
| void | Delete (int index) |
| template<typename TypeHandler > | |
| void | Destroy () |
| bool | empty () const |
| Arena * | GetArenaNoVirtual () const |
| template<typename TypeHandler > | |
| TypeHandler::Type * | Mutable (int index) |
| template<typename TypeHandler > | |
| TypeHandler::Type ** | mutable_data () |
| void *const * | raw_data () const |
| void ** | raw_mutable_data () const |
| template<typename TypeHandler > | |
| TypeHandler::Type * | ReleaseCleared () |
| template<typename TypeHandler > | |
| TypeHandler::Type * | ReleaseLast () |
| template<typename TypeHandler > | |
| TypeHandler::Type * | ReleaseLastInternal (std::false_type) |
| template<typename TypeHandler > | |
| TypeHandler::Type * | ReleaseLastInternal (std::true_type) |
| template<typename TypeHandler > | |
| void | RemoveLast () |
| RepeatedPtrFieldBase () | |
| RepeatedPtrFieldBase (Arena *arena) | |
| void | Reserve (int new_size) |
| int | size () const |
| template<typename TypeHandler > | |
| size_t | SpaceUsedExcludingSelfLong () const |
| template<typename TypeHandler > | |
| PROTOBUF_ALWAYS_INLINE void | Swap (RepeatedPtrFieldBase *other) |
| void | SwapElements (int index1, int index2) |
| template<typename TypeHandler > | |
| PROTOBUF_NOINLINE void | SwapFallback (RepeatedPtrFieldBase *other) |
| template<typename TypeHandler > | |
| void | UnsafeArenaAddAllocated (typename TypeHandler::Type *value) |
| template<typename TypeHandler > | |
| TypeHandler::Type * | UnsafeArenaReleaseLast () |
| ~RepeatedPtrFieldBase () | |
Private Member Functions | |
| GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (RepeatedPtrFieldBase) | |
| void ** | InternalExtend (int extend_amount) |
| template<typename TypeHandler > | |
| void | MergeFromInnerLoop (void **our_elems, void **other_elems, int length, int already_allocated) |
| void | MergeFromInternal (const RepeatedPtrFieldBase &other, void(RepeatedPtrFieldBase::*inner_loop)(void **, void **, int, int)) |
Static Private Member Functions | |
| template<typename TypeHandler > | |
| static const TypeHandler::Type * | cast (const void *element) |
| template<typename TypeHandler > | |
| static TypeHandler::Type * | cast (void *element) |
Private Attributes | |
| Arena * | arena_ |
| int | current_size_ |
| Rep * | rep_ |
| int | total_size_ |
Static Private Attributes | |
| static const int | kInitialSize = 0 |
| static const size_t | kRepHeaderSize = sizeof(Rep) - sizeof(void*) |
Friends | |
| class | ::PROTOBUF_NAMESPACE_ID::Reflection |
| class | AccessorHelper |
| class | ExtensionSet |
| class | MapFieldBase |
| class | MergePartialFromCodedStreamHelper |
| class | upb::google_opensource::GMR_Handlers |
Definition at line 459 of file repeated_field.h.
|
inlineprotected |
Definition at line 1492 of file repeated_field.h.
|
inlineexplicitprotected |
Definition at line 1495 of file repeated_field.h.
|
inlineprotected |
Definition at line 463 of file repeated_field.h.
|
inlineprotected |
Definition at line 1600 of file repeated_field.h.
|
inlineprotected |
Definition at line 1583 of file repeated_field.h.
|
inlineprotected |
Definition at line 547 of file repeated_field.h.
|
protected |
Definition at line 1800 of file repeated_field.h.
|
protected |
Definition at line 1752 of file repeated_field.h.
|
protected |
| void google::protobuf.internal::RepeatedPtrFieldBase::AddAllocatedSlowWithCopy | ( | typename TypeHandler::Type * | value, |
| Arena * | value_arena, | ||
| Arena * | my_arena | ||
| ) |
Definition at line 1778 of file repeated_field.h.
|
protected |
|
inlineprotected |
Definition at line 1900 of file repeated_field.h.
|
inlineprotected |
Definition at line 1742 of file repeated_field.h.
| MessageLite * google::protobuf.internal::RepeatedPtrFieldBase::AddWeak | ( | const MessageLite * | prototype | ) |
Definition at line 106 of file repeated_field.cc.
|
inlineprotected |
Definition at line 1562 of file repeated_field.h.
|
inlineprotected |
Definition at line 1554 of file repeated_field.h.
|
inlineprotected |
Definition at line 1698 of file repeated_field.h.
|
inlinestaticprivate |
Definition at line 624 of file repeated_field.h.
|
inlinestaticprivate |
Definition at line 620 of file repeated_field.h.
| void google::protobuf.internal::RepeatedPtrFieldBase::Clear |
Definition at line 1621 of file repeated_field.h.
|
inlineprotected |
Definition at line 1895 of file repeated_field.h.
|
protected |
Definition at line 97 of file repeated_field.cc.
|
inlineprotected |
Definition at line 1692 of file repeated_field.h.
|
inlineprotected |
Definition at line 1716 of file repeated_field.h.
|
inlineprotected |
Definition at line 1576 of file repeated_field.h.
|
protected |
Definition at line 1499 of file repeated_field.h.
|
inlineprotected |
Definition at line 1541 of file repeated_field.h.
|
inline |
Definition at line 1546 of file repeated_field.h.
|
inlineprotected |
Definition at line 592 of file repeated_field.h.
|
private |
|
private |
Definition at line 48 of file repeated_field.cc.
|
inline |
Definition at line 2431 of file repeated_field.h.
|
inline |
Definition at line 1641 of file repeated_field.h.
|
private |
Definition at line 1666 of file repeated_field.h.
|
inlineprivate |
Definition at line 1648 of file repeated_field.h.
|
inlineprotected |
Definition at line 1569 of file repeated_field.h.
|
inlineprotected |
Definition at line 1709 of file repeated_field.h.
|
inlineprotected |
Definition at line 1700 of file repeated_field.h.
|
inlineprotected |
Definition at line 1704 of file repeated_field.h.
|
inlineprotected |
Definition at line 1913 of file repeated_field.h.
|
inlineprotected |
Definition at line 556 of file repeated_field.h.
|
inlineprotected |
Definition at line 1871 of file repeated_field.h.
|
inlineprotected |
Definition at line 1850 of file repeated_field.h.
|
inlineprotected |
Definition at line 1615 of file repeated_field.h.
|
protected |
Definition at line 91 of file repeated_field.cc.
|
inlineprotected |
Definition at line 1543 of file repeated_field.h.
|
inlineprotected |
Definition at line 1729 of file repeated_field.h.
|
protected |
|
inline |
Definition at line 1517 of file repeated_field.h.
|
inlineprotected |
Definition at line 1723 of file repeated_field.h.
|
protected |
| void google::protobuf.internal::RepeatedPtrFieldBase::SwapFallback | ( | RepeatedPtrFieldBase * | other | ) |
Definition at line 1526 of file repeated_field.h.
|
protected |
Definition at line 1821 of file repeated_field.h.
|
inlineprotected |
Definition at line 1882 of file repeated_field.h.
|
friend |
Definition at line 648 of file repeated_field.h.
|
friend |
Definition at line 670 of file repeated_field.h.
|
friend |
Definition at line 655 of file repeated_field.h.
|
friend |
Definition at line 660 of file repeated_field.h.
|
friend |
Definition at line 664 of file repeated_field.h.
|
friend |
Definition at line 668 of file repeated_field.h.
|
private |
Definition at line 607 of file repeated_field.h.
|
private |
Definition at line 608 of file repeated_field.h.
|
staticprivate |
Definition at line 595 of file repeated_field.h.
|
staticprivate |
Definition at line 614 of file repeated_field.h.
|
private |
Definition at line 617 of file repeated_field.h.
|
private |
Definition at line 609 of file repeated_field.h.