Tool to draw class hierarchies for c++/JavaGenerating UML from C++ code?When should you use a class vs a struct in C++?What are the differences between a pointer variable and a reference variable in C++?Are static class variables possible in Python?What open source C++ static analysis tools are available?The Definitive C++ Book Guide and ListWhat is the “-->” operator in C++?Why is this program erroneously rejected by three C++ compilers?C++11 introduced a standardized memory model. What does it mean? And how is it going to affect C++ programming?Image Processing: Algorithm Improvement for 'Coca-Cola Can' RecognitionES6 class variable alternatives

Compiler only complains about the ambiguous overloaded functions when the parameter is 0

Inscriptio Labyrinthica

May I use a railway velocipede on used British railways?

How would you say "Sorry, that was a mistake on my part"?

Arithmetics in LuaLaTeX

Company looks for long-term employees, but I know I won't be interested in staying long

Drawing a circle with nodes shift with Tikz

What could make large expeditions ineffective for exploring territory full of dangers and valuable resources?

Word for something indicating the importance of guarding it properly

When can a polynomial be written as a polynomial function of another polynomial?

Round command argument before using

Why won't some unicode characters print to my terminal?

Why are there few or no black super GMs?

Last-minute canceled work-trip mean I'll lose thousands of dollars on planned vacation

What makes MOVEQ quicker than a normal MOVE in 68000 assembly?

Why is the Intel 8086 CPU called a 16-bit CPU?

How to interpret a promising preprint that was never published?

Does unblocking power bar outlets through short extension cords increase fire risk?

I want to identify a part from a photo

How do you send money when you're not sure it's not a scam?

Is it possible to have a career in SciComp without contributing to arms research?

Is it legal for a supermarket to refuse to sell an adult beer if an adult with them doesn’t have their ID?

Is Error correction and detection can be done with out adding extra bits?

Pauli exclusion principle - black holes



Tool to draw class hierarchies for c++/Java


Generating UML from C++ code?When should you use a class vs a struct in C++?What are the differences between a pointer variable and a reference variable in C++?Are static class variables possible in Python?What open source C++ static analysis tools are available?The Definitive C++ Book Guide and ListWhat is the “-->” operator in C++?Why is this program erroneously rejected by three C++ compilers?C++11 introduced a standardized memory model. What does it mean? And how is it going to affect C++ programming?Image Processing: Algorithm Improvement for 'Coca-Cola Can' RecognitionES6 class variable alternatives






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I want to draw class hierarchies for some C++ projects.
I have the information in the following format in files.



class x: public Y

class Z: public Y

class R: public X .....and so on..


I have around 1000 class for the project. Can anyone suggest how should I go about doing it... I mean what tools... what process?










share|improve this question
























  • stackoverflow.com/a/406130/1715716

    – Gauthier Boaglio
    Jun 16 '13 at 19:50











  • BouML, starUML for open source. But kind of limited. Otherwise you'll have to pay...

    – Gauthier Boaglio
    Jun 16 '13 at 19:53











  • Arguably you should have started with the diagram (or some form of design) before the code.

    – Clifford
    Jun 16 '13 at 20:07

















0















I want to draw class hierarchies for some C++ projects.
I have the information in the following format in files.



class x: public Y

class Z: public Y

class R: public X .....and so on..


I have around 1000 class for the project. Can anyone suggest how should I go about doing it... I mean what tools... what process?










share|improve this question
























  • stackoverflow.com/a/406130/1715716

    – Gauthier Boaglio
    Jun 16 '13 at 19:50











  • BouML, starUML for open source. But kind of limited. Otherwise you'll have to pay...

    – Gauthier Boaglio
    Jun 16 '13 at 19:53











  • Arguably you should have started with the diagram (or some form of design) before the code.

    – Clifford
    Jun 16 '13 at 20:07













0












0








0


1






I want to draw class hierarchies for some C++ projects.
I have the information in the following format in files.



class x: public Y

class Z: public Y

class R: public X .....and so on..


I have around 1000 class for the project. Can anyone suggest how should I go about doing it... I mean what tools... what process?










share|improve this question
















I want to draw class hierarchies for some C++ projects.
I have the information in the following format in files.



class x: public Y

class Z: public Y

class R: public X .....and so on..


I have around 1000 class for the project. Can anyone suggest how should I go about doing it... I mean what tools... what process?







c++ class visual-c++






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 16 '13 at 19:46









jabaldonedo

