Read in code to spit out UML

Started by
5 comments, last by Arild Fines 18 years, 8 months ago
I was wondering is there any UML programs that can draw the diagrams just by giving it the class structure. for example:

class blah {

  private: 
     int x;
     float whatever;

  protected:
     string whoknows;


  public:
     void myBarIsFoo();
};


class bleh: public blah {

   private: 
      double nooneknows;


   public:
      int haha;
};
[Edited by - Alpha_ProgDes on August 19, 2005 7:00:14 PM]

Beginner in Game Development?  Read here. And read here.

 

Advertisement
I'm sure Rational Rose does (Rational got bought out by Avid, though... I think...)
my_life:          nop          jmp my_life
[ Keep track of your TDD cycle using "The Death Star" ] [ Verge Video Editor Support Forums ] [ Principles of Verg-o-nomics ] [ "t00t-orials" ]
For what OS? On OS X, I believe Xcode 2.0 does that.
Windows 2000 or higher.

Beginner in Game Development?  Read here. And read here.

 

Enterprise Architect. For code import/export you'll need to get the professional edition, which is $199. I use Enterprise Architect for my own projects, and it's the best UML modelling tool I've come across.
I haven't tried it, but Visio claims to be able to generate UML diagrams from code.
John BoltonLocomotive Games (THQ)Current Project: Destroy All Humans (Wii). IN STORES NOW!
Quote:Original post by JohnBolton
I haven't tried it, but Visio claims to be able to generate UML diagrams from code.

It works.
--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]

This topic is closed to new replies.

Advertisement