57#define XML_DB(x) do {} while(0)
83 if (str.
empty())
return;
85 const char *s = str.
data();
99 int spacesToNextTabStop = tabSize - (col%tabSize);
100 while (spacesToNextTabStop--)
102 if (col>=stripIndentAmount) t <<
"<sp/>";
108 if (col>=stripIndentAmount) t <<
"<sp/>";
111 case '<': t <<
"<"; col++;
break;
112 case '>': t <<
">"; col++;
break;
113 case '&': t <<
"&"; col++;
break;
114 case '\'': t <<
"'"; col++;
break;
115 case '"': t <<
"""; col++;
break;
116 case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
case 7:
case 8:
117 case 11:
case 12:
case 13:
case 14:
case 15:
case 16:
case 17:
case 18:
118 case 19:
case 20:
case 21:
case 22:
case 23:
case 24:
case 25:
case 26:
119 case 27:
case 28:
case 29:
case 30:
case 31:
121 t <<
"<sp value=\"" << int(c) <<
"\"/>";
132 t <<
"<?xml version='1.0' encoding='UTF-8' standalone='no'?>\n";
133 t <<
"<doxygen xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" ";
134 t <<
"xsi:noNamespaceSchemaLocation=\"compound.xsd\" ";
135 t <<
"version=\"" << getDoxygenVersion() <<
"\" ";
143 DString fileName=outputDirectory+
"/combine.xslt";
147 err(
"Cannot open file {} for writing!\n",fileName);
152 "<!-- XSLT script to combine the generated output into a single file. \n"
153 " If you have xsltproc you could use:\n"
154 " xsltproc combine.xslt index.xml >all.xml\n"
156 "<xsl:stylesheet xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\" version=\"1.0\">\n"
157 " <xsl:output method=\"xml\" version=\"1.0\" indent=\"no\" standalone=\"yes\" />\n"
158 " <xsl:template match=\"/\">\n"
159 " <doxygen version=\"{doxygenindex/@version}\" xml:lang=\"{doxygenindex/@xml:lang}\">\n"
160 " <!-- Load all doxygen generated xml files -->\n"
161 " <xsl:for-each select=\"doxygenindex/compound\">\n"
162 " <xsl:copy-of select=\"document( concat( @refid, '.xml' ) )/doxygen/*\" />\n"
166 "</xsl:stylesheet>\n";
173 t <<
"<ref refid=\"" << compoundId;
174 if (!anchorId.
empty()) t <<
"_1" << anchorId;
175 t <<
"\" kindref=\"";
176 if (!anchorId.
empty()) t <<
"member";
else t <<
"compound";
178 if (!extRef.
empty()) t <<
" external=\"" << extRef <<
"\"";
196 const DString &anchor,std::string_view text
217 *
m_t <<
"<highlight class=\"normal\">";
249 XML_DB((
"(writeCodeLink)\n"));
252 *
m_t <<
"<highlight class=\"normal\">";
264 XML_DB((
"(writeToolTip)\n"));
271 XML_DB((
"(startCodeLine)\n"));
281 *
m_t <<
" refkind=\"member\"";
285 *
m_t <<
" refkind=\"compound\"";
301 XML_DB((
"(endCodeLine)\n"));
304 *
m_t <<
"</highlight>";
309 *
m_t <<
"</codeline>\n";
320 XML_DB((
"(startFontClass)\n"));
323 *
m_t <<
"</highlight>";
326 *
m_t <<
"<highlight class=\"" << colorClass <<
"\">";
333 XML_DB((
"(endFontClass)\n"));
334 *
m_t <<
"</highlight>";
341 XML_DB((
"(writeCodeAnchor)\n"));
345 const DString &anchorId,
int l,
bool)
348 XML_DB((
"(writeLineNumber)\n"));
363 XML_DB((
"(startCodeFragment)\n"));
364 *
m_t <<
" <programlisting>\n";
369 XML_DB((
"(endCodeFragment)\n"));
370 *
m_t <<
" </programlisting>\n";
382 indentStr.
fill(
' ',indent);
387 t << indentStr <<
"<templateparamlist>\n";
390 t << indentStr <<
" <param>\n";
393 t << indentStr <<
" <type>";
399 t << indentStr <<
" <declname>" <<
convertToXML(a.name) <<
"</declname>\n";
400 t << indentStr <<
" <defname>" <<
convertToXML(a.name) <<
"</defname>\n";
402 if (!a.defval.empty())
404 t << indentStr <<
" <defval>";
408 if (!a.typeConstraint.empty())
410 t << indentStr <<
" <typeconstraint>";
412 t <<
"</typeconstraint>\n";
414 if (a.hasTemplateDocumentation())
416 t << indentStr <<
" <briefdescription>\n";
417 t << indentStr <<
" ";
426 t << indentStr <<
" </briefdescription>\n";
428 t << indentStr <<
" </param>\n";
430 t << indentStr <<
"</templateparamlist>\n";
457 if (stext.
empty())
return;
468 auto astImpl =
dynamic_cast<const DocNodeAST*
>(ast.get());
477 std::visit(visitor,astImpl->root);
486 intf->resetCodeParserState();
490 intf->parseCode(xmlList,
505 if (!scope.
empty() && scope!=def->
name())
509 t <<
" <" << tagName <<
" refid=\"";
520 t <<
">" <<
convertToXML(name) <<
"</" << tagName <<
">\n";
535 else if (typeStr==
"virtual") typeStr=
"";
566 size_t searchStart = 0;
567 size_t searchEnd = str.
size();
568 size_t len = strlen(keyword);
569 while (searchStart<searchEnd)
571 size_t index = str.
find(keyword, searchStart);
576 size_t end = index + len;
579 if ((index>0 && str[index-1]!=
' ') ||
580 (
end!=searchEnd && str[
end] !=
' ')
587 if (needSpace && index>0)
589 str.
remove(index-1, len+1);
590 searchEnd -= (len+1);
592 else if (needSpace &&
end<searchEnd)
595 searchEnd -= (len+1);
613 int bracketCount = 1;
616 bool insideString =
false;
617 bool insideChar =
false;
619 while (!found && p<argsStr.
length())
621 char c = argsStr[p++];
624 if (c==
'"' && pc!=
'\\') insideString=
false;
628 if (c==
'\'' && pc!=
'\\') insideChar=
false;
634 case '(': bracketCount++;
break;
635 case ')': bracketCount--; found = bracketCount==0;
break;
636 case '"': insideString =
true;
break;
637 case '\'': insideChar =
true;
break;
642 expr = argsStr.
mid(i+9,p-i-10);
655 t <<
prefix <<
" <" << tagName <<
">\n";
656 for (
const auto &ref : refs)
661 t <<
prefix <<
" </" << tagName <<
">\n";
667 writeRefsForType(satisfiesRefs,
"satisfies");
668 writeRefsForType(verifiesRefs,
"verifies");
702 for (
const auto &imd : *annoClassDef->
getMemberList(MemberListType::PubAttribs()))
713 if (md->
memberType()==MemberType::EnumValue)
return;
742 argsStr +=
" override";
754 argsStr +=
"=default";
758 argsStr +=
"=delete";
760 i=defStr.
find(
"auto ");
763 defStr=defStr.
left(i)+typeStr+defStr.
mid(i+4);
770 <<
"_1" << md->
anchor() <<
"\" kind=\"" << memType <<
"\"><name>"
775 t <<
" <member refid=\""
777 <<
"_1" << md->
anchor() <<
"\" kind=\"" << memType <<
"\"><name>"
783 t <<
" <memberdef kind=\"";
784 t << memType <<
"\" id=\"";
791 t <<
"\" prot=\"" << to_string_lower(md->
protection());
795 if (md->
isStatic()) t <<
"yes";
else t <<
"no";
800 t <<
" nodiscard=\"yes\"";
805 t <<
" constexpr=\"yes\"";
810 t <<
" consteval=\"yes\"";
815 t <<
" constinit=\"yes\"";
820 t <<
" extern=\"yes\"";
831 if (md->
isExplicit()) t <<
"yes";
else t <<
"no";
835 if (md->
isInline()) t <<
"yes";
else t <<
"no";
847 t <<
" final=\"yes\"";
852 t <<
" sealed=\"yes\"";
862 t <<
" optional=\"yes\"";
867 t <<
" required=\"yes\"";
872 t <<
" noexcept=\"yes\"";
875 if (!noExceptExpr.
empty())
877 t <<
" noexceptexpression=\"" <<
convertToXML(noExceptExpr) <<
"\"";
882 t <<
" volatile=\"yes\"";
885 t <<
" virt=\"" << to_string_lower(md->
virtualness());
889 if (md->
memberType() == MemberType::Enumeration)
892 if (md->
isStrong()) t <<
"yes";
else t <<
"no";
903 if (md->
isMutable()) t <<
"yes";
else t <<
"no";
908 t <<
" thread_local=\"yes\"";
913 t <<
" initonly=\"yes\"";
917 t <<
" attribute=\"yes\"";
921 t <<
" property=\"yes\"";
925 t <<
" readonly=\"yes\"";
929 t <<
" bound=\"yes\"";
933 t <<
" removable=\"yes\"";
937 t <<
" constrained=\"yes\"";
941 t <<
" transient=\"yes\"";
945 t <<
" maybevoid=\"yes\"";
949 t <<
" maybedefault=\"yes\"";
953 t <<
" maybeambiguous=\"yes\"";
956 else if (md->
memberType() == MemberType::Property)
959 if (md->
isReadable()) t <<
"yes";
else t <<
"no";
963 if (md->
isWritable()) t <<
"yes";
else t <<
"no";
967 if (md->
isGettable()) t <<
"yes";
else t <<
"no";
970 t <<
" privategettable=\"";
974 t <<
" protectedgettable=\"";
979 if (md->
isSettable()) t <<
"yes";
else t <<
"no";
982 t <<
" privatesettable=\"";
986 t <<
" protectedsettable=\"";
994 else if (md->
isCopy()) t <<
"copy";
995 else if (md->
isRetain()) t <<
"retain";
996 else if (md->
isStrong()) t <<
"strong";
997 else if (md->
isWeak()) t <<
"weak";
1001 else if (md->
memberType() == MemberType::Event)
1004 if (md->
isAddable()) t <<
"yes";
else t <<
"no";
1008 if (md->
isRemovable()) t <<
"yes";
else t <<
"no";
1012 if (md->
isRaisable()) t <<
"yes";
else t <<
"no";
1030 t <<
" <definition>" <<
convertToXML(defStr) <<
"</definition>\n";
1031 t <<
" <argsstring>" <<
convertToXML(argsStr) <<
"</argsstring>\n";
1034 if (md->
memberType() == MemberType::Enumeration)
1042 t <<
" <name>" <<
convertToXML(nameStr) <<
"</name>\n";
1043 if (nameStr!=qualifiedNameStr)
1045 t <<
" <qualifiedname>" <<
convertToXML(qualifiedNameStr) <<
"</qualifiedname>\n";
1048 if (md->
memberType() == MemberType::Property)
1059 if (bitfield.
at(0)==
':') bitfield=bitfield.
mid(1);
1060 t <<
" <bitfield>" <<
convertToXML(bitfield) <<
"</bitfield>\n";
1066 t <<
" <reimplements refid=\""
1072 t <<
" <reimplementedby refid=\""
1074 <<
convertToXML(rbmd->name()) <<
"</reimplementedby>\n";
1079 t <<
" <qualifier>" <<
convertToXML(qmd) <<
"</qualifier>\n";
1094 bool isFortran = md->
getLanguage()==SrcLangExt::Fortran;
1097 auto defIt = defAl.
begin();
1102 if (defIt!=defAl.
end())
1108 if (!a.attrib.empty())
1110 t <<
" <attributes>";
1112 t <<
"</attributes>\n";
1114 if (isFortran && defArg && !defArg->
type.
empty())
1120 else if (!a.type.empty())
1126 if (!a.name.empty())
1130 t <<
"</declname>\n";
1132 if (defArg && !defArg->
name.
empty() && defArg->
name!=a.name)
1136 t <<
"</defname>\n";
1138 if (!a.array.empty())
1144 if (!a.defval.empty())
1152 t <<
" <briefdescription>";
1155 t <<
"</briefdescription>\n";
1161 else if (md->
memberType()==MemberType::Define &&
1167 t <<
" <param></param>\n";
1173 t <<
" <param><defname>" << a.type <<
"</defname></param>\n";
1179 t <<
" <requiresclause>";
1181 t <<
" </requiresclause>\n";
1186 t <<
" <initializer>";
1188 t <<
"</initializer>\n";
1193 t <<
" <exceptions>";
1195 t <<
"</exceptions>\n";
1199 if (md->
memberType()==MemberType::Enumeration)
1204 <<
"_1" << emd->anchor() <<
"\" kind=\"enumvalue\"><name>"
1208 << emd->anchor() <<
"\" prot=\"" << to_string_lower(emd->protection());
1213 if (!emd->initializer().empty())
1215 t <<
" <initializer>";
1217 t <<
"</initializer>\n";
1219 t <<
" <briefdescription>\n";
1220 writeXMLDocBlock(t,emd->briefFile(),emd->briefLine(),emd->getOuterScope(),emd,emd->briefDescription());
1221 t <<
" </briefdescription>\n";
1222 t <<
" <detaileddescription>\n";
1223 writeXMLDocBlock(t,emd->docFile(),emd->docLine(),emd->getOuterScope(),emd,emd->documentation());
1224 t <<
" </detaileddescription>\n";
1225 t <<
" </enumvalue>\n";
1228 t <<
" <briefdescription>\n";
1230 t <<
" </briefdescription>\n";
1231 t <<
" <detaileddescription>\n";
1233 t <<
" </detaileddescription>\n";
1234 t <<
" <inbodydescription>\n";
1236 t <<
" </inbodydescription>\n";
1239 t <<
" <location file=\""
1264 for (
const auto &refmd : refList)
1269 for (
const auto &refmd : refByList)
1274 t <<
" </memberdef>\n";
1282 if (ml==
nullptr)
return;
1284 for (
const auto &md : *ml)
1286 if (
memberVisible(d,md) && (md->memberType()!=MemberType::EnumValue) &&
1292 if (count==0)
return;
1294 t <<
" <sectiondef kind=\"" << kind <<
"\">\n";
1295 if (!header.empty())
1297 t <<
" <header>" <<
convertToXML(header) <<
"</header>\n";
1299 if (!documentation.empty())
1301 t <<
" <description>";
1303 t <<
"</description>\n";
1305 for (
const auto &md : *ml)
1312 t <<
" </sectiondef>\n";
1317 t <<
" <listofallmembers>\n";
1320 for (
auto &mi : *mni)
1328 md->
anchor() <<
"\" prot=\"" << to_string_lower(prot);
1329 t <<
"\" virt=\"" << to_string_lower(virt) <<
"\"";
1330 if (!mi->ambiguityResolutionScope().empty())
1332 t <<
" ambiguityscope=\"" <<
convertToXML(mi->ambiguityResolutionScope()) <<
"\"";
1339 t <<
" </listofallmembers>\n";
1344 for (
const auto &cd : cl)
1346 if (!cd->isHidden() && !cd->isAnonymous())
1349 <<
"\" prot=\"" << to_string_lower(cd->protection());
1350 t <<
"\">" <<
convertToXML(cd->name()) <<
"</innerclass>\n";
1357 for (
const auto &cd : cl)
1359 if (!cd->isHidden())
1361 t <<
" <innerconcept refid=\"" << cd->getOutputFileBase()
1362 <<
"\">" <<
convertToXML(cd->name()) <<
"</innerconcept>\n";
1369 for (
const auto &mod : ml)
1371 if (!mod->isHidden())
1373 t <<
" <innermodule refid=\"" << mod->getOutputFileBase()
1374 <<
"\">" <<
convertToXML(mod->name()) <<
"</innermodule>\n";
1381 for (
const auto &nd : nl)
1383 if (!nd->isHidden() && !nd->isAnonymous())
1385 t <<
" <innernamespace refid=\"" << nd->getOutputFileBase()
1386 <<
"\"" << (nd->isInline() ?
" inline=\"yes\"" :
"")
1387 <<
">" <<
convertToXML(nd->name()) <<
"</innernamespace>\n";
1394 if (exportMap.empty())
return;
1395 t <<
" <exports>\n";
1396 for (
const auto &[moduleName,importInfoList] : exportMap)
1398 for (
const auto &importInfo : importInfoList)
1407 t << importInfo.importName;
1411 t <<
" </exports>\n";
1416 for (
const auto &fd : fl)
1418 t <<
" <innerfile refid=\"" << fd->getOutputFileBase()
1419 <<
"\">" <<
convertToXML(fd->name()) <<
"</innerfile>\n";
1425 for (
const auto &pd : pl)
1427 t <<
" <innerpage refid=\"" << pd->getOutputFileBase();
1428 if (pd->getGroupDef())
1430 t <<
"_" << pd->name();
1432 t <<
"\">" <<
convertToXML(pd->title()) <<
"</innerpage>\n";
1438 for (
const auto &sgd : gl)
1440 t <<
" <innergroup refid=\"" << sgd->getOutputFileBase()
1442 <<
"</innergroup>\n";
1450 for(
const auto &subdir : *dl)
1452 t <<
" <innerdir refid=\"" << subdir->getOutputFileBase()
1453 <<
"\">" <<
convertToXML(subdir->displayName()) <<
"</innerdir>\n";
1473 t <<
"</includes>\n";
1502 msg(
"Generating XML output for class {}\n",cd->
name());
1513 err(
"Cannot open file {} for writing!\n",fileName);
1519 t <<
" <compounddef id=\""
1524 if (cd->
isFinal()) t <<
"\" final=\"yes";
1525 if (cd->
isSealed()) t <<
"\" sealed=\"yes";
1526 if (cd->
isAbstract()) t <<
"\" abstract=\"yes";
1528 t <<
" <compoundname>";
1531 t <<
"</compoundname>\n";
1534 t <<
" <basecompoundref ";
1535 if (bcd.classDef->isLinkable())
1539 if (bcd.prot == Protection::Package)
ASSERT(0);
1541 t << to_string_lower(bcd.prot);
1543 t << to_string_lower(bcd.virt);
1545 if (!bcd.templSpecifiers.empty())
1549 bcd.classDef->name(),bcd.templSpecifiers)
1556 t <<
"</basecompoundref>\n";
1560 if (bcd.prot == Protection::Package)
ASSERT(0);
1561 t <<
" <derivedcompoundref refid=\""
1564 t << to_string_lower(bcd.prot);
1566 t << to_string_lower(bcd.virt);
1567 t <<
"\">" <<
convertToXML(bcd.classDef->displayName())
1568 <<
"</derivedcompoundref>\n";
1579 mg->documentation());
1595 t <<
" <requiresclause>";
1597 t <<
" </requiresclause>\n";
1602 t <<
" <qualifier>" <<
convertToXML(qcd) <<
"</qualifier>\n";
1605 t <<
" <briefdescription>\n";
1607 t <<
" </briefdescription>\n";
1608 t <<
" <detaileddescription>\n";
1610 t <<
" </detaileddescription>\n";
1614 t <<
" <inheritancegraph>\n";
1616 t <<
" </inheritancegraph>\n";
1621 t <<
" <collaborationgraph>\n";
1623 t <<
" </collaborationgraph>\n";
1626 t <<
" <location file=\""
1642 t <<
" </compounddef>\n";
1643 t <<
"</doxygen>\n";
1645 ti <<
" </compound>\n";
1653 <<
"\" kind=\"concept\"" <<
"><name>"
1663 err(
"Cannot open file {} for writing!\n",fileName);
1669 <<
"\" kind=\"concept\">\n";
1670 t <<
" <compoundname>";
1673 t <<
"</compoundname>\n";
1676 t <<
" <initializer>";
1678 t <<
"</initializer>\n";
1680 intf->resetCodeParserState();
1683 t <<
" <conceptparts>\n";
1689 t <<
" <docpart line=\"" << part.lineNr <<
"\" col=\"" << part.colNr <<
"\">\n";
1691 t <<
" </docpart>\n";
1694 t <<
" <codepart line=\"" << part.lineNr <<
"\">";
1696 intf->parseCode(xmlList,
1704 t <<
"</codepart>\n";
1708 t <<
" </conceptparts>\n";
1709 t <<
" <briefdescription>\n";
1711 t <<
" </briefdescription>\n";
1712 t <<
" <detaileddescription>\n";
1714 t <<
" </detaileddescription>\n";
1716 t <<
" <location file=\""
1720 t <<
" </compounddef>\n";
1721 t <<
"</doxygen>\n";
1723 ti <<
" </compound>\n";
1730 <<
"\" kind=\"module\"" <<
"><name>"
1738 err(
"Cannot open file {} for writing!\n",fileName);
1744 <<
"\" kind=\"module\">\n";
1745 t <<
" <compoundname>";
1747 t <<
"</compoundname>\n";
1761 mg->documentation());
1763 t <<
" <briefdescription>\n";
1765 t <<
" </briefdescription>\n";
1766 t <<
" <detaileddescription>\n";
1768 t <<
" </detaileddescription>\n";
1771 t <<
" <location file=\""
1775 t <<
" </compounddef>\n";
1776 t <<
"</doxygen>\n";
1778 ti <<
" </compound>\n";
1796 <<
"\" kind=\"namespace\"" <<
"><name>"
1804 err(
"Cannot open file {} for writing!\n",fileName);
1811 <<
"\" kind=\"namespace\" "
1812 << (nd->
isInline()?
"inline=\"yes\" ":
"")
1815 t <<
" <compoundname>";
1818 t <<
"</compoundname>\n";
1827 mg->documentation());
1838 t <<
" <briefdescription>\n";
1840 t <<
" </briefdescription>\n";
1841 t <<
" <detaileddescription>\n";
1843 t <<
" </detaileddescription>\n";
1845 t <<
" <location file=\""
1849 t <<
" </compounddef>\n";
1850 t <<
"</doxygen>\n";
1852 ti <<
" </compound>\n";
1882 err(
"Cannot open file {} for writing!\n",fileName);
1889 <<
"\" kind=\"file\" language=\""
1891 t <<
" <compoundname>";
1893 t <<
"</compoundname>\n";
1898 if (inc.fileDef && !inc.fileDef->isReference())
1900 t <<
" refid=\"" << inc.fileDef->getOutputFileBase() <<
"\"";
1904 t <<
"</includes>\n";
1909 t <<
" <includedby";
1910 if (inc.fileDef && !inc.fileDef->isReference())
1912 t <<
" refid=\"" << inc.fileDef->getOutputFileBase() <<
"\"";
1916 t <<
"</includedby>\n";
1922 t <<
" <incdepgraph>\n";
1924 t <<
" </incdepgraph>\n";
1930 t <<
" <invincdepgraph>\n";
1932 t <<
" </invincdepgraph>\n";
1942 mg->documentation());
1953 t <<
" <briefdescription>\n";
1955 t <<
" </briefdescription>\n";
1956 t <<
" <detaileddescription>\n";
1958 t <<
" </detaileddescription>\n";
1965 t <<
" </compounddef>\n";
1966 t <<
"</doxygen>\n";
1968 ti <<
" </compound>\n";
1995 err(
"Cannot open file {} for writing!\n",fileName);
2001 t <<
" <compounddef id=\""
2017 mg->documentation());
2028 t <<
" <briefdescription>\n";
2030 t <<
" </briefdescription>\n";
2031 t <<
" <detaileddescription>\n";
2033 t <<
" </detaileddescription>\n";
2035 t <<
" </compounddef>\n";
2036 t <<
"</doxygen>\n";
2038 ti <<
" </compound>\n";
2053 err(
"Cannot open file {} for writing!\n",fileName);
2059 t <<
" <compounddef id=\""
2066 t <<
" <briefdescription>\n";
2068 t <<
" </briefdescription>\n";
2069 t <<
" <detaileddescription>\n";
2071 t <<
" </detaileddescription>\n";
2074 t <<
" </compounddef>\n";
2075 t <<
"</doxygen>\n";
2077 ti <<
" </compound>\n";
2082 ti <<
" <compound refid=\"requirements\" kind=\"requirements\"><name>" <<
convertToXML(pd->
name()) <<
"</name>\n";
2084 DString fileName = outputDirectory+
"/requirements.xml";
2088 err(
"Cannot open file {} for writing!\n",fileName);
2093 auto writeDefsForReq = [&t](
const std::vector<const Definition *> &defs,
const char *tagName)
2095 for (
const auto &def : defs)
2097 t <<
" <" << tagName <<
" refid=\"";
2098 t << def->getOutputFileBase();
2101 t <<
"_1" << def->anchor();
2105 t <<
"</" << tagName<<
">\n";
2110 t <<
" <compounddef id=\"requirements\" kind=\"requirements\">\n";
2112 t <<
" <requirementslist>\n";
2114 for (
const auto &req : reqs)
2116 t <<
" <requirement refid=\"" << req->id();
2117 if (
auto tagFile = req->getTagFile(); !tagFile.empty())
2124 writeDefsForReq(req->satisfiedBy(),
"satisfiedby");
2125 writeDefsForReq(req->verifiedBy(),
"verifiedby");
2126 t <<
" </requirement>\n";
2128 t <<
" </requirementslist>\n";
2129 t <<
" </compounddef>\n";
2130 t <<
"</doxygen>\n";
2132 ti <<
" </compound>\n";
2142 const char *kindName = isExample ?
"example" :
"page";
2151 if (pageName==
"index")
2153 pageName=
"indexpage";
2155 else if (pageName==
"requirements")
2161 ti <<
" <compound refid=\"" << pageName
2166 DString fileName=outputDirectory+
"/"+pageName+
".xml";
2170 err(
"Cannot open file {} for writing!\n",fileName);
2176 t <<
" <compounddef id=\"" << pageName;
2177 t <<
"\" kind=\"" << kindName <<
"\">\n";
2179 <<
"</compoundname>\n";
2210 auto writeIndent = [&]() {
for (
int i=0;i<4+indent*2;i++) t <<
" "; };
2211 auto incIndent = [&](
const char *text) { writeIndent(); t << text <<
"\n"; indent++; };
2212 auto decIndent = [&](
const char *text) { indent--; writeIndent(); t << text <<
"\n"; };
2213 incIndent(
"<tableofcontents>");
2218 if (si->type().isSection())
2221 int nextLevel = si->type().level();
2222 if (nextLevel>level)
2224 for (
int l=level;l<nextLevel;l++)
2226 if (l < maxLevel) incIndent(
"<tableofcontents>");
2229 else if (nextLevel<level)
2231 for (
int l=level;l>nextLevel;l--)
2233 if (l <= maxLevel && inLi[l]) decIndent(
"</tocsect>");
2235 if (l <= maxLevel) decIndent(
"</tableofcontents>");
2238 if (nextLevel <= maxLevel)
2240 if (inLi[nextLevel])
2242 decIndent(
"</tocsect>");
2244 else if (level>nextLevel)
2246 decIndent(
"</tableofcontents>");
2247 incIndent(
"<tableofcontents>");
2251 if (titleDoc.
empty()) titleDoc = label;
2252 incIndent(
"<tocsect>");
2253 writeIndent(); t <<
"<name>" << titleDoc <<
"</name>\n";
2254 writeIndent(); t <<
"<docs>";
2255 if (!si->title().empty())
2260 writeIndent(); t <<
"<reference>" <<
convertToXML(pageName) <<
"_1" << label <<
"</reference>\n";
2261 inLi[nextLevel]=
true;
2266 while (level>1 && level <= maxLevel)
2268 if (inLi[level]) decIndent(
"</tocsect>");
2270 decIndent(
"</tableofcontents>");
2273 if (level <= maxLevel && inLi[level]) decIndent(
"</tocsect>");
2275 decIndent(
"</tableofcontents>");
2277 t <<
" <briefdescription>\n";
2279 t <<
" </briefdescription>\n";
2280 t <<
" <detaileddescription>\n";
2291 t <<
" </detaileddescription>\n";
2296 t <<
" </compounddef>\n";
2297 t <<
"</doxygen>\n";
2299 ti <<
" </compound>\n";
2305 ti <<
" <compound refid=\"" << pageName <<
"\" kind=\"requirement\"><name>" <<
convertToXML(req->
id()) <<
"</name>\n";
2308 DString fileName = outputDirectory+
"/"+pageName+
".xml";
2312 err(
"Cannot open file {} for writing!\n",fileName);
2317 t <<
" <compounddef id=\"" << pageName <<
"\" kind=\"requirement\">\n";
2318 t <<
" <compoundname>" <<
convertToXML(req->
id()) <<
"</compoundname>\n";
2320 t <<
" <detaileddescription>\n";
2322 t <<
" </detaileddescription>\n";
2324 t <<
" </compounddef>\n";
2325 t <<
"</doxygen>\n";
2327 ti <<
" </compound>\n";
2342 Dir xmlDir(outputDirectory.
str());
2348 DString fileName=outputDirectory+
"/compound.xsd";
2352 err(
"Cannot open file {} for writing!\n",fileName);
2360 const char *startLine = compound_xsd.
data();
2364 const char *endLine = startLine+1;
2365 while (*endLine && *(endLine-1)!=
'\n') endLine++;
2366 int len=
static_cast<int>(endLine-startLine);
2370 if (s.
find(
"<!-- Automatically insert here the HTML entities -->")!=
DString::npos)
2376 t.
write(startLine,len);
2384 fileName=outputDirectory+
"/doxyfile.xsd";
2388 err(
"Cannot open file {} for writing!\n",fileName);
2396 const char *startLine = doxyfile_xsd.
data();
2400 const char *endLine = startLine+1;
2401 while (*endLine && *(endLine-1)!=
'\n') endLine++;
2402 int len=
static_cast<int>(endLine-startLine);
2406 if (s.
find(
"<!-- Automatically insert here the configuration settings -->")!=
DString::npos)
2412 t.
write(startLine,len);
2420 fileName=outputDirectory+
"/Doxyfile.xml";
2424 err(
"Cannot open file {} for writing\n",fileName);
2434 fileName=outputDirectory+
"/index.xml";
2438 err(
"Cannot open file {} for writing!\n",fileName);
2446 t <<
"<?xml version='1.0' encoding='UTF-8' standalone='no'?>\n";
2447 t <<
"<doxygenindex xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" ";
2448 t <<
"xsi:noNamespaceSchemaLocation=\"index.xsd\" ";
2449 t <<
"version=\"" << getDoxygenVersion() <<
"\" ";
2459 msg(
"Generating XML output for concept {}\n",cd->displayName());
2464 msg(
"Generating XML output for namespace {}\n",nd->displayName());
2469 for (
const auto &fd : *fn)
2471 msg(
"Generating XML output for file {}\n",fd->name());
2477 msg(
"Generating XML output for group {}\n",gd->name());
2482 msg(
"Generating XML output for page {}\n",pd->name());
2487 if (req->getTagFile().empty())
2489 msg(
"Generating XML output for requirement {}\n", req->id());
2495 msg(
"Generate XML output for dir {}\n",dd->name());
2500 msg(
"Generating XML output for module {}\n",mod->name());
2505 msg(
"Generating XML output for example {}\n",pd->name());
2510 msg(
"Generating XML output for the main page\n");
2515 t <<
"</doxygenindex>\n";
This class contains the information about the argument of a function or template.
bool hasDocumentation(bool allowEmptyName=false) const
This class represents an function or template argument list.
RefQualifierType refQualifier() const
bool hasParameters() const
bool constSpecifier() const
bool volatileSpecifier() const
A abstract class representing of a compound symbol.
virtual DString requiresClause() const =0
virtual bool isAbstract() const =0
Returns true if there is at least one pure virtual member in this class.
virtual bool isFinal() const =0
Returns true if this class is marked as final.
virtual const ArgumentList & templateArguments() const =0
Returns the template arguments of this class.
virtual const MemberLists & getMemberLists() const =0
Returns the list containing the list of members sorted per type.
virtual const BaseClassList & baseClasses() const =0
Returns the list of base classes from which this class directly inherits.
virtual bool isSealed() const =0
Returns true if this class is marked as sealed.
virtual StringVector getQualifiers() const =0
virtual Protection protection() const =0
Return the protection level (Public,Protected,Private) in which this compound was found.
virtual DString compoundTypeString() const =0
Returns the type of compound as a string.
virtual MemberList * getMemberList(MemberListType lt) const =0
Returns the members in the list identified by lt.
virtual const MemberNameInfoLinkedMap & memberNameInfoLinkedMap() const =0
Returns a dictionary of all members.
virtual bool isImplicitTemplateInstance() const =0
virtual const MemberGroupList & getMemberGroups() const =0
Returns the member groups defined for this class.
virtual ClassLinkedRefMap getClasses() const =0
returns the classes nested into this class
virtual FileDef * getFileDef() const =0
Returns the file in which this compound's definition can be found.
virtual const IncludeInfo * includeInfo() const =0
virtual const BaseClassList & subClasses() const =0
Returns the list of sub classes that directly derive from this class.
virtual DString initializer() const =0
virtual ArgumentList getTemplateParameterList() const =0
virtual const IncludeInfo * includeInfo() const =0
virtual Parts conceptParts() const =0
virtual const FileDef * getFileDef() const =0
A String class for use with Doxygen wrapping std::string and adding some additional functionality off...
size_t rfind(char c, size_t pos=npos) const
DString fill(char c, size_t len)
Fills a string with a predefined character.
DString mid(size_t index, size_t len=npos) const
bool empty() const
Returns true iff the string is empty (std::string compatible alias for isEmpty()).
DString & remove(size_t index, size_t len)
static constexpr size_t npos
value used to indicate 'not found' or 'to the end of the string', matching std::string::npos
char & at(size_t i)
Returns a reference to the character at index i.
size_t size() const
Returns the length of the string, not counting the 0-terminator.
DString & prepend(const char *s)
size_t find(char c, size_t pos=0) const
DString stripWhiteSpace() const
returns a copy of this string with leading and trailing whitespace removed
DString left(size_t len) const
const std::string & str() const
bool stripPrefix(const DString &prefix)
const char * data() const
Returns a pointer to the contents of the string in the form of a 0-terminated C string.
size_t length() const
Returns the length of the string, not counting the 0-terminator.
The common base class of all entity definitions found in the sources.
virtual DString briefDescription(bool abbreviate=false) const =0
virtual int getEndBodyLine() const =0
virtual DString briefFile() const =0
virtual SrcLangExt getLanguage() const =0
Returns the programming language this definition was written in.
virtual DString getDefFileExtension() const =0
virtual int docLine() const =0
virtual DString getDefFileName() const =0
virtual DString documentation() const =0
virtual DString inbodyDocumentation() const =0
virtual int getDefLine() const =0
virtual DefType definitionType() const =0
virtual const SectionRefs & getSectionRefs() const =0
returns the section dictionary, only of importance for pagedef
virtual const DString & name() const =0
virtual int inbodyLine() const =0
virtual const FileDef * getBodyDef() const =0
virtual int briefLine() const =0
virtual bool isLinkableInProject() const =0
virtual size_t getDefColumn() const =0
virtual bool isAnonymous() const =0
virtual const RequirementRefs & requirementReferences() const =0
virtual DString displayName(bool includeScope=true) const =0
virtual DString qualifiedName() const =0
virtual bool isHidden() const =0
virtual DString anchor() const =0
virtual bool isArtificial() const =0
virtual Definition * getOuterScope() const =0
virtual DString docFile() const =0
virtual const MemberVector & getReferencedByMembers() const =0
virtual int getStartBodyLine() const =0
virtual bool isReference() const =0
virtual const MemberVector & getReferencesMembers() const =0
virtual DString getOutputFileBase() const =0
A model of a directory symbol.
virtual const DirList & subDirs() const =0
virtual const FileList & getFiles() const =0
Class representing a directory in the file system.
Class representing the abstract syntax tree of a documentation block.
Representation of a class inheritance or dependency graph.
void writeXML(TextStream &t)
Representation of an include dependency graph.
void writeXML(TextStream &t)
static NamespaceLinkedMap * namespaceLinkedMap
static ConceptLinkedMap * conceptLinkedMap
static std::unique_ptr< PageDef > mainPage
static FileNameLinkedMap * inputNameLinkedMap
static ParserManager * parserManager
static ClassLinkedMap * classLinkedMap
static PageLinkedMap * exampleLinkedMap
static PageLinkedMap * pageLinkedMap
static DirLinkedMap * dirLinkedMap
static GroupLinkedMap * groupLinkedMap
A model of a file symbol.
virtual const NamespaceLinkedRefMap & getNamespaces() const =0
virtual const MemberGroupList & getMemberGroups() const =0
virtual DString absFilePath() const =0
virtual const DString & docName() const =0
virtual const ClassLinkedRefMap & getClasses() const =0
virtual const IncludeInfoList & includeFileList() const =0
virtual const MemberLists & getMemberLists() const =0
virtual const ConceptLinkedRefMap & getConcepts() const =0
virtual const IncludeInfoList & includedByFileList() const =0
A model of a group of symbols.
virtual DString groupTitle() const =0
virtual const GroupList & getSubGroups() const =0
virtual const FileList & getFiles() const =0
virtual const MemberLists & getMemberLists() const =0
virtual const MemberGroupList & getMemberGroups() const =0
virtual const ConceptLinkedRefMap & getConcepts() const =0
virtual const PageLinkedRefMap & getPages() const =0
virtual const NamespaceLinkedRefMap & getNamespaces() const =0
virtual const ClassLinkedRefMap & getClasses() const =0
virtual const ModuleLinkedRefMap & getModules() const =0
void writeXMLSchema(TextStream &t)
static HtmlEntityMapper & instance()
Returns the one and only instance of the HTML entity mapper.
Class representing the data associated with a #include statement.
const T * find(const std::string &key) const
constexpr bool isXmlEnabled() const noexcept
constexpr int xmlLevel() const noexcept
A model of a class/file/namespace member symbol.
virtual bool isConstExpr() const =0
virtual bool isConstEval() const =0
virtual bool isInitonly() const =0
virtual bool isNoExcept() const =0
virtual bool isAssign() const =0
virtual bool isExplicit() const =0
virtual bool isNew() const =0
virtual DString requiresClause() const =0
virtual bool isMaybeVoid() const =0
virtual DString argsString() const =0
virtual bool isSealed() const =0
virtual bool isConstInit() const =0
virtual DString definition() const =0
virtual const ClassDef * getClassDef() const =0
virtual DString excpString() const =0
virtual const ArgumentList & templateArguments() const =0
virtual DString getDeclFileName() const =0
virtual const DString & initializer() const =0
virtual GroupDef * getGroupDef()=0
virtual bool isSettable() const =0
virtual bool isRetain() const =0
virtual bool isAddable() const =0
virtual const MemberVector & enumFieldList() const =0
virtual const FileDef * getFileDef() const =0
virtual bool isInline() const =0
virtual DString getReadAccessor() const =0
virtual const ArgumentList & argumentList() const =0
virtual bool isWritable() const =0
virtual bool isMaybeAmbiguous() const =0
virtual bool isPrivateGettable() const =0
virtual const MemberVector & reimplementedBy() const =0
virtual bool isRequired() const =0
virtual bool isAttribute() const =0
virtual bool isExternal() const =0
virtual bool isCopy() const =0
virtual DString bitfieldString() const =0
virtual int getDeclLine() const =0
virtual bool isTypeAlias() const =0
virtual bool isStatic() const =0
virtual const MemberDef * reimplements() const =0
virtual bool isMaybeDefault() const =0
virtual bool isPrivateSettable() const =0
virtual StringVector getQualifiers() const =0
virtual bool isRaisable() const =0
virtual bool isRemovable() const =0
virtual bool isConstrained() const =0
virtual DString getWriteAccessor() const =0
virtual bool isReadonly() const =0
virtual bool isBound() const =0
virtual bool isThreadLocal() const =0
virtual const NamespaceDef * getNamespaceDef() const =0
virtual DString getScopeString() const =0
virtual size_t getDeclColumn() const =0
virtual bool isProtectedSettable() const =0
virtual const ClassDef * getClassDefOfAnonymousType() const =0
virtual bool isProtectedGettable() const =0
virtual bool hasOneLineInitializer() const =0
virtual bool isTransient() const =0
virtual bool hasMultiLineInitializer() const =0
virtual Protection protection() const =0
virtual bool isOptional() const =0
virtual bool isEnumerate() const =0
virtual bool isGettable() const =0
virtual MemberType memberType() const =0
virtual bool isReadable() const =0
virtual bool isWeak() const =0
virtual bool isNoDiscard() const =0
virtual DString enumBaseType() const =0
virtual bool isStrong() const =0
virtual DString typeString() const =0
virtual Specifier virtualness(int count=0) const =0
virtual bool isUNOProperty() const =0
virtual bool isFinal() const =0
virtual const ArgumentList & declArgumentList() const =0
virtual bool isMutable() const =0
virtual bool isFriendClass() const =0
A list of MemberDef objects as shown in documentation sections.
MemberListType listType() const
constexpr const char * toXML() const noexcept
constexpr bool isDeclaration() const noexcept
constexpr bool isDetailed() const noexcept
virtual const MemberGroupList & getMemberGroups() const =0
virtual bool isPrimaryInterface() const =0
virtual const MemberLists & getMemberLists() const =0
virtual FileList getUsedFiles() const =0
virtual const ImportInfoMap & getExports() const =0
virtual const ConceptLinkedRefMap & getConcepts() const =0
virtual const ClassLinkedRefMap & getClasses() const =0
static ModuleManager & instance()
ModuleDef * getPrimaryInterface(const DString &moduleName) const
An abstract interface of a namespace symbol.
virtual ConceptLinkedRefMap getConcepts() const =0
virtual const MemberLists & getMemberLists() const =0
virtual NamespaceLinkedRefMap getNamespaces() const =0
virtual bool isInline() const =0
virtual ClassLinkedRefMap getClasses() const =0
virtual const MemberGroupList & getMemberGroups() const =0
Class representing a list of different code generators.
void startCodeFragment(const DString &style)
void add(OutputCodeIntfPtr &&p)
void endCodeFragment(const DString &style)
A model of a page symbol.
virtual const PageLinkedRefMap & getSubPages() const =0
virtual LocalToc localToc() const =0
virtual DString title() const =0
virtual const GroupDef * getGroupDef() const =0
std::unique_ptr< CodeParserInterface > getCodeParser(const DString &extension)
Gets the interface to the parser associated with a given extension.
virtual DString file() const =0
virtual int line() const =0
virtual DString title() const =0
virtual DString id() const =0
virtual DString doc() const =0
static RequirementManager & instance()
const PageDef * requirementsPage() const
RequirementIntfList requirements() const
static ResourceMgr & instance()
Returns the one and only instance of this class.
bool copyResource(const DString &name, const DString &targetDir) const
Copies a registered resource to a given target directory.
DString getAsString(const DString &name) const
Gets the resource data as a C string.
class that provide information about a section.
static SectionManager & instance()
returns a reference to the singleton
class that represents a list of constant references to sections.
Abstract interface for a hyperlinked text fragment.
Implements TextGeneratorIntf for an XML stream.
TextGeneratorXMLImpl(TextStream &t)
void writeString(std::string_view s, bool) const override
void writeLink(const DString &extRef, const DString &file, const DString &anchor, std::string_view text) const override
void writeBreak(int) const override
Text streaming class that buffers data.
void write(const char *buf, size_t len)
Adds a array of character to the stream.
virtual DString trISOLang()=0
void setStripIndentAmount(size_t amount) override
void endCodeLine() override
size_t m_stripIndentAmount
void startCodeLine(int) override
void startSpecialComment() override
bool m_normalHLNeedStartTag
void startFontClass(const DString &colorClass) override
void writeCodeLink(CodeSymbolType type, const DString &ref, const DString &file, const DString &anchor, const DString &name, const DString &tooltip) override
void endSpecialComment() override
void writeTooltip(const DString &, const DocLinkInfo &, const DString &, const DString &, const SourceLinkInfo &, const SourceLinkInfo &) override
void stripCodeComments(bool b) override
void endCodeFragment(const DString &) override
void startCodeFragment(const DString &) override
void writeLineNumber(const DString &extRef, const DString &compId, const DString &anchorId, int l, bool writeLineAnchor) override
void codify(const DString &text) override
Generator for producing XML formatted source code.
XMLCodeGenerator(TextStream *t)
void writeCodeAnchor(const DString &) override
void endFontClass() override
Concrete visitor implementation for XML output.
#define Config_getInt(name)
#define Config_getBool(name)
#define Config_getString(name)
std::vector< bool > BoolVector
DirIterator end(const DirIterator &) noexcept
IDocParserPtr createDocParser()
factory function to create a parser
IDocNodeASTPtr validatingParseDoc(IDocParser &parserIntf, const DString &fileName, int startLine, const Definition *ctx, const MemberDef *md, const DString &input, const DocOptions &options)
const char * qPrint(const char *s)
constexpr uint32_t IncludeKind_LocalMask
Translator * theTranslator
void linkifyText(const TextGeneratorIntf &out, const DString &text, const LinkifyTextOptions &options)
std::unordered_map< std::string, ImportInfoList > ImportInfoMap
void writeXMLDoxyfile(TextStream &t)
void writeXSDDoxyfile(TextStream &t)
std::ofstream openOutputStream(const DString &name, bool append=false)
size_t updateColumnCount(const char *s, size_t col)
Portable versions of functions that are platform dependent.
void splitRequirementRefs(const RequirementRefs &inputReqRefs, RequirementRefs &satisfiesRefs, RequirementRefs &verifiesRefs)
std::vector< RequirementRef > RequirementRefs
List of requirement references.
Options to configure the code parser.
Helper class to pass options when calling OutputList::generateDoc().
LinkifyTextOptions & setScope(const Definition *scope)
LinkifyTextOptions & setSelf(const Definition *self)
LinkifyTextOptions & setFileScope(const FileDef *fileScope)
const char * writeUTF8Char(TextStream &t, const char *s)
Writes the UTF8 character pointed to by s to stream t and returns a pointer to the next character.
Various UTF8 related helper functions.
DString filterTitle(const DString &title)
DString insertTemplateSpecifierInScope(const DString &scope, const DString &templ)
DString convertNameToFile(const DString &name, bool allowDots, bool allowUnderscore)
void clearSubDirs(const Dir &d)
void createSubDirs(const Dir &d)
SrcLangExt getLanguageFromFileName(const DString &fileName, SrcLangExt defLang)
DString fileToString(const DString &name, bool filter, bool isSourceCode)
DString convertToXML(const DString &s, bool keepEntities, const bool citeEntry)
DString getLanguageSpecificSeparator(SrcLangExt lang, bool classScope)
DString stripFromPath(const DString &path)
A bunch of utility functions.
static void generateXMLForGroup(const GroupDef *gd, TextStream &ti)
static void writeInnerConcepts(const ConceptLinkedRefMap &cl, TextStream &t)
void writeXMLCodeString(bool hide, TextStream &t, const DString &str, size_t &col, size_t stripIndentAmount)
static void writeInnerGroups(const GroupList &gl, TextStream &t)
static void stripQualifiers(DString &typeStr)
static void writeInnerDirs(const DirList *dl, TextStream &t)
static DString memberOutputFileBase(const MemberDef *md)
static void writeListOfAllMembers(const ClassDef *cd, TextStream &t)
static void writeXMLDocBlock(TextStream &t, const DString &fileName, int lineNr, const Definition *scope, const MemberDef *md, const DString &text)
static void generateXMLForClass(const ClassDef *cd, TextStream &ti)
static void generateXMLForFile(FileDef *fd, TextStream &ti)
static void generateXMLSection(const Definition *d, TextStream &ti, TextStream &t, const MemberList *ml, const DString &kind, const DString &header=DString(), const DString &documentation=DString())
static void writeMemberTemplateLists(const MemberDef *md, TextStream &t)
void writeXMLCodeBlock(TextStream &t, FileDef *fd)
static void writeTemplateList(const ClassDef *cd, TextStream &t)
void writeXMLString(TextStream &t, const DString &s)
static void writeMemberReference(TextStream &t, const Definition *def, const MemberDef *rmd, const DString &tagName)
void generateXMLForRequirements(PageDef *pd, TextStream &ti)
static bool memberVisible(const Definition *d, const MemberDef *md)
static void writeIncludeInfo(const IncludeInfo *ii, TextStream &t)
static void writeInnerPages(const PageLinkedRefMap &pl, TextStream &t)
DString xmlRequirementId(const DString &reqId)
static void generateXMLForNamespace(const NamespaceDef *nd, TextStream &ti)
static void generateXMLForRequirement(const RequirementIntf *req, TextStream &ti)
void writeXMLLink(TextStream &t, const DString &extRef, const DString &compoundId, const DString &anchorId, const DString &text, const DString &tooltip)
static void writeXMLHeader(TextStream &t)
static void writeInnerModules(const ModuleLinkedRefMap &ml, TextStream &t)
static void generateXMLForModule(const ModuleDef *mod, TextStream &ti)
static void generateXMLForConcept(const ConceptDef *cd, TextStream &ti)
static void writeExports(const ImportInfoMap &exportMap, TextStream &t)
static void writeInnerFiles(const FileList &fl, TextStream &t)
static bool stripKeyword(DString &str, const char *keyword, bool needSpace)
static void generateXMLForMember(const MemberDef *md, TextStream &ti, TextStream &t, const Definition *def)
static DString classOutputFileBase(const ClassDef *cd)
static void writeRequirementRefs(const Definition *d, TextStream &t, const char *prefix="")
static void writeTemplateArgumentList(TextStream &t, const ArgumentList &al, const Definition *scope, const FileDef *fileScope, int indent)
static void writeInnerClasses(const ClassLinkedRefMap &cl, TextStream &t)
static DString extractNoExcept(DString &argsStr)
static void writeInnerNamespaces(const NamespaceLinkedRefMap &nl, TextStream &t)
static void generateXMLForDir(DirDef *dd, TextStream &ti)
static void generateXMLForPage(PageDef *pd, TextStream &ti, bool isExample)
static void writeCombineScript()