Hello all,
Thank you for your work, I'm happy to use this new version plugin. I'm learning UML for C++ project and it's simple with dia. So my question is : I've draw a class diagram and I try to generate .cpp and .hpp files but dia2code+ give me only .hpp files.
.hpp files generation are already a great help.
That come probably from my diagram but I don't know why. I've tryed the example1.dia from dia's example and it's the same.
I can send you my diagram if needed.
Regards,
gilou
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Thanks for your quick reply.
Ok I was misled by the documentation : Here
In the examples section :
$ dia2code -t cpp -nc -d ~/C++ hw.dia
Will generate the .cpp and .h files for the classes in the test.dia diagram and put them in the directory ~/C++. It won't overwrite any existant file.
Regards,
gilou
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all,
Thank you for your work, I'm happy to use this new version plugin. I'm learning UML for C++ project and it's simple with dia. So my question is : I've draw a class diagram and I try to generate .cpp and .hpp files but dia2code+ give me only .hpp files.
I've tried the command : dia2code -t cpp -d C++/ diagram.dia
.hpp files generation are already a great help.
That come probably from my diagram but I don't know why. I've tryed the example1.dia from dia's example and it's the same.
I can send you my diagram if needed.
Regards,
gilou
Hi,
dia2code only generates header. It doesn't generate prototype in source file.
Regards,
Hi,
Thanks for your quick reply.
Ok I was misled by the documentation : Here
In the examples section :
Regards,
gilou