Generate Code: Keep data members in same order as UML

General discussions about code engineering

Moderator: Moderators

Generate Code: Keep data members in same order as UML

Postby Phoffric@hotmail.com » Wed Dec 26, 2018 11:36 am

After ordering the data members in UML, I would like this ordering to remain the same in C++ code; but it is being changed to an alphabetical order. How to prevent this reordering?
Phoffric@hotmail.com
Forum Newbie
Forum Newbie
 
Posts: 6
Posts Rating:0
Joined: Mon Jul 09, 2018 11:17 pm

Re: Generate Code: Keep data members in same order as UML

Postby kolisnichenkoooo@gmail.com » Mon May 27, 2019 10:52 am

I'll share a method I used when I was back-ending this app: https://addpopular.com/

Visit this codepen page codepen.io/alvaromontoro/pen/vwjBqz and fork my code, it is better when you understand it by yourself
kolisnichenkoooo@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 1
Posts Rating:0
Joined: Mon May 27, 2019 10:50 am


Return to Code engineering

Who is online

Users browsing this forum: No registered users and 0 guests

cron