17.9k4 gold badges57 silver badges68 bronze badges




17.9k4 gold badges57 silver badges68 bronze badges










asked Jun 16 '13 at 19:43









Anup BuchkeAnup Buchke

1,7304 gold badges17 silver badges31 bronze badges




1,7304 gold badges17 silver badges31 bronze badges












  • stackoverflow.com/a/406130/1715716

    – Gauthier Boaglio
    Jun 16 '13 at 19:50











  • BouML, starUML for open source. But kind of limited. Otherwise you'll have to pay...

    – Gauthier Boaglio
    Jun 16 '13 at 19:53











  • Arguably you should have started with the diagram (or some form of design) before the code.

    – Clifford
    Jun 16 '13 at 20:07

















  • stackoverflow.com/a/406130/1715716

    – Gauthier Boaglio
    Jun 16 '13 at 19:50











  • BouML, starUML for open source. But kind of limited. Otherwise you'll have to pay...

    – Gauthier Boaglio
    Jun 16 '13 at 19:53











  • Arguably you should have started with the diagram (or some form of design) before the code.

    – Clifford
    Jun 16 '13 at 20:07
















stackoverflow.com/a/406130/1715716

– Gauthier Boaglio
Jun 16 '13 at 19:50





stackoverflow.com/a/406130/1715716

– Gauthier Boaglio
Jun 16 '13 at 19:50













BouML, starUML for open source. But kind of limited. Otherwise you'll have to pay...

– Gauthier Boaglio
Jun 16 '13 at 19:53





BouML, starUML for open source. But kind of limited. Otherwise you'll have to pay...

– Gauthier Boaglio
Jun 16 '13 at 19:53













Arguably you should have started with the diagram (or some form of design) before the code.

– Clifford
Jun 16 '13 at 20:07





Arguably you should have started with the diagram (or some form of design) before the code.

– Clifford
Jun 16 '13 at 20:07












6 Answers
6






active

oldest

votes


















1














You could use UML diagramming tools. There are a specific category called Unified Modelling Language.
In our school we used Rational Rose for that.
http://www.ibm.com/developerworks/rational/downloads/



And a point to note.,
I haven't done that, But I heard that if you drawn a design with that toos., then could make a skeleton of your code. i.e It could automatically create that much classes and its derivatives, methods, data variables.



Then you need to write the definitions in that auto generated skeleton. So, saving lot of manual works.



http://www-01.ibm.com/software/rational/uml/






