From: AJ H. <aj...@aj...> - 2003-09-07 23:14:24
|
On Sunday 07 September 2003 14:28, Leandro Lucarella wrote: > AJ Harrington, el domingo 7 de septiembre a las 13:00 me escribiste: > > Hello, [SNIP] > > 2) Added (with the Dependency class) the coded documentation commands: > > x2c:friend (to add a friend class) and x2c:uses (to indicate a uses > > dependency). > > I don't understand why two commands are needed for adding a friend > class... There's no special "widget" in umbrello to add a dependency? There's a dependancy widget in Umbrello, but it doesn't offer a stereotype. My commands are in place of using a stereotype (which I hope they offer in the next version of Umbrello...I got to check out the source). x2c:friend tags the dependancy as <<friend>>, as it were, and adds friend class ClassName to the header file in question (for right now it always adds it as protected, I'm working on changing that so it will add it as the user requests). The other command emulates a <<use>> stereotype (I know, I know, I called it uses...) and tags it as such. Both commands add a forward declaration of the class to the header file in cpp generation. [SNIP] > > 4) Added (I'm sure re-added) mNoClass back to Class to prevent compile > > time errors in the *generator.cpp files (all seem to call related Class:: > > member functions) > > Errors? When I compile it I just get one warning for the Ada Generator. > Hmmm...I could've sworn I got mutliples, maybe I've been drinking WAAAYYYY too much coffee. [SNIP] > > Once again thank you for the great software! I just want to say this again. I've been having a great time using and playing with it. This utility is great! > > PS: I Cc-ed this mail to the developers mailing list: > http://lists.sourceforge.net/lists/listinfo/xmi2code-develop > You are invited! :) Thanks for the invite, I've signed up...also I've CCed this reply to the list. Ciao, AJ "Sandy" Harrington |