MCPcopy Create free account
hub / github.com/KDAB/codebrowser / linkInterestingDefinitions

Function linkInterestingDefinitions

indexgenerator/indexer.cpp:62–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void 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
85void gererateRecursisively(FolderInfo *folder, const std::string &root, const std::string &path, const std::string &rel = "") {
86 std::ofstream myfile;

Callers 1

gererateRecursisivelyFunction · 0.85

Calls 1

cutNameSpaceFunction · 0.85

Tested by

no test coverage detected