Go to the documentation of this file.
31 #ifndef GOOGLE_PROTOBUF_UTIL_CONVERTER_DEFAULT_VALUE_OBJECTWRITER_H__
32 #define GOOGLE_PROTOBUF_UTIL_CONVERTER_DEFAULT_VALUE_OBJECTWRITER_H__
47 #include <google/protobuf/port_def.inc>
74 const std::vector<std::string>& ,
112 double value)
override;
115 float value)
override;
134 preserve_proto_field_names_ =
value;
155 const std::vector<std::string>&
path,
bool suppress_empty_list,
156 bool preserve_proto_field_names,
bool use_ints_for_enums,
159 for (
int i = 0;
i < children_.size(); ++
i) {
173 virtual void PopulateChildren(
const TypeInfo* typeinfo);
183 const std::vector<std::string>&
path()
const {
return path_; }
200 is_placeholder_ = is_placeholder;
254 const std::vector<std::string>&
path,
255 bool suppress_empty_list,
256 bool preserve_proto_field_names,
257 bool use_ints_for_enums,
263 return CreateDefaultDataPieceForField(
field, typeinfo,
false);
267 static DataPiece CreateDefaultDataPieceForField(
269 bool use_ints_for_enums);
278 void MaybePopulateChildrenOfAny(Node* node);
292 bool use_ints_for_enums);
334 #include <google/protobuf/port_undef.inc>
336 #endif // GOOGLE_PROTOBUF_UTIL_CONVERTER_DEFAULT_VALUE_OBJECTWRITER_H__
bool suppress_empty_list_
ResultCallback2< bool, const std::vector< std::string > &, const google::protobuf::Field * > FieldScrubCallBack
void set_type(const google::protobuf::Type *type)
GLuint const GLchar * name
const Descriptor::ReservedRange value
#define GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TypeName)
void set_is_any(bool is_any)
static DataPiece CreateDefaultDataPieceForField(const google::protobuf::Field &field, const TypeInfo *typeinfo)
const TypeInfo * typeinfo_
FieldScrubCallBackPtr field_scrub_callback_
void AddChild(Node *child)
GLsizei const GLchar *const * string
int number_of_children() const
std::vector< std::unique_ptr< std::string > > string_values_
std::vector< std::string > path_
void set_print_enums_as_ints(bool value)
std::vector< Node * > children_
GLsizei const GLchar ** path
const std::vector< std::string > & path() const
std::unique_ptr< FieldScrubCallBack > FieldScrubCallBackPtr
bool preserve_proto_field_names_
const google::protobuf::Type & type_
void set_data(const DataPiece &data)
const FieldDescriptor * field
std::unique_ptr< Node > root_
const std::string & name() const
bool preserve_proto_field_names_
void set_suppress_empty_list(bool value)
bool suppress_empty_list_
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLsizei const GLfloat * value
const google::protobuf::Type * type_
std::stack< Node * > stack_
FieldScrubCallBack * field_scrub_callback_
void set_is_placeholder(bool is_placeholder)
void set_preserve_proto_field_names(bool value)
const google::protobuf::Type * type() const
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:49