Hello,

I have a proto buf file with an enumeration with leading comments.

I do this commands to obtains FileDescriptorSet :
protoc.exe --cpp_out=proto File.proto --include_imports 
--include_source_info -oFile.desc

I want extract in C++ all enumerations values and its comments from this 
file descriptor.

I can obtain the comments with SourceCodeInfo, I can obtains the name of 
enum value with 
EnumValueDescriptorProto. 

But how obtains the comment associated with a value ?
I know do it with a protobuf source file, but with file descriptor I have 
not found how ?
Best regards

-- 
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/groups/opt_out.

Reply via email to