Re: [protobuf] will protoc accept scalar typedefs ?

2013-02-19 Thread Christopher Head
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 On Fri, 8 Feb 2013 01:08:40 -0800 (PST) RichM wrote: > it would be nice if i could do > typedef int ClientID > > it appears not possible ? > > tks > Richard. > Could you use the decltype() operator against a field in a protobuf message? Pe

[protobuf] Re: Issue 460 in protobuf: Add isDefault() to Java Message interface as a fast means to verify whether it is a default instance

2013-02-19 Thread protobuf
Comment #7 on issue 460 by xiaof...@google.com: Add isDefault() to Java Message interface as a fast means to verify whether it is a default instance http://code.google.com/p/protobuf/issues/detail?id=460 getSerializedSize() will force lazy fields to be unpacked? and even get it wrong? How s

[protobuf] Re: Issue 460 in protobuf: Add isDefault() to Java Message interface as a fast means to verify whether it is a default instance

2013-02-19 Thread protobuf
Comment #6 on issue 460 by dav.co...@gmail.com: Add isDefault() to Java Message interface as a fast means to verify whether it is a default instance http://code.google.com/p/protobuf/issues/detail?id=460 looks like a hack to me. Also, with lazy fields you will either get it wrong, or will

Re: [protobuf] 3rd party middle-ware that supports protocol buffers?

2013-02-19 Thread Johannes Wienke
On 02/19/2013 04:28 PM, crotty.christop...@gmail.com wrote: > Is there an official list of middle-ware (DDS type) products that support > the use of protocol buffers, or do most of those provide their own > interchange format? Not exactly DDS, but we are working on a middleware called RSB, which

[protobuf] 3rd party middle-ware that supports protocol buffers?

2013-02-19 Thread crotty . christopher
Is there an official list of middle-ware (DDS type) products that support the use of protocol buffers, or do most of those provide their own interchange format? Thanks, Chris -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe

[protobuf] Re: Issue 460 in protobuf: Add isDefault() to Java Message interface as a fast means to verify whether it is a default instance

2013-02-19 Thread protobuf
Comment #5 on issue 460 by xiaof...@google.com: Add isDefault() to Java Message interface as a fast means to verify whether it is a default instance http://code.google.com/p/protobuf/issues/detail?id=460 You can check if a message is empty using "getSerializedSize() == 0". I don't see why i

[protobuf] Re: Issue 460 in protobuf: Add isDefault() to Java Message interface as a fast means to verify whether it is a default instance

2013-02-19 Thread protobuf
Comment #4 on issue 460 by dav.co...@gmail.com: Add isDefault() to Java Message interface as a fast means to verify whether it is a default instance http://code.google.com/p/protobuf/issues/detail?id=460 1. Call it isEmpty instead, fine. However, how would you efficiently check whether a Dy