[protobuf] Re: Issue 10 in protobuf: Cannot install

2011-06-27 Thread protobuf


Comment #13 on issue 10 by subash10...@gmail.com: Cannot install
http://code.google.com/p/protobuf/issues/detail?id=10

The clock on my Sun has stopped working. When I turn off the machine it  
loses track of the time and/or complains about invalid TOD when I turn it  
on. How do I get my clock to keep time when the system is off?


--
You received this message because you are subscribed to the Google Groups Protocol 
Buffers group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



Re: Re:Re: [protobuf] Re: Is any method available to convert a protobuf object to XML?

2011-06-27 Thread Lars Schouw
When you say managed C++ what kind of library are you using? A C++ one? 
Can't you wrap that in a Managed C++ layer?

-- 
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/-/S6tfdGgl6IsJ.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



Re: Re:Re: [protobuf] Re: Is any method available to convert a protobuf object to XML?

2011-06-27 Thread Ben Wright
Have you tried http://code.google.com/p/protostuff/ ?

-- 
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/-/hTS8SDZLVvgJ.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] Java: Why are the generated classes final?

2011-06-27 Thread Seref Arikan
Greetings,
Both the Google tools and protostuff outputs in the form of Java classes are
final. What is the reason for this?
I was hoping I could create a layer that inherits the generated code and
behaves differently, which is not possible due to final classes.

Cheers
Seref

-- 
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



Re: [protobuf] Java: Why are the generated classes final?

2011-06-27 Thread David Yu
On Mon, Jun 27, 2011 at 10:33 PM, Seref Arikan serefari...@gmail.comwrote:

 Greetings,
 Both the Google tools and protostuff outputs in the form of Java classes
 are final. What is the reason for this?

I believe its mostly for performance.

 I was hoping I could create a layer that inherits the generated code and
 behaves differently, which is not possible due to final classes.

With protobuf, you could implement that with a custom code generator w/c
gets called by protoc.
With protostuff, simply extend(inherit) the existing ST templates and
override the behavior.



 Cheers
 Seref

 --
 You received this message because you are subscribed to the Google Groups
 Protocol Buffers group.
 To post to this group, send email to protobuf@googlegroups.com.
 To unsubscribe from this group, send email to
 protobuf+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/protobuf?hl=en.




-- 
When the cat is away, the mouse is alone.
- David Yu

-- 
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] dynamic deserialize message in Python

2011-06-27 Thread Ruslan Mullakhmetov
Hi

   I'm trying to deserialize different protobuf messages in python. Is the 
any way to get message type from unserialized message?

   Like dynamic message in cpp and java ?

   Thanks.

-- 
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/-/FMMxE9JD9jwJ.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



[protobuf] How to get message type in python from serialized buffer

2011-06-27 Thread Ruslan Mullakhmetov
Hi.

   I'm trying to parse protobuf messages in Python. There are a few kind of 
mesages and i want to get it's type dynamicly. 

   How can i do it? I need to get either class of message or message name.

   Please help.

-- 
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/-/bAwJxhPZYpcJ.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



Re:Re: Re:Re: [protobuf] Re: Is any method available to convert a protobuf object to XML?

2011-06-27 Thread jianhua
Thanks for your quick response.
Seems no easy and convenient solution for managed C++ which I mean it isn’t 
dependent on MS .NET framework.

If no such convert plug-in available, boost serialization and TinyXML are all 
my choice. 

If using boost, it is intrusive for original class, now I am responsible for a 
regression testing framework, using XML for object serialization,  the 
developing language is C++, seems they are all not easy to achieve the goal, 
the last choice is TinyXML, it could do, despite that many code need to written 
by  myself for many classes.

Hope to get more of your tips.  Thanks.


At 2011-06-27 22:05:18,Lars Schouw sch...@gmail.com wrote:
When you say managed C++ what kind of library are you using? A C++ one? Can't 
you wrap that in a Managed C++ layer?

--
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To view this discussion on the web 
visithttps://groups.google.com/d/msg/protobuf/-/S6tfdGgl6IsJ.
To post to this group, send email toproto...@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
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 protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.