Book a Demo

Author Topic: Document Generation  (Read 8293 times)

Long Nguyen

  • Guest
Document Generation
« on: January 23, 2002, 08:55:58 am »
I tried to generate C++ code for my classes using Enterprise Architect.  My class description was generated for each class, but my comments for operations were not.  Is there an extra setting I should follow?
Thanks.

gsparks

  • EA User
  • **
  • Posts: 325
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Document Generation
« Reply #1 on: January 24, 2002, 05:33:47 am »
Hi,
EA currently puts the operation comments in the .cpp file - this was done as it seemed more in keeping with common practice and keeps the .h file a little cleaner.

Is this suitable for the way you work?

Geoff Sparks




L. Nguyen

  • Guest
Re: Code Generation
« Reply #2 on: January 24, 2002, 02:12:30 pm »
It is fine, except for the fact that it does NOT work.  I entered the description in the class Operations dialog, General tap, Notes text field.  Nothing is generated.  Is that the right place?  Also, forward and reverse engineering for C++ do not work very well.  Sometimes, code updated in the external editor does not get updated in EA.  Re-generating code from EA puts extra stuff in the existing code.  Do I have to make a copy of my code before generating new code?
Thanks.