No, protocol buffers cannot contain arbitrary classes.
On Thu, Nov 1, 2012 at 12:17 AM, Santosh Dumbre <[email protected]>wrote: > Please consider a scenario - > > I have an existing C++ Class - > > class A > { > int x; > char* y; > > public: > > int processData(int x, char* y) > { > > > } > }; > > Question - > Can I use this Class Type - : "Class A" as Message Type for > serialization inside .proto file ? > > Kindly help my understanding. > > Thanks & Regards, > Santosh. > > > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/protobuf/-/i4phWpLvvnkJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/protobuf?hl=en. > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
