|
Boost Users : |
From: David Klein (d.klein_at_[hidden])
Date: 2006-03-29 06:02:02
boost-users-bounces_at_[hidden] 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?
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
hi rob,
i guess you're looking for some kind of reflection library.
there is none so far in boost, but there were some proposals in the
past.
see: http://lists.boost.org/Archives/boost/2006/01/99686.php
HTH dave
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