How to use Trace2UML together with Doxygen

翻译 2012年03月28日 08:49:22

How to use Trace2UML together with Doxygen

From Doxygen version 1.5.3 doxygen supports sequence charts inside thedocumentation. Original doxygen works together with mscgen(a tool similar to Trace2UML).

But because Trace2UML is now call compatible with mscgen, you can useTrace2UML instead. The only thing you have to do by hand, is to RENAME"Trace2UML.exe" into "mscgen.exe" (or do a symbolic link, onLinux). This is because Doxygen has the tool name hard coded in its binary (maybethis will change one day ;-)

So follow the Doxygen documentation to insert a sequence diagram with thecommands "\msc" and "\endmsc" but use Trace2UML syntax todescribe the sequence diagram:

....

\mcs

         ~ (!) Class1
         ~ ==> Class1 Create()
    Class1 (!) Class2
    Class1 ==> Class2 Init()
    Class1 <== Class2 0
         ~ <== Class1 0

\endmsc

...

Than Doxygen will place the following  graphic into your documentation:


相关文章推荐

How To Use Box2D For Just Collision Detection with Cocos2D iPhone

How To Use Box2D For Just Collision Detection with Cocos2D iPhoneLike this post? Follow me on Twitte...

How To Use Box2D For Just Collision Detection with cocos2d-iphone

原文地址:http://www.raywenderlich.com/606/box2d-tutorial-for-ios-how-to-use-box2d-for-just-collision-det...
  • cubesky
  • cubesky
  • 2014年08月22日 11:52
  • 877

How To Use TKPROF To Trace And Analyze Sql Explan

The SQL Trace facility and TKPROF let you accurately assess the efficiency of the SQL statements an ...

How to use ftrace to trace your kernel module(使用Ftrace跟踪你的内核模块)

AUTHOR: Joseph Yang (杨红刚) CONTENT: How to use ftrace to trace your kernel module(使用Ftrace跟踪你的内核模块)...

How to use Apple iBeacons with Android

  • 2014年05月29日 14:09
  • 1MB
  • 下载

How can I use Microsoft Visual C++ 2010 to create MEX files with MATLAB 7.10 (R2010a)?

直接下载下面的压缩包,然后解压出来,把\bin\win32\mexopts里面对应的文件拷贝到matlab2010a安装路径里面对应的文件夹下面即可!!   I have Visual Studi...

【OpenCV】How to Use Tesseract with C++ or OpenCV

说明:在使用Tesseract 之前,一定要安装好Tesseract ,并在Project中配置好Tesseract 路径。 1. Tesseract 在C++中直接使用// tess.cpp: /...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:How to use Trace2UML together with Doxygen
举报原因:
原因补充:

(最多只允许输入30个字)