share|improve this answer
































    3














    Doxygen can do this (and a lot more, like call graphs).



    You can get it (and instructions on how to use it) here.






    share|improve this answer

























    • Note you may also need to install GraphViz to render some of Doxygen's diagram types. Information on the Doxygen site.

      – Clifford
      Jun 16 '13 at 20:00


















    2














    I use Doxygen for class diagrams and hierarchy.






    share|improve this answer
































      2














      Indeed Doxygen is greet for generating documentation from code. If you need a tool to make easily a class diagram (online), you can take a look at GenMyModel.






      share|improve this answer
































        1














        For reverse engineering/documenting I'd suggest Doxygen, but if you want full UML modelling then Umbrello may fit the bill (Linux only, though I have sucessfully used it in a VM on Windows).






        share|improve this answer






























          1














          First, take a look to uml modeling. Also, see related question https://stackoverflow.com/questions/390438/good-free-uml-tool-for-java-eclipse. Another tool is dia.






          share|improve this answer



























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f17137007%2ftool-to-draw-class-hierarchies-for-c-java%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            6 Answers
            6






            active

            oldest

            votes








            6 Answers
            6






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            You could use UML diagramming tools. There are a specific category called Unified Modelling Language.
            In our school we used Rational Rose for that.
            http://www.ibm.com/developerworks/rational/downloads/



            And a point to note.,
            I haven't done that, But I heard that if you drawn a design with that toos., then could make a skeleton of your code. i.e It could automatically create that much classes and its derivatives, methods, data variables.



            Then you need to write the definitions in that auto generated skeleton. So, saving lot of manual works.



            http://www-01.ibm.com/software/rational/uml/






            share|improve this answer





























              1














              You could use UML diagramming tools. There are a specific category called Unified Modelling Language.
              In our school we used Rational Rose for that.
              http://www.ibm.com/developerworks/rational/downloads/



              And a point to note.,
              I haven't done that, But I heard that if you drawn a design with that toos., then could make a skeleton of your code. i.e It could automatically create that much classes and its derivatives, methods, data variables.



              Then you need to write the definitions in that auto generated skeleton. So, saving lot of manual works.



              http://www-01.ibm.com/software/rational/uml/






              share|improve this answer



























                1












                1








                1







                You could use UML diagramming tools. There are a specific category called Unified Modelling Language.
                In our school we used Rational Rose for that.
                http://www.ibm.com/developerworks/rational/downloads/



                And a point to note.,
                I haven't done that, But I heard that if you drawn a design with that toos., then could make a skeleton of your code. i.e It could automatically create that much classes and its derivatives, methods, data variables.



                Then you need to write the definitions in that auto generated skeleton. So, saving lot of manual works.



                http://www-01.ibm.com/software/rational/uml/






                share|improve this answer















                You could use UML diagramming tools. There are a specific category called Unified Modelling Language.
                In our school we used Rational Rose for that.
                http://www.ibm.com/developerworks/rational/downloads/



                And a point to note.,
                I haven't done that, But I heard that if you drawn a design with that toos., then could make a skeleton of your code. i.e It could automatically create that much classes and its derivatives, methods, data variables.



                Then you need to write the definitions in that auto generated skeleton. So, saving lot of manual works.



                http://www-01.ibm.com/software/rational/uml/







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jun 16 '13 at 19:55

























                answered Jun 16 '13 at 19:50









                Muthu Ganapathy NathanMuthu Ganapathy Nathan

                1,7818 gold badges39 silver badges67 bronze badges




                1,7818 gold badges39 silver badges67 bronze badges























                    3














                    Doxygen can do this (and a lot more, like call graphs).



                    You can get it (and instructions on how to use it) here.






                    share|improve this answer

























                    • Note you may also need to install GraphViz to render some of Doxygen's diagram types. Information on the Doxygen site.

                      – Clifford
                      Jun 16 '13 at 20:00















                    3














                    Doxygen can do this (and a lot more, like call graphs).



                    You can get it (and instructions on how to use it) here.






                    share|improve this answer

























                    • Note you may also need to install GraphViz to render some of Doxygen's diagram types. Information on the Doxygen site.

                      – Clifford
                      Jun 16 '13 at 20:00













                    3












                    3








                    3







                    Doxygen can do this (and a lot more, like call graphs).



                    You can get it (and instructions on how to use it) here.






                    share|improve this answer















                    Doxygen can do this (and a lot more, like call graphs).



                    You can get it (and instructions on how to use it) here.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Dec 24 '18 at 12:59









                    albert

                    3,3653 gold badges11 silver badges25 bronze badges




                    3,3653 gold badges11 silver badges25 bronze badges










                    answered Jun 16 '13 at 19:54









                    CubicCubic

                    11.6k3 gold badges33 silver badges75 bronze badges




                    11.6k3 gold badges33 silver badges75 bronze badges












                    • Note you may also need to install GraphViz to render some of Doxygen's diagram types. Information on the Doxygen site.

                      – Clifford
                      Jun 16 '13 at 20:00

















                    • Note you may also need to install GraphViz to render some of Doxygen's diagram types. Information on the Doxygen site.

                      – Clifford
                      Jun 16 '13 at 20:00
















                    Note you may also need to install GraphViz to render some of Doxygen's diagram types. Information on the Doxygen site.

                    – Clifford
                    Jun 16 '13 at 20:00





                    Note you may also need to install GraphViz to render some of Doxygen's diagram types. Information on the Doxygen site.

                    – Clifford
                    Jun 16 '13 at 20:00











                    2














                    I use Doxygen for class diagrams and hierarchy.






                    share|improve this answer





























                      2














                      I use Doxygen for class diagrams and hierarchy.






                      share|improve this answer



























                        2












                        2








                        2







                        I use Doxygen for class diagrams and hierarchy.






                        share|improve this answer















                        I use Doxygen for class diagrams and hierarchy.







                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited Mar 26 at 10:01









                        albert

                        3,3653 gold badges11 silver badges25 bronze badges




                        3,3653 gold badges11 silver badges25 bronze badges










                        answered Jun 16 '13 at 19:49









                        Tyler JandreauTyler Jandreau

                        3,50515 silver badges39 bronze badges




                        3,50515 silver badges39 bronze badges





















                            2














                            Indeed Doxygen is greet for generating documentation from code. If you need a tool to make easily a class diagram (online), you can take a look at GenMyModel.






                            share|improve this answer





























                              2














                              Indeed Doxygen is greet for generating documentation from code. If you need a tool to make easily a class diagram (online), you can take a look at GenMyModel.






                              share|improve this answer



























                                2












                                2








                                2







                                Indeed Doxygen is greet for generating documentation from code. If you need a tool to make easily a class diagram (online), you can take a look at GenMyModel.






                                share|improve this answer















                                Indeed Doxygen is greet for generating documentation from code. If you need a tool to make easily a class diagram (online), you can take a look at GenMyModel.







                                share|improve this answer














                                share|improve this answer



                                share|improve this answer








                                edited Mar 26 at 12:01









                                albert

                                3,3653 gold badges11 silver badges25 bronze badges




                                3,3653 gold badges11 silver badges25 bronze badges










                                answered Jun 17 '13 at 4:54









                                XaelisXaelis

                                1,4448 silver badges13 bronze badges




                                1,4448 silver badges13 bronze badges





















                                    1














                                    For reverse engineering/documenting I'd suggest Doxygen, but if you want full UML modelling then Umbrello may fit the bill (Linux only, though I have sucessfully used it in a VM on Windows).






                                    share|improve this answer



























                                      1














                                      For reverse engineering/documenting I'd suggest Doxygen, but if you want full UML modelling then Umbrello may fit the bill (Linux only, though I have sucessfully used it in a VM on Windows).






                                      share|improve this answer

























                                        1












                                        1








                                        1







                                        For reverse engineering/documenting I'd suggest Doxygen, but if you want full UML modelling then Umbrello may fit the bill (Linux only, though I have sucessfully used it in a VM on Windows).






                                        share|improve this answer













                                        For reverse engineering/documenting I'd suggest Doxygen, but if you want full UML modelling then Umbrello may fit the bill (Linux only, though I have sucessfully used it in a VM on Windows).







                                        share|improve this answer












                                        share|improve this answer



                                        share|improve this answer










                                        answered Jun 16 '13 at 20:06









                                        CliffordClifford

                                        63.2k9 gold badges67 silver badges130 bronze badges




                                        63.2k9 gold badges67 silver badges130 bronze badges





















                                            1














                                            First, take a look to uml modeling. Also, see related question https://stackoverflow.com/questions/390438/good-free-uml-tool-for-java-eclipse. Another tool is dia.






                                            share|improve this answer





























                                              1














                                              First, take a look to uml modeling. Also, see related question https://stackoverflow.com/questions/390438/good-free-uml-tool-for-java-eclipse. Another tool is dia.






                                              share|improve this answer



























                                                1












                                                1








                                                1







                                                First, take a look to uml modeling. Also, see related question https://stackoverflow.com/questions/390438/good-free-uml-tool-for-java-eclipse. Another tool is dia.






                                                share|improve this answer















                                                First, take a look to uml modeling. Also, see related question https://stackoverflow.com/questions/390438/good-free-uml-tool-for-java-eclipse. Another tool is dia.







                                                share|improve this answer














                                                share|improve this answer



                                                share|improve this answer








                                                edited May 23 '17 at 12:13









                                                Community

                                                11 silver badge




                                                11 silver badge










                                                answered Jun 16 '13 at 20:10









                                                Mihai8Mihai8

                                                2,5441 gold badge13 silver badges26 bronze badges




                                                2,5441 gold badge13 silver badges26 bronze badges



























                                                    draft saved

                                                    draft discarded
















































                                                    Thanks for contributing an answer to Stack Overflow!


                                                    • Please be sure to answer the question. Provide details and share your research!

                                                    But avoid


                                                    • Asking for help, clarification, or responding to other answers.

                                                    • Making statements based on opinion; back them up with references or personal experience.

                                                    To learn more, see our tips on writing great answers.




                                                    draft saved


                                                    draft discarded














                                                    StackExchange.ready(
                                                    function ()
                                                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f17137007%2ftool-to-draw-class-hierarchies-for-c-java%23new-answer', 'question_page');

                                                    );

                                                    Post as a guest















                                                    Required, but never shown





















































                                                    Required, but never shown














                                                    Required, but never shown












                                                    Required, but never shown







                                                    Required, but never shown

































                                                    Required, but never shown














                                                    Required, but never shown












                                                    Required, but never shown







                                                    Required, but never shown







                                                    Popular posts from this blog

                                                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                                                    Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                                                    Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript