Navigating message containment (backwards)

2009-05-28 Thread naderp
Hi, In the context of the C++ API and given a specific message instance, is there a way to obtain a pointer to the message instance that cointains it? Eg, In the following: message_parent { message_child{ } } At some stage when dealing with a pointer to message_child, is there any wa

Message type scope resolution

2009-07-29 Thread naderp
Hi, Does the protocol buffer language have a mechanism for resolving types across scopes. Eg, given message foo { message X {} message bar { message X{} message abc { message foo:X<--- This is not legal, but how do you do it? } } }

[protobuf] Visual Studio Visualizer for Repeated Messages

2010-01-18 Thread naderp
Hi Back in 2.0.3 I was able to visualise repeated messages under the VS C+ + 2008 debugger. In 2.2.0 they are no longer inspectable. Can anyone shed any light on this or maybe submit a visualiser? Thanks -- You received this message because you are subscribed to the Google Groups "Protocol Buf

[protobuf] compound message allows colon

2011-02-18 Thread naderp
Hi, Given the following .proto definition: message person { required string name = 1; required int32 id = 2; } I noticed the following message syntax is valid: person: { name: "fred" id: 3 } i.e., the generated parser will quite happily accept a colon after the compound message nam