Simple translation from python to C++

Berthold Höllmann bhoel at web.de
Tue Feb 26 15:33:43 EST 2002


GUYOT Hervé <herve.guyot at thales-avionics.com> writes:

> And naturally, I've been asked to "model" this poorly designed code
> into Rhapsody in order to try and have a better understanding of
> what goes on, an if possible, refactor it. My first step is to
> define the classes (with methods and attributes declarations) and
> inheritance relationships. Not difficult.
> 
> But instead of dooing it by hand, I've thought of extracting from the
> python code C++ class, methods and attributes declarations, and then,
> feed the retro-engeneering tool of Rhapsody with this "skeletton"
> C++ code.

Search for pyreverse. This program generates a XMI representation. XMI
is a XML representation of UML diagrams understood by many UML tools
(at least two I know of: PoseidonUML and Rational Rose)

Greetings

Berthold
-- 
bhoel at web.de / http://starship.python.net/crew/bhoel/
        It is unlawful to use this email address for unsolicited ads
        (USC Title 47 Sec.227). I will assess a US$500 charge for
        reviewing and deleting each unsolicited ad.



More information about the Python-list mailing list