Archived

This topic is now archived and is closed to further replies.

Runtime class browser/editor

This topic is 5800 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I have to develop an editor for our 3D engine. I would take a bit different way to do it... simply browse and edit all the properties of all the engine''s classes! :-) So... is it possible to get class''s properties and their values RUNTIME? I''m speaking about C++ :-) Bye Bye F104/NA

Share this post


Link to post
Share on other sites
Um, no.

There''s a modern technique to acquire that information at compile-time, but it requires a compiler with very good template support.

The alternative is an abstact base-class that has pure enumeration and get/set functions that every game object must implement. This is much how the IDispatch interface in COM works.

Share this post


Link to post
Share on other sites