Go to the documentation of this file.
31 #ifndef GOOGLE_PROTOBUF_UTIL_CONVERTER_PROTOSTREAM_OBJECTWRITER_H__
32 #define GOOGLE_PROTOBUF_UTIL_CONVERTER_PROTOSTREAM_OBJECTWRITER_H__
36 #include <unordered_map>
37 #include <unordered_set>
53 #include <google/protobuf/port_def.inc>
60 class ObjectLocationTracker;
101 : struct_integers_as_strings(
false),
102 ignore_unknown_fields(
false),
103 ignore_unknown_enum_values(
false),
104 use_lower_camel_for_enums(
false),
105 case_insensitive_enum_parsing(
false),
106 ignore_null_value_map_entry(
false) {}
172 RENDER_DATA_PIECE = 4,
223 std::unique_ptr<ProtoStreamObjectWriter>
ow_;
265 bool is_placeholder,
bool is_list);
268 Item(
Item* parent, ItemType item_type,
bool is_placeholder,
bool is_list);
274 bool IsMap() {
return item_type_ == MAP; }
275 bool IsAny() {
return item_type_ == ANY; }
280 return static_cast<Item*
>(BaseElement::parent());
288 bool InsertMapKeyIfNotPresent(
StringPiece map_key);
299 std::unique_ptr<AnyWriter>
any_;
306 std::unique_ptr<std::unordered_set<std::string> >
map_keys_;
365 static void InitRendererMap();
366 static void DeleteRendererMap();
384 bool is_placeholder,
bool is_list);
392 void PopOneElement();
397 static std::unordered_map<std::string, TypeRenderer>*
renderers_;
417 #include <google/protobuf/port_undef.inc>
419 #endif // GOOGLE_PROTOBUF_UTIL_CONVERTER_PROTOSTREAM_OBJECTWRITER_H__
Event(const Event &other)
Event & operator=(const Event &other)
Event(StringPiece name, const DataPiece &value)
GLuint const GLchar * name
bool ignore_null_value_map_entry
ProtoStreamObjectWriter * parent_
GLsizei const GLchar *const * string
ProtoStreamObjectWriter * ow_
bool struct_integers_as_strings
#define GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName)
bool use_lower_camel_for_enums
const google::protobuf::Type & master_type_
static PyObject * Item(PyObject *pself, Py_ssize_t index)
static PyObject * Pop(PyObject *pself, PyObject *args)
bool IsMap(const google::protobuf::Field &field, const google::protobuf::Type &type)
Item * parent() const override
const FieldDescriptor * field
static std::unordered_map< std::string, TypeRenderer > * renderers_
std::vector< Event > uninterpreted_events_
Status
Status of any operation that the TOF sdk performs.
bool ignore_unknown_fields
std::unique_ptr< ProtoStreamObjectWriter > ow_
PyObject * DeepCopy(CMessage *self, PyObject *arg)
TypeRenderer * well_known_type_render_
Event(Type type, StringPiece name)
bool ignore_unknown_enum_values
std::unique_ptr< AnyWriter > any_
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
bool case_insensitive_enum_parsing
GLsizei const GLfloat * value
const upb_json_parsermethod const upb_symtab upb_sink * output
std::unique_ptr< std::unordered_set< std::string > > map_keys_
bool is_placeholder() const
std::string value_storage_
std::unique_ptr< Item > current_
const ProtoStreamObjectWriter::Options options_
strings::StringByteSink output_
static const Options & Defaults()
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:58