[umbrello] [Bug 81301] Support UML Profile for CORBA specification

Oliver Kellogg bugzilla_noreply at kde.org
Sun Jan 17 19:26:31 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=81301

--- Comment #7 from Oliver Kellogg <okellogg at users.sourceforge.net> ---
Git commit 1b35365e642e4094d916c1db8956f6961c12da46 by Oliver Kellogg.
Committed on 17/01/2021 at 19:26.
Pushed by okellogg into branch 'master'.

In IDLWriter flesh out code generation for IDL union:

umbrello/codegenerators/idl/idlwriter.cpp
- In function writeClass, if `stype' contains "Union" then
  - retrieve the classifier's attributes into local `atl';
  - pop first attribute off front of `atl' into local `discrim' and
    generate the "switch" type using discrim;
  - iterate over the remaining elements of `atl' and handle tags on
    each element (the tags are used for storing the union case labels
    or the "default" label) before printing each attribute.
- Additional change in function writeClass: On handling Typedef fix
  crash when superclass is not set.

M  +39   -5    umbrello/codegenerators/idl/idlwriter.cpp

https://invent.kde.org/sdk/umbrello/commit/1b35365e642e4094d916c1db8956f6961c12da46

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list