template <size_t kMinSize>

class SooRep

Defined at line 184 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h

Public Methods

void SooRep<kMinSize> ()

Defined at line 186 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h

void SooRep<kMinSize> (InternalMetadataOffset offset)

Defined at line 187 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h

bool is_soo ()

Defined at line 190 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h

Arena * arena ()

Defined at line 191 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h

int size ()

Defined at line 194 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h

void set_size (int size)

Defined at line 195 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h

int capacity ()

Defined at line 199 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h

void set_non_soo (HeapRep<kMinSize> * heap_rep)

Initializes the SooRep in non-SOO mode with the given heap allocation.

Defined at line 204 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h

HeapRep<kMinSize> * heap_rep ()

Defined at line 209 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h

const void * elements (bool is_soo)

Defined at line 214 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h

void * elements (bool is_soo)

Defined at line 223 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h

void swap (SooRep<kMinSize> & other)

Defined at line 232 of file ../../third_party/protobuf/src/src/google/protobuf/repeated_field.h