136 switch (field->cpp_type())
170 for (std::size_t j = 0; j < strValue.length(); ++j)
virtual int32 GetRepeatedInt32(const Message &message, const FieldDescriptor *field, int index) const =0
virtual uint32 GetRepeatedUInt32(const Message &message, const FieldDescriptor *field, int index) const =0
void WriteInt64(int64 value)
Definition: ProtobufJSON.cpp:33
virtual uint64 GetRepeatedUInt64(const Message &message, const FieldDescriptor *field, int index) const =0
void WriteUInt32(uint32 value)
Definition: ProtobufJSON.cpp:34
Definition: descriptor.h:386
Definition: descriptor.h:379
Definition: descriptor.h:381
virtual string GetRepeatedString(const Message &message, const FieldDescriptor *field, int index) const =0
Definition: message.h:357
void WriteUInt64(uint64 value)
Definition: ProtobufJSON.cpp:35
void WriteInt32(int32 value)
Definition: ProtobufJSON.cpp:32
void WriteEnum(google::protobuf::EnumValueDescriptor const *value)
Definition: ProtobufJSON.cpp:39
void WriteMessage(google::protobuf::Message const &value)
Definition: ProtobufJSON.cpp:54
Definition: descriptor.h:383
void WriteBool(bool value)
Definition: ProtobufJSON.cpp:38
virtual bool GetRepeatedBool(const Message &message, const FieldDescriptor *field, int index) const =0
Definition: descriptor.h:359
int32_t int32
Definition: Define.h:146
virtual float GetRepeatedFloat(const Message &message, const FieldDescriptor *field, int index) const =0
Definition: descriptor.h:385
virtual int FieldSize(const Message &message, const FieldDescriptor *field) const =0
Definition: descriptor.h:384
Definition: descriptor.h:388
void WriteFloat(float value)
Definition: ProtobufJSON.cpp:37
virtual const Message & GetRepeatedMessage(const Message &message, const FieldDescriptor *field, int index) const =0
Definition: descriptor.h:382
Definition: descriptor.h:387
virtual const EnumValueDescriptor * GetRepeatedEnum(const Message &message, const FieldDescriptor *field, int index) const =0
virtual double GetRepeatedDouble(const Message &message, const FieldDescriptor *field, int index) const =0
const FieldDescriptor value
Definition: descriptor.h:1522
rapidjson::Writer< rapidjson::StringBuffer > _writer
Definition: ProtobufJSON.cpp:51
uint32_t uint32
Definition: g3dmath.h:168
void WriteString(std::string const &value)
Definition: ProtobufJSON.cpp:40
void WriteDouble(double value)
Definition: ProtobufJSON.cpp:36
Definition: descriptor.h:380
virtual int64 GetRepeatedInt64(const Message &message, const FieldDescriptor *field, int index) const =0