On Fri, Dec 04, 2009 at 02:17:33PM -0800, Scott Stafford wrote:
> Hi -
> 
> We built a simplified XPath-like syntax (and implementation for C++)
> to control the Reflection interface via strings.  For instance,
... skip ...
> PBPath::GetInt32( myMessage, "field2[id=50].field3[1]" );
> 
> would search myMessage.field2() for a message with id()==50, then get
> the second element of Substructure.field3() and return it.
May You share details about query syntax?
 
> Is this something people would be interested in if I cleaned it up for
> release as a separate library?  Is there any interest in me submitting
> a patch to build it in to the protobuf library directly in some form?
> If so, what form?
 
> The implementation involves digesting the xpath-like string into a
> protobuf object that contains field ids and so on.
So You have formal (protobuf) description of this syntax?

I would be greatful if you share these parts :)

                                Pavel

--

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.


Reply via email to