summaryrefslogtreecommitdiffstats
path: root/src/index.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-07-08 20:06:16 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-07-08 20:06:16 (GMT)
commit5444ff60bbf81c46841827e66e72f3148edde9ff (patch)
tree0ff0fae4a5be0021848d96eb18ee8505ff6b9b5d /src/index.cpp
parent17c14fb5230cfc532577c32df1d10223534392d8 (diff)
downloadDoxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.zip
Doxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.tar.gz
Doxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.tar.bz2
Release-1.3.2-20030708
Diffstat (limited to 'src/index.cpp')
-rw-r--r--src/index.cpp27
1 files changed, 16 insertions, 11 deletions
diff --git a/src/index.cpp b/src/index.cpp
index 3a1ee3e..c76b5d6 100644
--- a/src/index.cpp
+++ b/src/index.cpp
@@ -2132,7 +2132,15 @@ int countNamespaceMembers(int filter)
while (md && !found)
{
NamespaceDef *nd=md->getNamespaceDef();
- if (nd && nd->isLinkableInProject() && md->isLinkableInProject())
+ if (nd && nd->isLinkableInProject() && md->isLinkableInProject() &&
+ ( filter==NMHL_All ||
+ (filter==NMHL_Functions && md->isFunction()) ||
+ (filter==NMHL_Variables && md->isVariable()) ||
+ (filter==NMHL_Typedefs && md->isTypedef()) ||
+ (filter==NMHL_Enums && md->isEnumerate()) ||
+ (filter==NMHL_EnumValues && md->isEnumValue())
+ )
+ )
{
QCString n = mn->memberName();
if (!n.isEmpty()) g_namespaceIndexLetterUsed[filter][tolower(n.at(0))]=TRUE;
@@ -3120,18 +3128,15 @@ void writeIndex(OutputList &ol)
if (!Config_getString("GENERATE_TAGFILE").isEmpty())
{
Doxygen::tagFile << " <compound kind=\"page\">" << endl
- << " <filename>"
- << convertToXML(Doxygen::mainPage->getOutputFileBase())
- << "</filename>"
- << endl
- << " <title>"
- << convertToXML(Doxygen::mainPage->title())
- << "</title>"
- << endl
<< " <name>"
<< convertToXML(Doxygen::mainPage->name())
- << "</name>"
- << endl;
+ << "</name>" << endl
+ << " <title>"
+ << convertToXML(Doxygen::mainPage->title())
+ << "</title>" << endl
+ << " <filename>"
+ << convertToXML(Doxygen::mainPage->getOutputFileBase())
+ << "</filename>" << endl;
Doxygen::mainPage->writeDocAnchorsToTagFile();
Doxygen::tagFile << " </compound>" << endl;