YHL Tetrix and Doxygen 1
ECE 462Object-Oriented Programming
using C++ and Java
Tetrix and Automatic Document Generation
Yung-Hsiang [email protected]
YHL Tetrix and Doxygen 2
Tetrix Example in Qt
YHL Tetrix and Doxygen 3
YHL Tetrix and Doxygen 4
YHL Tetrix and Doxygen 5
YHL Tetrix and Doxygen 6
YHL Tetrix and Doxygen 7
YHL Tetrix and Doxygen 8
YHL Tetrix and Doxygen 9
Automatic Document Generation
YHL Tetrix and Doxygen 10
YHL Tetrix and Doxygen 11
make necessary changes in Doxyfile
run doxygen (without -g) to generate document
YHL Tetrix and Doxygen 12
How to Understand a Program You Did Not Write?
• use document generation program (such as doxygen) to analyze the program structure
• start from the main function• follow one execution path to understand the program's
flow• use a debugger to trace the program
YHL Tetrix and Doxygen 13
YHL Tetrix and Doxygen 14
YHL Tetrix and Doxygen 15
YHL Tetrix and Doxygen 16
YHL Tetrix and Doxygen 17
YHL Tetrix and Doxygen 18
YHL Tetrix and Doxygen 19
YHL Tetrix and Doxygen 20