template <proto_utils::ProtoWireType wire_type, typename CppType>
class UnifiedRepeatedFieldIterator
Defined at line 283 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 290 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 294 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
void UnifiedRepeatedFieldIterator<wire_type, CppType> ()
Constructs an invalid iterator.
Defined at line 298 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
bool operator bool ()
Defined at line 300 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
CppType operator* ()
Defined at line 304 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
UnifiedRepeatedFieldIterator<wire_type, CppType> & operator++ ()
Defined at line 308 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
UnifiedRepeatedFieldIterator<wire_type, CppType> operator++ (int )
Defined at line 313 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h