| 60 | } |
| 61 | |
| 62 | void linkInterestingDefinitions(std::ofstream &myfile, std::string linkFile, std::string &interestingDefitions) |
| 63 | { |
| 64 | if (interestingDefitions.length() == 0) { |
| 65 | return; |
| 66 | } |
| 67 | myfile << "<ul>"; |
| 68 | std::istringstream f(interestingDefitions); |
| 69 | std::string className; |
| 70 | while (std::getline(f, className, ',')) { |
| 71 | if (className.length() == 0) { |
| 72 | continue; |
| 73 | } |
| 74 | myfile << "<li><a href='" << linkFile << "#" << className << "'" |
| 75 | << " title='" << className << "'" << ">"; |
| 76 | if (className.find("(anonymous") == std::string::npos) { |
| 77 | className = cutNameSpace(className); |
| 78 | } |
| 79 | myfile << className << "</a></li>"; |
| 80 | } |
| 81 | myfile << "</ul>"; |
| 82 | |
| 83 | } |
| 84 | |
| 85 | void gererateRecursisively(FolderInfo *folder, const std::string &root, const std::string &path, const std::string &rel = "") { |
| 86 | std::ofstream myfile; |
no test coverage detected