How to create a class diagram of a Geant4 code with BOUML ?

  • in Project menu, create your project:
    • new
    • select work dir
    • enter directory name
    • save

  • in Languages menu
    • select C++

  • Right click on project in browser
    • edit generation settings
    • in tab C++(1)
      • put hh in header file extension
      • put cc in source file extension
    • in tab C++(5)
      • specify include .hh

  • Right click on project in browser
    • reverse c++
    • select project dir (eg. the microdosimetry directory, which contains your include and src directories)
    • cancel

  • Right click on project in browser
    • new class view
    • specify a name

  • Right click on class view
    • new class diagram
    • specify a name

  • Right click on class diagram
    • show

  • Drag classes from list of classes in include in browser

  • Select all classes

  • Right click on to edit drawing settings

-- SebastienIncerti - 09-Oct-2009

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2009-10-09 - SebastienIncerti
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Geant4 All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback