#include <protostream_objectsource.h>
|
const google::protobuf::Field * | FindAndVerifyField (const google::protobuf::Type &type, uint32 tag) const |
|
const std::string | ReadFieldValueAsString (const google::protobuf::Field &field) const |
|
virtual util::Status | RenderField (const google::protobuf::Field *field, StringPiece field_name, ObjectWriter *ow) const |
|
virtual util::StatusOr< uint32 > | RenderList (const google::protobuf::Field *field, StringPiece name, uint32 list_tag, ObjectWriter *ow) const |
|
virtual util::Status | WriteMessage (const google::protobuf::Type &descriptor, StringPiece name, const uint32 end_tag, bool include_start_and_end, ObjectWriter *ow) const |
|
| ObjectSource () |
|
|
| GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS (ProtoStreamObjectSource) |
|
util::Status | IncrementRecursionDepth (StringPiece type_name, StringPiece field_name) const |
|
bool | IsMap (const google::protobuf::Field &field) const |
|
| ProtoStreamObjectSource (io::CodedInputStream *stream, const TypeInfo *typeinfo, const google::protobuf::Type &type) |
|
std::pair< int64, int32 > | ReadSecondsAndNanos (const google::protobuf::Type &type) const |
|
util::StatusOr< uint32 > | RenderMap (const google::protobuf::Field *field, StringPiece name, uint32 list_tag, ObjectWriter *ow) const |
|
util::Status | RenderNonMessageField (const google::protobuf::Field *field, StringPiece field_name, ObjectWriter *ow) const |
|
util::Status | RenderPacked (const google::protobuf::Field *field, ObjectWriter *ow) const |
|
|
static void | DeleteRendererMap () |
|
static TypeRenderer * | FindTypeRenderer (const std::string &type_url) |
|
static void | InitRendererMap () |
|
static util::Status | RenderAny (const ProtoStreamObjectSource *os, const google::protobuf::Type &type, StringPiece name, ObjectWriter *ow) |
|
static util::Status | RenderBool (const ProtoStreamObjectSource *os, const google::protobuf::Type &type, StringPiece name, ObjectWriter *ow) |
|
static util::Status | RenderBytes (const ProtoStreamObjectSource *os, const google::protobuf::Type &type, StringPiece name, ObjectWriter *ow) |
|
static util::Status | RenderDouble (const ProtoStreamObjectSource *os, const google::protobuf::Type &type, StringPiece name, ObjectWriter *ow) |
|
static util::Status | RenderDuration (const ProtoStreamObjectSource *os, const google::protobuf::Type &type, StringPiece name, ObjectWriter *ow) |
|
static util::Status | RenderFieldMask (const ProtoStreamObjectSource *os, const google::protobuf::Type &type, StringPiece name, ObjectWriter *ow) |
|
static util::Status | RenderFloat (const ProtoStreamObjectSource *os, const google::protobuf::Type &type, StringPiece name, ObjectWriter *ow) |
|
static util::Status | RenderInt32 (const ProtoStreamObjectSource *os, const google::protobuf::Type &type, StringPiece name, ObjectWriter *ow) |
|
static util::Status | RenderInt64 (const ProtoStreamObjectSource *os, const google::protobuf::Type &type, StringPiece name, ObjectWriter *ow) |
|
static util::Status | RenderString (const ProtoStreamObjectSource *os, const google::protobuf::Type &type, StringPiece name, ObjectWriter *ow) |
|
static util::Status | RenderStruct (const ProtoStreamObjectSource *os, const google::protobuf::Type &type, StringPiece name, ObjectWriter *ow) |
|
static util::Status | RenderStructListValue (const ProtoStreamObjectSource *os, const google::protobuf::Type &type, StringPiece name, ObjectWriter *ow) |
|
static util::Status | RenderStructValue (const ProtoStreamObjectSource *os, const google::protobuf::Type &type, StringPiece name, ObjectWriter *ow) |
|
static util::Status | RenderTimestamp (const ProtoStreamObjectSource *os, const google::protobuf::Type &type, StringPiece name, ObjectWriter *ow) |
|
static util::Status | RenderUInt32 (const ProtoStreamObjectSource *os, const google::protobuf::Type &type, StringPiece name, ObjectWriter *ow) |
|
static util::Status | RenderUInt64 (const ProtoStreamObjectSource *os, const google::protobuf::Type &type, StringPiece name, ObjectWriter *ow) |
|
Definition at line 72 of file protostream_objectsource.h.
◆ TypeRenderer
◆ ProtoStreamObjectSource() [1/2]
◆ ~ProtoStreamObjectSource()
google::protobuf::util::converter::ProtoStreamObjectSource::~ProtoStreamObjectSource |
( |
| ) |
|
|
override |
◆ ProtoStreamObjectSource() [2/2]
◆ DeleteRendererMap()
void google::protobuf::util::converter::ProtoStreamObjectSource::DeleteRendererMap |
( |
| ) |
|
|
staticprivate |
◆ FindAndVerifyField()
◆ FindTypeRenderer()
◆ GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS()
google::protobuf::util::converter::ProtoStreamObjectSource::GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS |
( |
ProtoStreamObjectSource |
| ) |
|
|
private |
◆ IncrementRecursionDepth()
Status google::protobuf::util::converter::ProtoStreamObjectSource::IncrementRecursionDepth |
( |
StringPiece |
type_name, |
|
|
StringPiece |
field_name |
|
) |
| const |
|
private |
◆ InitRendererMap()
void google::protobuf::util::converter::ProtoStreamObjectSource::InitRendererMap |
( |
| ) |
|
|
staticprivate |
◆ IsMap()
bool google::protobuf::util::converter::ProtoStreamObjectSource::IsMap |
( |
const google::protobuf::Field & |
field | ) |
const |
|
private |
◆ NamedWriteTo()
◆ ReadFieldValueAsString()
◆ ReadSecondsAndNanos()
◆ RenderAny()
◆ RenderBool()
◆ RenderBytes()
◆ RenderDouble()
◆ RenderDuration()
◆ RenderField()
◆ RenderFieldMask()
◆ RenderFloat()
◆ RenderInt32()
◆ RenderInt64()
◆ RenderList()
◆ RenderMap()
◆ RenderNonMessageField()
◆ RenderPacked()
◆ RenderString()
◆ RenderStruct()
◆ RenderStructListValue()
◆ RenderStructValue()
◆ RenderTimestamp()
◆ RenderUInt32()
◆ RenderUInt64()
◆ set_max_recursion_depth()
void google::protobuf::util::converter::ProtoStreamObjectSource::set_max_recursion_depth |
( |
int |
max_depth | ) |
|
|
inline |
◆ set_preserve_proto_field_names()
void google::protobuf::util::converter::ProtoStreamObjectSource::set_preserve_proto_field_names |
( |
bool |
value | ) |
|
|
inline |
◆ set_use_ints_for_enums()
void google::protobuf::util::converter::ProtoStreamObjectSource::set_use_ints_for_enums |
( |
bool |
value | ) |
|
|
inline |
◆ set_use_lower_camel_for_enums()
void google::protobuf::util::converter::ProtoStreamObjectSource::set_use_lower_camel_for_enums |
( |
bool |
value | ) |
|
|
inline |
◆ WriteMessage()
◆ add_trailing_zeros_for_timestamp_and_duration_
bool google::protobuf::util::converter::ProtoStreamObjectSource::add_trailing_zeros_for_timestamp_and_duration_ |
|
private |
◆ max_recursion_depth_
int google::protobuf::util::converter::ProtoStreamObjectSource::max_recursion_depth_ |
|
private |
◆ own_typeinfo_
bool google::protobuf::util::converter::ProtoStreamObjectSource::own_typeinfo_ |
|
private |
◆ preserve_proto_field_names_
bool google::protobuf::util::converter::ProtoStreamObjectSource::preserve_proto_field_names_ |
|
private |
◆ recursion_depth_
int google::protobuf::util::converter::ProtoStreamObjectSource::recursion_depth_ |
|
mutableprivate |
◆ render_unknown_enum_values_
bool google::protobuf::util::converter::ProtoStreamObjectSource::render_unknown_enum_values_ |
|
private |
◆ render_unknown_fields_
bool google::protobuf::util::converter::ProtoStreamObjectSource::render_unknown_fields_ |
|
private |
◆ renderers_
◆ stream_
◆ suppress_empty_object_
bool google::protobuf::util::converter::ProtoStreamObjectSource::suppress_empty_object_ |
|
private |
◆ type_
◆ typeinfo_
const TypeInfo* google::protobuf::util::converter::ProtoStreamObjectSource::typeinfo_ |
|
private |
◆ use_ints_for_enums_
bool google::protobuf::util::converter::ProtoStreamObjectSource::use_ints_for_enums_ |
|
private |
◆ use_lower_camel_for_enums_
bool google::protobuf::util::converter::ProtoStreamObjectSource::use_lower_camel_for_enums_ |
|
private |
The documentation for this class was generated from the following files: