indiantarget / quimeraengine

0 stars 0 forks source link

Add some macros to make RTTI implementation easier #533

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Every class that inherits from QObject must implement all the RTTI utilities. 
In order to write classes faster and avoid bugs or inconsistencies, some macros 
will be provided so developers has to write the minimum amount of code possible.

There have to be:
* 1 macro for root classes (which derive directly from QObject)
* 1 macro for every number of base classes. This means one macro for classes 
that inherit from 1 class that is not QObject; another macro for classes that 
derive from one class (not QObject) and an interface, etc. 5 macros in total, 
for now.

Take a look to the project at /team/RTTI.

Original issue reported on code.google.com by Lince3D@gmail.com on 29 Apr 2014 at 12:34

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 15 May 2014 at 6:22

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 15 May 2014 at 10:23

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by anderson...@gmail.com on 23 May 2014 at 4:01

GoogleCodeExporter commented 9 years ago
Result: OK
Status: Done

Original comment by anderson...@gmail.com on 23 May 2014 at 5:05