template <proto_utils::ProtoWireType wire_type, typename CppType>

class UnifiedRepeatedFieldIterator

Defined at line 280 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h

A dispatching wrapper that can handle both packed and non-packed repeated

fields. It holds either a RepeatedFieldIterator or

PackedRepeatedFieldIterator and forwards calls to the appropriate one using

std::variant and base utilities.

Public Methods

void UnifiedRepeatedFieldIterator<wire_type, CppType> (RegularIterator iter)

Constructor taking a regular iterator

Defined at line 287 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h

void UnifiedRepeatedFieldIterator<wire_type, CppType> (PackedIterator iter)

Constructor taking a packed iterator

Defined at line 291 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h

void UnifiedRepeatedFieldIterator<wire_type, CppType> ()

Constructs an invalid iterator.

Defined at line 295 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h

bool operator bool ()

Defined at line 297 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h

CppType operator* ()

Defined at line 301 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h

UnifiedRepeatedFieldIterator<wire_type, CppType> & operator++ ()

Defined at line 305 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h

UnifiedRepeatedFieldIterator<wire_type, CppType> operator++ (int )

Defined at line 310 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h