Class Diagram to Code Converter (CD2C) Test phase, srs, design phase and source code final deliverable
Project Domain / Category
Desktop Application
Abstract / Introduction
The is technology of rapid application development where use of automated tools has turn out to be very much commonplace to hastily expand packages so as to meet cut-off date necessities. Class diagram to code converter is a laptop software that we could designers design the elegance diagram of an software with the help of drag and drop tools. Once the diagram is entire, the software generates the abstract level supply code in C++.
Functional Requirements:
The utility will provide a complete tool set for drawing class diagram. The device set should include the subsequent equipment:
• Class
• Association (along with multiplicity)
• Inheritance
• Aggregation
• Composition
User will select any tool and vicinity/drag it to drawing place in order to finish the class diagram. E.G. There should be a device for “Class” which consumer will pick and vicinity/drag to the drawing vicinity to attract the class. Once the elegance is drawn, consumer can set its homes e.G. Class call, information contributors and strategies and so forth. By using the usage of the “Properties” conversation container. The homes conversation box have to be displayed by way of right clicking at the elegance drawn on the drawing area. Similarly, person must be able to draw the affiliation, inheritance, aggregation and composition among the instructions and set their properties using the houses dialog box.
Once the magnificence diagram is whole, then user need to be able to convert the class diagram into C++ source code. Following desk indicates a pattern class diagram and generated source code. Note that the shown elegance diagram implements the inheritance relationship.
Sample Class diagram Sample supply code generated in C++
elegance character
personal:
string call;
public:
string getname(void)
public:
void setname (string s)
;
class student : character
personal: glide cgpa;
public: float getcgpa(void)
public: void setcgpa (waft cg)
;
Video at following link might also provide you a few concept about the way to enforce the “drawing of sophistication diagram” capability.
Https://www.Youtube.Com/watch?V=O2Qlw1QmCWQ
Tools:
C#.Net or Java