[umbrello] [Bug 371274] Code generator does not generate typedefs
Ralf Habacker via KDE Bugzilla
bugzilla_noreply at kde.org
Fri Oct 21 10:17:00 UTC 2016
https://bugs.kde.org/show_bug.cgi?id=371274
--- Comment #4 from Ralf Habacker <ralf.habacker at freenet.de> ---
With the last commits writing out typedefs located in classes are implemented.
Writing out data types defined in a namespace needs a little more work.
Umbrello writes out classes into files named according to the exported class.
As typedefs in namespaces may be used in more than one class from the related
namespace or from classes outside the namespace umbrello requires some hints
where to place those typedefs. There are a few variants possible:
1. Generate an extra header file in the namespace containing all related
typedefs and include it in all header files generated for this namespace.
2. Extend umbrello to be able to assign UML objects to filenames which is then
used by the code generator to place the typedefs in the related header. Code
import can also use this feature to generate UML object to filename tracking
which is required for round trip engineering.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list