! * \brief Returns class for html format * \param line Line containing the flag * \return Html class */
| 215 | * \return Html class |
| 216 | */ |
| 217 | string getClass (const string &line) { |
| 218 | string flag = getFlag(line); |
| 219 | if (flag == timeElapsed) |
| 220 | return "time"; |
| 221 | if (flag == typeDefinition) |
| 222 | return "type"; |
| 223 | if (flag == parameterDefinition) |
| 224 | return "parameter"; |
| 225 | if (flag == functionDefinition) |
| 226 | return "function"; |
| 227 | return ""; |
| 228 | } |
| 229 | |
| 230 | /*! |
| 231 | * \brief Returns a specific number of indentations |
no test coverage detected