| | 109 | class ClassName |
| | 110 | { |
| | 111 | ... |
| | 112 | }}} |
| | 113 | |
| | 114 | === Class Members === |
| | 115 | Add a brief description to every member of a class: |
| | 116 | {{{ |
| | 117 | private: |
| | 118 | int value_; //!< A brief description |
| | 119 | int longerValueName_; //!< A brief description |
| | 120 | }}} |
| | 121 | The < after //! indicates that the member is located in front of the comment instead of after the comment. |
| | 122 | |
| | 123 | If you need a more detailed description, use: |
| | 124 | {{{ |
| | 125 | private: |
| | 126 | int value_; //!< A detailed description |
| | 127 | //!< More detailed description |
| | 128 | //!< ... |
| | 129 | }}} |
| | 130 | or |
| | 131 | {{{ |
| | 132 | private: |
| | 133 | int value_; /**< |
| | 134 | A detailed description |
| | 135 | More detailed description |
| | 136 | ... |
| | 137 | */ |