cpp:doxygen
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cpp:doxygen [2017/01/13 22:56] – rlunaro | cpp:doxygen [2022/12/02 21:02] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 36: | Line 36: | ||
| PROJECT_BRIEF = "this is called PROJECT_BRIEF tag" | PROJECT_BRIEF = "this is called PROJECT_BRIEF tag" | ||
| - | PROJECT_LOGO = "images/ | + | PROJECT_LOGO = "logo.png" |
| # Errors, warnings | # Errors, warnings | ||
| Line 45: | Line 45: | ||
| # navigation and behaviour | # navigation and behaviour | ||
| OUTPUT_DIRECTORY = " | OUTPUT_DIRECTORY = " | ||
| - | FILE_PATTERNS = "*.cpp, *.h" | + | INPUT= . |
| + | FILE_PATTERNS = *.cpp *.h | ||
| RECURSIVE = yes | RECURSIVE = yes | ||
| EXCLUDE = " | EXCLUDE = " | ||
| Line 54: | Line 55: | ||
| HTML_OUTPUT = html | HTML_OUTPUT = html | ||
| - | OUTPUT_LANGUAGE = "English" | + | OUTPUT_LANGUAGE = English ## Spanish |
| BRIEF_MEMBER_DESC = yes | BRIEF_MEMBER_DESC = yes | ||
| Line 96: | Line 97: | ||
| {{ : | {{ : | ||
| + | |||
| + | ===== Second round: Generating documentation ===== | ||
| + | |||
| + | For generating documentation, | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | What are the results. | ||
| + | |||
| + | This comments: | ||
| + | |||
| + | <code c++> | ||
| + | /** | ||
| + | * Brief explanation of the class Square. | ||
| + | * | ||
| + | * A more long, detailed explanation of the Square | ||
| + | * class, that represents the squares in the classs. | ||
| + | * | ||
| + | */ | ||
| + | class Square: public Figure { | ||
| + | public: | ||
| + | Square(); | ||
| + | ~Square(); | ||
| + | }; | ||
| + | </ | ||
| + | |||
| + | Generate this in the docummentation: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | And this: | ||
| + | |||
| + | <code c++> | ||
| + | /** | ||
| + | * | ||
| + | * This is the explanation of the square constructor. | ||
| + | * | ||
| + | */ | ||
| + | Square:: | ||
| + | // TODO Auto-generated constructor stub | ||
| + | |||
| + | } | ||
| + | </ | ||
| + | |||
| + | Generates this: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | The comments on public properties: | ||
| + | |||
| + | <code c++> | ||
| + | class Square: public Figure { | ||
| + | double side; /*!< comment on a private value */ | ||
| + | public: | ||
| + | double something; /*!< comment on a public property | ||
| + | </ | ||
| + | |||
| + | Yields this: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
cpp/doxygen.1484348173.txt.gz · Last modified: 2022/12/02 21:02 (external edit)
