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 install and use doxygen

How to install and use doxygen[Precodition]OS         : Redhat Fedora 2Doxygen    : 1.3.6 Doxygen is...
  • hello_wyq
  • hello_wyq
  • 2006年05月19日 16:43
  • 1275

ld: -weak_library and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together

iOS9 真机调试如果出现 ld: -weak_library and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be use...
  • wufeng888328
  • wufeng888328
  • 2015年09月18日 09:33
  • 449

Xshell无法链接本地虚拟机

本地cmd能够ping同虚拟机的IP地址,但是xshell链接时提示如下: Connecting to 10.110.31.151:22... Could not connect to...
  • KoalaY_Doctor
  • KoalaY_Doctor
  • 2016年01月05日 10:34
  • 2628

配置好的Doxygen配置文件

# Doxyfile 1.8.7 # This file describes the settings to be used by the documentation system # doxyge...
  • syrchina
  • syrchina
  • 2014年09月11日 14:45
  • 4174

How to use UTF-8_with_BOM, XML and Java together

How to use UTF-8_with_BOM, XML and Java together
  • DavidHsing
  • DavidHsing
  • 2010年06月10日 18:34
  • 2777

Applications Programming in Smalltalk-80(TM):How to use Model-View-Controller (MVC)

Applications Programming in Smalltalk-80(TM):How to use Model-View-Controller (MVC) bySteve Bu...
  • mali1
  • mali1
  • 2004年07月13日 08:19
  • 1087

POJ 题目1286 Necklace of Beads(Polya定理)

Necklace of Beads Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 7061 ...
  • yu_ch_sh
  • yu_ch_sh
  • 2015年05月04日 22:05
  • 446

A template class for binding C++ to Lua

http://www.lua.org/notes/ltn005.html Technical Note 5 A template class for binding C++ to Luaby Len...
  • much2max
  • much2max
  • 2006年09月09日 15:50
  • 1570

oslo openstack

英文原文:http://docs.OpenStack.org/developer/oslo.messaging/index.html目录1.Transport 2.Executors 3.Targ...
  • youyou1543724847
  • youyou1543724847
  • 2017年05月04日 18:07
  • 451

use ASM and CPP together

1. create an ASM file;;;;;;;;;;;;; asmsrc.asm:.386.model flat, stdcalloption casemap :none.codemyasm...
  • iiprogram
  • iiprogram
  • 2007年01月26日 03:03
  • 760
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:How to use Trace2UML together with Doxygen
举报原因:
原因补充:

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