srcML / srcUML

UML Class diagram reverse engineering tool
GNU General Public License v3.0
14 stars 5 forks source link

Identification of abstract classes #10

Closed mjdecker closed 8 years ago

mjdecker commented 8 years ago

Abstract class stereotype can be added. Anything, with at least pure virtual (not interface) is {abstract}

mjdecker commented 8 years ago

Going to adapt to C++ definition from cppreference:

An abstract class is a class that either defines or inherits at least one function for which the final overrider is pure virtual.

mjdecker commented 8 years ago

Actually, would have to check if base class reimplements function. Too much work for small benefit.

Could be future work.

mjdecker commented 8 years ago

Done with pull request #11.

I waffled again. Needed to detect abstract for realization. So, pull request implements abstract and realization.