Skip to main content
Pigweed's logo Pigweed
code_xml
  1. Home
  2. Reference
  3. C/C++
  4. Encoding & serialization
  5. pw_protobuf
  6. pw::protobuf::RepeatedFieldParser< FieldType > Class Template Reference
pw::protobuf::RepeatedFieldParser< FieldType > Class Template Reference

Overview

template<typename FieldType>
class pw::protobuf::RepeatedFieldParser< FieldType >

A helper parser for repeated fields.

Implements an iterator interface that filters and iterates exclusively through fields matching the target field_number.

Note
For normal uses, RepeatedFieldParser objects should be created from Message::AsRepeated().
Deprecated:
All APIs from message.h are deprecated.

Classes

class  iterator
 

Public Member Functions

 RepeatedFieldParser (Message message, uint32_t field_number)
 
 RepeatedFieldParser (Status status)
 
bool ok () const
 
Status status () const
 
iterator begin () const
 
iterator end () const
 

The documentation for this class was generated from the following file: