Book a Demo

Author Topic: Source Code GEneration Template  (Read 2224 times)

resolve

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Source Code GEneration Template
« on: July 15, 2009, 09:40:30 am »
Under Source GEneration TEmplate for C++ language . How do you edit the default template to generate Comment in C++ Style.

Currently EA has 3 different style 1) XML style, 2) Java Document 3) C style.

So what I am looking for how do I edit that template code. So when I generate source code out of my classes in C++ the default comment style should be  as  " // "  instead of C style " /* */ "...
any help or guidance would be appreciated
Thanks!!!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Source Code GEneration Template
« Reply #1 on: July 15, 2009, 11:04:09 am »
I'd recommend modifying the templates to use WRAP_LINES.  See http://www.sparxsystems.com/uml_tool_guide/sdk_for_enterprise_architect/functionmacros.html