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::StringMapEntryParser< ValueParser > Class Template Reference
pw::protobuf::StringMapEntryParser< ValueParser > Class Template Reference

Overview

template<typename ValueParser>
class pw::protobuf::StringMapEntryParser< ValueParser >

A helper parser for single map entries of type map<string, ValueParser>.

In the protobuf wire format, a map entry is represented as a submessage with a string key (tag = 1) and value (tag = 2).

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

Public Member Functions

bool ok () const
 
Status status () const
 
 StringMapEntryParser (Status status)
 
 StringMapEntryParser (stream::IntervalReader reader)
 
String Key () const
 
ValueParser Value () const
 

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