template <proto_utils::ProtoWireType wire_type, typename CppType>
class UnifiedRepeatedFieldIterator
Defined at line 281 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 288 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 292 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
void UnifiedRepeatedFieldIterator<wire_type, CppType> ()
Constructs an invalid iterator.
Defined at line 296 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
bool operator bool ()
Defined at line 298 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
CppType operator* ()
Defined at line 302 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
UnifiedRepeatedFieldIterator<wire_type, CppType> & operator++ ()
Defined at line 306 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h
UnifiedRepeatedFieldIterator<wire_type, CppType> operator++ (int )
Defined at line 311 of file ../../third_party/perfetto/include/perfetto/protozero/proto_decoder.h