#include <reflection_internal.h>
Public Member Functions | |
void | Add (Field *data, const Value *value) const override |
void | Clear (Field *data) const override |
const Value * | Get (const Field *data, int index, Value *scratch_space) const override |
bool | IsEmpty (const Field *data) const override |
MapFieldAccessor () | |
void | RemoveLast (Field *data) const override |
void | Set (Field *data, int index, const Value *value) const override |
int | Size (const Field *data) const override |
void | Swap (Field *data, const internal::RepeatedFieldAccessor *other_mutator, Field *other_data) const override |
void | SwapElements (Field *data, int index1, int index2) const override |
virtual | ~MapFieldAccessor () |
![]() | |
Iterator * | AdvanceIterator (const Field *data, Iterator *iterator) const override |
Iterator * | BeginIterator (const Field *data) const override |
Iterator * | CopyIterator (const Field *data, const Iterator *iterator) const override |
void | DeleteIterator (const Field *data, Iterator *iterator) const override |
Iterator * | EndIterator (const Field *data) const override |
bool | EqualsIterator (const Field *data, const Iterator *a, const Iterator *b) const override |
const Value * | GetIteratorValue (const Field *data, const Iterator *iterator, Value *scratch_space) const override |
![]() | |
template<typename T , typename ValueType > | |
void | Add (Field *data, const ValueType &value) const |
template<typename T > | |
T | Get (const Field *data, int index) const |
template<typename T , typename ValueType > | |
void | Set (Field *data, int index, const ValueType &value) const |
Protected Types | |
typedef RepeatedPtrField< Message > | RepeatedFieldType |
Protected Member Functions | |
virtual const Value * | ConvertFromEntry (const Message &value, Value *scratch_space) const |
virtual void | ConvertToEntry (const Value *value, Message *result) const |
virtual Message * | New (const Value *value) const |
![]() | |
~RandomAccessRepeatedFieldAccessor ()=default | |
![]() | |
~RepeatedFieldAccessor ()=default | |
Static Protected Member Functions | |
static const RepeatedFieldType * | GetRepeatedField (const Field *data) |
static RepeatedFieldType * | MutableRepeatedField (Field *data) |
Additional Inherited Members | |
![]() | |
typedef void | Field |
typedef void | Iterator |
typedef void | Value |
Definition at line 202 of file reflection_internal.h.
|
protected |
Definition at line 240 of file reflection_internal.h.
|
inline |
Definition at line 204 of file reflection_internal.h.
|
inlinevirtual |
Definition at line 205 of file reflection_internal.h.
|
inlineoverridevirtual |
Implements google::protobuf.internal::RepeatedFieldAccessor.
Definition at line 222 of file reflection_internal.h.
Implements google::protobuf.internal::RepeatedFieldAccessor.
Definition at line 216 of file reflection_internal.h.
|
inlineprotectedvirtual |
Definition at line 259 of file reflection_internal.h.
|
inlineprotectedvirtual |
Definition at line 254 of file reflection_internal.h.
|
inlineoverridevirtual |
Implements google::protobuf.internal::RepeatedFieldAccessor.
Definition at line 212 of file reflection_internal.h.
|
inlinestaticprotected |
Definition at line 241 of file reflection_internal.h.
|
inlineoverridevirtual |
Implements google::protobuf.internal::RepeatedFieldAccessor.
Definition at line 206 of file reflection_internal.h.
|
inlinestaticprotected |
Definition at line 245 of file reflection_internal.h.
|
inlineprotectedvirtual |
Definition at line 249 of file reflection_internal.h.
|
inlineoverridevirtual |
Implements google::protobuf.internal::RepeatedFieldAccessor.
Definition at line 227 of file reflection_internal.h.
|
inlineoverridevirtual |
Implements google::protobuf.internal::RepeatedFieldAccessor.
Definition at line 219 of file reflection_internal.h.
|
inlineoverridevirtual |
Implements google::protobuf.internal::RepeatedFieldAccessor.
Definition at line 209 of file reflection_internal.h.
|
inlineoverridevirtual |
Implements google::protobuf.internal::RepeatedFieldAccessor.
Definition at line 233 of file reflection_internal.h.
|
inlineoverridevirtual |
Implements google::protobuf.internal::RepeatedFieldAccessor.
Definition at line 230 of file reflection_internal.h.