Jump to content
  • Advertisement

Archived

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

F104

Runtime class browser/editor

This topic is 6016 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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!