Go to the documentation of this file.
31 #ifndef GOOGLE_PROTOBUF_UTIL_CONVERTER_PROTO_WRITER_H__
32 #define GOOGLE_PROTOBUF_UTIL_CONVERTER_PROTO_WRITER_H__
52 #include <google/protobuf/port_def.inc>
59 class ObjectLocationTracker;
102 return RenderDataPiece(
name,
106 return RenderDataPiece(
121 return element_ !=
nullptr ? *element_ : *tracker_;
125 bool done()
override {
return done_; }
140 ignore_unknown_fields_ = ignore_unknown_fields;
146 ignore_unknown_enum_values_ = ignore_unknown_enum_values;
150 use_lower_camel_for_enums_ = use_lower_camel_for_enums;
154 case_insensitive_enum_parsing_ = case_insensitive_enum_parsing;
181 return parent_field_;
192 return static_cast<ProtoElement*
>(BaseElement::parent());
274 void WriteRootMessage();
309 bool use_lower_camel_for_enums,
310 bool case_insensitive_enum_parsing,
311 bool ignore_unknown_values);
353 std::unique_ptr<io::CodedOutputStream>
stream_;
361 std::unique_ptr<LocationTrackerInterface>
tracker_;
371 #include <google/protobuf/port_undef.inc>
373 #endif // GOOGLE_PROTOBUF_UTIL_CONVERTER_PROTO_WRITER_H__
bool ignore_unknown_fields_
ErrorListener * listener()
GLuint const GLchar * name
const LocationTrackerInterface & location()
ProtoElement * element() override
ProtoWriter * RenderBool(StringPiece name, bool value) override
ProtoWriter * RenderInt64(StringPiece name, int64 value) override
bool use_lower_camel_for_enums_
ProtoWriter * RenderFloat(StringPiece name, float value) override
ProtoWriter * RenderInt32(StringPiece name, int32 value) override
void set_ignore_unknown_fields(bool ignore_unknown_fields)
GLsizei const GLchar *const * string
zend_class_entry * enum_type
std::deque< SizeInfo > size_insert_
static DataPiece NullData()
#define GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName)
void set_use_lower_camel_for_enums(bool use_lower_camel_for_enums)
bool ignore_unknown_fields()
ProtoWriter * RenderString(StringPiece name, StringPiece value) override
void set_case_insensitive_enum_parsing(bool case_insensitive_enum_parsing)
void set_ignore_unknown_enum_values(bool ignore_unknown_enum_values)
ProtoWriter * RenderUint64(StringPiece name, uint64 value) override
std::set< const google::protobuf::Field * > required_fields_
void DecrementInvalidDepth()
ProtoWriter * RenderUint32(StringPiece name, uint32 value) override
std::vector< bool > oneof_indices_
const google::protobuf::Type & type_
void IncrementInvalidDepth()
std::unique_ptr< LocationTrackerInterface > tracker_
const TypeInfo * typeinfo_
const google::protobuf::Field * parent_field_
const FieldDescriptor * field
const google::protobuf::Field * parent_field() const
ProtoWriter * RenderDouble(StringPiece name, double value) override
bool case_insensitive_enum_parsing_
std::unique_ptr< io::CodedOutputStream > stream_
const TypeInfo * typeinfo()
io::CodedOutputStream * stream()
const google::protobuf::Type & type() const
strings::ByteSink * output_
static upb_refcounted * pop(tarjan *t)
bool ignore_unknown_enum_values_
std::unique_ptr< ProtoElement > element_
ProtoElement * parent() const override
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
ProtoWriter * RenderNull(StringPiece name) override
const TypeInfo * typeinfo_
ErrorListener * listener_
io::StringOutputStream adapter_
GLsizei const GLfloat * value
ProtoWriter * RenderBytes(StringPiece name, StringPiece value) override
const upb_json_parsermethod const upb_symtab upb_sink * output
const google::protobuf::Type & master_type_
GLenum GLuint GLenum GLsizei const GLchar * message
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:57