[protobuf] Issue 314 in protobuf: need to give a tag for all repeated booleans?

2011-07-10 Thread protobuf
Status: New Owner: liuj...@google.com Labels: Type-Defect Priority-Medium New issue 314 by d...@intrepid-geophysics.com: need to give a tag for all repeated booleans? http://code.google.com/p/protobuf/issues/detail?id=314 What steps will reproduce the problem? 1. extract from the message

[protobuf] enum deserialization

2011-07-10 Thread Enrico Viappiani
I've got a java server and a c++ client, client sends a message to the server. In a first moment we had the message structure made by simple format like strings or integers, and the message sending/receiving with serialization and deserialization were working perfectly. Nowadays we added a enum

[protobuf] about add_field、copyfrom

2011-07-10 Thread xyluch...@163.com
hello: we defined two object in field.proto message Record{ optional int id = 1; } message RecordSet{ repeated Record record= 1; } so when we define a Record pointer,we do like this: RecordSet recordsetA,recordsetB; Recrod *pRecordA = recordsetA.add_record(); pRecordA-set_id(111); actually