Re: [protobuf] FileDescriptor to .proto?
Yeah Thanks, it's there. Himanshu Agarwal On Wed, Mar 11, 2015 at 5:47 AM, Feng Xiao xiaof...@google.com wrote: On Wed, Feb 11, 2015 at 9:53 AM, Himanshu Agarwal agarwal.himanshu...@gmail.com wrote: Hi I'm looking for a method to print a FileDescriptor to a .proto file in C++. I was browsing through the threads and code and the only solution i was able to find out is through DebugString() Api. However i was going through code of DebugString() Api in Descriptor.cc and it appeared that the api doesn't print comments. Is there any other way to print the .proto file with all the information present in FileDescriptor? I remember this DebugString() has been updated to print comments as well. Could you check the master branch on github? Thank you Himanshu Agarwal -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout. -- Thanks and Best Regards Himanshu Agarwal -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
Re: [protobuf] FileDescriptor to .proto?
On Wed, Feb 11, 2015 at 9:53 AM, Himanshu Agarwal agarwal.himanshu...@gmail.com wrote: Hi I'm looking for a method to print a FileDescriptor to a .proto file in C++. I was browsing through the threads and code and the only solution i was able to find out is through DebugString() Api. However i was going through code of DebugString() Api in Descriptor.cc and it appeared that the api doesn't print comments. Is there any other way to print the .proto file with all the information present in FileDescriptor? I remember this DebugString() has been updated to print comments as well. Could you check the master branch on github? Thank you Himanshu Agarwal -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
[protobuf] FileDescriptor to .proto?
Hi I'm looking for a method to print a FileDescriptor to a .proto file in C++. I was browsing through the threads and code and the only solution i was able to find out is through DebugString() Api. However i was going through code of DebugString() Api in Descriptor.cc and it appeared that the api doesn't print comments. Is there any other way to print the .proto file with all the information present in FileDescriptor? Thank you Himanshu Agarwal -- You received this message because you are subscribed to the Google Groups Protocol Buffers group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.