diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-09-22 18:23:28 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-09-22 18:23:28 (GMT) |
commit | b9ad9a03cf4febeb2aa10ddca22c1c9296c5223b (patch) | |
tree | 059b5c4df60637b53cf98896407ad5ada2bf4ddd /src/pagedef.cpp | |
parent | dec53d22986c8d2c44a30806a2c8ed03bbe24768 (diff) | |
download | Doxygen-b9ad9a03cf4febeb2aa10ddca22c1c9296c5223b.zip Doxygen-b9ad9a03cf4febeb2aa10ddca22c1c9296c5223b.tar.gz Doxygen-b9ad9a03cf4febeb2aa10ddca22c1c9296c5223b.tar.bz2 |
Bug 736992 - Member functions omitted from tagfile
Diffstat (limited to 'src/pagedef.cpp')
-rw-r--r-- | src/pagedef.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp index e75327c..919a2d7 100644 --- a/src/pagedef.cpp +++ b/src/pagedef.cpp @@ -99,6 +99,30 @@ bool PageDef::hasParentPage() const getOuterScope()->definitionType()==Definition::TypePage; } +void PageDef::writeTagFile(FTextStream &tagFile) +{ + bool found = name()=="citelist"; + QDictIterator<RefList> rli(*Doxygen::xrefLists); + RefList *rl; + for (rli.toFirst();(rl=rli.current()) && !found;++rli) + { + if (rl->listName()==name()) + { + found=TRUE; + break; + } + } + if (!found) // not one of the generated related pages + { + tagFile << " <compound kind=\"page\">" << endl; + tagFile << " <name>" << name() << "</name>" << endl; + tagFile << " <title>" << convertToXML(title()) << "</title>" << endl; + tagFile << " <filename>" << convertToXML(getOutputFileBase()) << "</filename>" << endl; + writeDocAnchorsToTagFile(tagFile); + tagFile << " </compound>" << endl; + } +} + void PageDef::writeDocumentation(OutputList &ol) { static bool generateTreeView = Config_getBool("GENERATE_TREEVIEW"); @@ -200,30 +224,6 @@ void PageDef::writeDocumentation(OutputList &ol) ol.popGeneratorState(); //1.} - if (!Config_getString("GENERATE_TAGFILE").isEmpty()) - { - bool found = name()=="citelist"; - QDictIterator<RefList> rli(*Doxygen::xrefLists); - RefList *rl; - for (rli.toFirst();(rl=rli.current()) && !found;++rli) - { - if (rl->listName()==name()) - { - found=TRUE; - break; - } - } - if (!found) // not one of the generated related pages - { - Doxygen::tagFile << " <compound kind=\"page\">" << endl; - Doxygen::tagFile << " <name>" << name() << "</name>" << endl; - Doxygen::tagFile << " <title>" << convertToXML(title()) << "</title>" << endl; - Doxygen::tagFile << " <filename>" << getOutputFileBase() << "</filename>" << endl; - writeDocAnchorsToTagFile(); - Doxygen::tagFile << " </compound>" << endl; - } - } - Doxygen::indexList->addIndexItem(this,0,0,filterTitle(title())); } |