Hello PB Group,
I am programming a group of programs in C++ that use PB to
communicate. In my first version of the program I was using a .proto
file that looked similar to the example 1 below. I would then run a
switch statement on a MsgType and create the proper message.
I am now starting to wri
dded message data is treated
> opaquely, so it's slightly harder to inspect.
>
> — *Jon*
>
>
>
>
>
>
>
> On Fri, Nov 5, 2010 at 10:31 AM, AdamM wrote:
> > Hello PB Group,
>
> > I am programming a group of programs in C++ that use PB to
>
message like:
>
> message Msg1 {
> extend BaseMessage {
> optional Msg1 msg1 =
> }
> required int32 field = 1;
>
> }
>
> Then the main program can pass the entire BaseMessage to the right module
> based on type, and the module can retrieve the parsed ext
code below does not work but is there
a way to do something like that?
Baz baz;
baz = foo.GetExtension(Baz);
On Nov 5, 5:28 pm, Daniel Wright wrote:
> On Fri, Nov 5, 2010 at 2:12 PM, AdamM wrote:
> > Thank you Daniel is was not aware of this feature in PB I will give it
> > a try.