#include <message.h>
template<typename Element>
template<typename Element>
template<typename Element>
template<typename Element>
template<typename Element>
template<typename Element>
template<typename Element>
template<typename Element>
template<typename Element>
template<typename Element>
template<typename Element>
template<typename Element >
int total_size_
Definition: repeated_field.h:202
arena_t NULL
Definition: jemalloc_internal.h:624
Element * elements_
Definition: repeated_field.h:200
int current_size_
Definition: repeated_field.h:201
static const int kInitialSize
Definition: repeated_field.h:198
template<typename Element >
int total_size_
Definition: repeated_field.h:202
arena_t NULL
Definition: jemalloc_internal.h:624
Element * elements_
Definition: repeated_field.h:200
int current_size_
Definition: repeated_field.h:201
static const int kInitialSize
Definition: repeated_field.h:198
void CopyFrom(const RepeatedField &other)
Definition: repeated_field.h:738
template<typename Element >
template<typename Iter >
Element * Add()
Definition: repeated_field.h:690
int total_size_
Definition: repeated_field.h:202
arena_t NULL
Definition: jemalloc_internal.h:624
Element * elements_
Definition: repeated_field.h:200
int current_size_
Definition: repeated_field.h:201
iterator end()
Definition: repeated_field.h:789
static const int kInitialSize
Definition: repeated_field.h:198
void Reserve(int new_size)
Definition: repeated_field.h:806
Element * AddAlreadyReserved()
Definition: repeated_field.h:647
int CalculateReserve(Iter begin, Iter end, std::forward_iterator_tag)
Definition: repeated_field.h:81
iterator begin()
Definition: repeated_field.h:779
template<typename Element >
Element * elements_
Definition: repeated_field.h:200
template<typename Element>
int total_size_
Definition: repeated_field.h:202
Element * elements_
Definition: repeated_field.h:200
int current_size_
Definition: repeated_field.h:201
void Reserve(int new_size)
Definition: repeated_field.h:806
const FieldDescriptor value
Definition: descriptor.h:1522
template<typename Element>
int total_size_
Definition: repeated_field.h:202
Element * elements_
Definition: repeated_field.h:200
int current_size_
Definition: repeated_field.h:201
void Reserve(int new_size)
Definition: repeated_field.h:806
template<typename Element>
Element * elements_
Definition: repeated_field.h:200
int size() const
Definition: repeated_field.h:631
int current_size_
Definition: repeated_field.h:201
#define GOOGLE_DCHECK_LT
Definition: common.h:755
int Capacity() const
Definition: repeated_field.h:636
const FieldDescriptor value
Definition: descriptor.h:1522
template<typename Element>
Element * elements_
Definition: repeated_field.h:200
int size() const
Definition: repeated_field.h:631
int current_size_
Definition: repeated_field.h:201
#define GOOGLE_DCHECK_LT
Definition: common.h:755
int Capacity() const
Definition: repeated_field.h:636
template<typename Element >
Element * elements_
Definition: repeated_field.h:200
template<typename Element >
Element * elements_
Definition: repeated_field.h:200
template<typename Element >
int total_size_
Definition: repeated_field.h:202
template<typename Element >
int current_size_
Definition: repeated_field.h:201
template<typename Element>
834 internal::ElementCopier<Element>()(to, from, array_size);
template<typename Element >
739 if (&other ==
this)
return;
void Clear()
Definition: repeated_field.h:723
void MergeFrom(const RepeatedField &other)
Definition: repeated_field.h:728
template<typename Element >
Element * elements_
Definition: repeated_field.h:200
template<typename Element >
int current_size_
Definition: repeated_field.h:201
template<typename Element >
Element * elements_
Definition: repeated_field.h:200
int current_size_
Definition: repeated_field.h:201
template<typename Element >
Element * elements_
Definition: repeated_field.h:200
int current_size_
Definition: repeated_field.h:201
template<typename Element>
709 if (elements !=
NULL) {
710 for (
int i = 0; i < num; ++i)
711 elements[i] = this->
Get(i + start);
716 for (
int i = start + num; i < this->
size(); ++i)
717 this->
Set(i - num, this->
Get(i));
arena_t NULL
Definition: jemalloc_internal.h:624
void Truncate(int new_size)
Definition: repeated_field.h:820
int size() const
Definition: repeated_field.h:631
#define GOOGLE_DCHECK_GE
Definition: common.h:758
#define GOOGLE_DCHECK_LE
Definition: common.h:756
const Element & Get(int index) const
Definition: repeated_field.h:663
void Set(int index, const Element &value)
Definition: repeated_field.h:677
template<typename Element >
Element * elements_
Definition: repeated_field.h:200
int size() const
Definition: repeated_field.h:631
#define GOOGLE_DCHECK_GE
Definition: common.h:758
#define GOOGLE_DCHECK_LT
Definition: common.h:755
template<typename Element >
730 if (other.current_size_ != 0) {
Element * elements_
Definition: repeated_field.h:200
void CopyArray(Element to[], const Element from[], int size)
Definition: repeated_field.h:832
int current_size_
Definition: repeated_field.h:201
#define GOOGLE_CHECK_NE(A, B)
Definition: common.h:717
void Reserve(int new_size)
Definition: repeated_field.h:806
template<typename Element>
void CopyArray(Element to[], const Element from[], int size)
Definition: repeated_field.h:832
template<typename Element >
Element * elements_
Definition: repeated_field.h:200
int size() const
Definition: repeated_field.h:631
#define GOOGLE_DCHECK_GE
Definition: common.h:758
#define GOOGLE_DCHECK_LT
Definition: common.h:755
template<typename Element >
Element * elements_
Definition: repeated_field.h:200
template<typename Element >
void CopyFrom(const RepeatedField &other)
Definition: repeated_field.h:738
template<typename Element>
std::reverse_iterator< iterator > reverse_iterator
Definition: repeated_field.h:179
iterator end()
Definition: repeated_field.h:789
template<typename Element>
iterator end()
Definition: repeated_field.h:789
std::reverse_iterator< const_iterator > const_reverse_iterator
Definition: repeated_field.h:178
template<typename Element >
int current_size_
Definition: repeated_field.h:201
#define GOOGLE_DCHECK_GT
Definition: common.h:757
template<typename Element>
std::reverse_iterator< iterator > reverse_iterator
Definition: repeated_field.h:179
iterator begin()
Definition: repeated_field.h:779
template<typename Element>
std::reverse_iterator< const_iterator > const_reverse_iterator
Definition: repeated_field.h:178
iterator begin()
Definition: repeated_field.h:779
template<typename Element >
813 if (old_elements !=
NULL) {
815 delete [] old_elements;
int total_size_
Definition: repeated_field.h:202
arena_t NULL
Definition: jemalloc_internal.h:624
Element * elements_
Definition: repeated_field.h:200
int current_size_
Definition: repeated_field.h:201
T max(const T &x, const T &y)
Definition: g3dmath.h:320
void MoveArray(Element to[], Element from[], int size)
Definition: repeated_field.h:826
static const int kMinRepeatedFieldAllocationSize
Definition: repeated_field.h:75
template<typename Element>
655 if (new_size >
size()) {
Element * elements_
Definition: repeated_field.h:200
int size() const
Definition: repeated_field.h:631
int current_size_
Definition: repeated_field.h:201
#define GOOGLE_DCHECK_GE
Definition: common.h:758
void Reserve(int new_size)
Definition: repeated_field.h:806
const FieldDescriptor value
Definition: descriptor.h:1522
template<typename Element>
Element * elements_
Definition: repeated_field.h:200
int size() const
Definition: repeated_field.h:631
#define GOOGLE_DCHECK_GE
Definition: common.h:758
#define GOOGLE_DCHECK_LT
Definition: common.h:755
const FieldDescriptor value
Definition: descriptor.h:1522
template<typename Element >
int current_size_
Definition: repeated_field.h:201
template<typename Element >
int total_size_
Definition: repeated_field.h:202
arena_t NULL
Definition: jemalloc_internal.h:624
Element * elements_
Definition: repeated_field.h:200
template<typename Element >
757 if (
this == other)
return;
766 other->elements_ = swap_elements;
767 other->current_size_ = swap_current_size;
768 other->total_size_ = swap_total_size;
int total_size_
Definition: repeated_field.h:202
Element * elements_
Definition: repeated_field.h:200
int current_size_
Definition: repeated_field.h:201
template<typename Element >
Element * elements_
Definition: repeated_field.h:200
template<typename Element >
int current_size_
Definition: repeated_field.h:201
#define GOOGLE_DCHECK_LE
Definition: common.h:756
template<typename Element>
template<typename Element>
template<typename Element>
template<typename Element>
The documentation for this singleton was generated from the following files: