|
Boost Users : |
From: Wu Yinghui, Freddie (yhwu_at_[hidden])
Date: 2006-03-29 21:17:54
> Note that a component of the serialization library "extended_type_info"
addresses
> this issue (as it must) in order to de-serialize pointers. You might look
in
> the serialization documentation.
>
> Robert Ramey
Frankly speaking, I've been researching on this topic as well. Most of the current libraries (e.g. Reflex) uses external programs/scripts to general the "stub" program for reflection support. This is not acceptable for our current environment.
Boost.Serialization was a very good candidate, though a little bit difficult to use--It provides the necessary support all under the hood of C++ and C++ alone. Nonetheless, though I've inspected "extended_type_info" reference in the manual a number of times, I'm sorry that I cannot see how to achieve what Rob Caldecott wanted using it.
Maybe you can shed some light on this? TIA!
Cheers,
Freddie
> Rob Caldecott wrote:
> > Is there any way that, using Boost, you can dynamically create
> > classes by name, similar to the MFC RUNTIME_CLASS macros? I was
> > hoping that the boost::serialize libs might be able to help with this.
> >
> > For example, I want to be able to do something like:
> >
> > CMyClass* pClass = CREATE_CLASS_BY_NAME("CMyClass");
> >
> > Can Boost help me to achieve this?
-- Wu Yinghui, Freddie Research & Development Software Engineer Volume Interactions Pte Ltd 1 Kim Seng Promenade, #12-01 Great World City East Tower Singapore 237994 Tel: +65 62226962 (Ext 216) Fax: +65 62226215 Email: yhwu_at_[hidden] URL: http://www.volumeinteractions.com Important: This message is intended for the recipient(s) addressed above. It contains privileged and confidential information. If you are not the intended recipient, please notify the sender immediately by replying to this message and then delete it from your system. You must not read, copy, use, or disseminate this communication in any form. Thank you.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net