readme - Header2XMI

readme - Header2XMI

Inhalt


Topic:.readme_Header2XMI.

What is Header2XMI

A software development may use UML, the Unified Modelling Language to get an overview over the architecture of the software. Some UML-Tools promote the Model-driven development, which means that the whole software development process is sub-ordered under the UML-Tool. But in some cases a classic software development process using C-files, headers, makefiles and a proper Integrated Development environment is established. UML may be used really for the software-architecture, the overview over routines and data, respectively classes and methods. Header files can be converted to a UML model using the XMI standard (XML Metadata Interchange). All UML-Tools should support import and export of XMI, it is a part of the UML 2.0-standard.

This example of ZBNF and the belonging XSL-Scripts helps to go the way from C-Headers to UML. The software can be visited and documented in UML, with feedback to improve the C-sources. C-struct are represented as classes in UML. A special notation binds C-prototype-defined routines in headers to the struct, there are class methods.

The example contains:

More complex Conversions from Header to UML are able to find in the Java2C_on_Sourceforge or as examples at the vishia-page, see Cheader2Xmi.