Hi All,

Can we use callback function in the text format parser in order that the 
parsing information can be easily stored into self-defined data structure?
As we know, if we define a protocol for the message that we need. We can 
use the protocol buffer compiler to compile it to generate c++ code that 
reads the textual format into generated data structure.
If we then need to fill the information of the data structure into another 
corresponding data structure, could we let parsing steps provided by 
TextFormat::parser to callback the function we newly defined to fill the 
information into our desired data structure?

Thanks !

kind regards,

Hao Hu

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.

Reply via email to