summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-08-12 12:53:19 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-08-12 12:53:19 (GMT)
commitbb18b811e8f1a4a939eadf28d12bc5f99dd74b82 (patch)
tree96c3b47bbfb0ee3d28e46421e1317253ba052f01 /src/memberdef.cpp
parent6e8975abdb6b52477a5788bca969e13e467814dd (diff)
downloadDoxygen-bb18b811e8f1a4a939eadf28d12bc5f99dd74b82.zip
Doxygen-bb18b811e8f1a4a939eadf28d12bc5f99dd74b82.tar.gz
Doxygen-bb18b811e8f1a4a939eadf28d12bc5f99dd74b82.tar.bz2
Release-1.3.8-20040812
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 752e2d8..5c0570b 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -343,6 +343,7 @@ MemberDef::MemberDef(const char *df,int dl,
section=0;
groupAlias=0;
explExt=FALSE;
+ tspec=FALSE;
cachedAnonymousType=0;
maxInitLines=Config_getInt("MAX_INITIALIZER_LINES");
userInitLines=-1;
@@ -834,8 +835,8 @@ void MemberDef::writeDeclaration(OutputList &ol,
if (Config_getBool("SEARCHENGINE"))
{
Doxygen::searchIndex->setCurrentDoc(qualifiedName(),getOutputFileBase(),anchor());
- Doxygen::searchIndex->addWord(localName().lower());
- Doxygen::searchIndex->addWord(qualifiedName().lower());
+ Doxygen::searchIndex->addWord(localName());
+ Doxygen::searchIndex->addWord(qualifiedName());
}
Definition *d=0;
@@ -1248,7 +1249,6 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol,
htmlHelp->addIndexItem(cname,name(),cfname,anchor());
}
linkifyText(TextGeneratorOLImpl(ol),container,getBodyDef(),name(),ldef.left(i));
- //ol+=*vmd->enumDecl();
vmd->writeEnumDeclaration(ol,getClassDef(),getNamespaceDef(),getFileDef(),getGroupDef());
linkifyText(TextGeneratorOLImpl(ol),container,getBodyDef(),name(),ldef.right(ldef.length()-i-l));
@@ -1310,7 +1310,7 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol,
else // definition gets it template parameters from its class
// (since no definition was found)
{
- if (cd)
+ if (cd && !isTemplateSpecialization())
{
QList<ArgumentList> tempParamLists;
cd->getTemplateParameterLists(tempParamLists);
@@ -1670,7 +1670,6 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol,
ol.parseText(reimplFromLine.right(
reimplFromLine.length()-markerPos-2)); // text right from marker
- ol.newParagraph();
}
else
{
@@ -1751,7 +1750,6 @@ void MemberDef::writeDocumentation(MemberList *ml,OutputList &ol,
index=newIndex+matchLen;
}
ol.parseText(reimplInLine.right(reimplInLine.length()-index));
- ol.newParagraph();
}
}
// write the list of examples that use this member
@@ -2003,9 +2001,14 @@ void MemberDef::addListReference(Definition *)
}
}
}
- //printf("*** addListReference %s todo=%d test=%d bug=%d\n",name().data(),todoId(),testId(),bugId());
- addRefItem(xrefListItems(),memLabel,
- getOutputFileBase()+"#"+anchor(),memName,argsString());
+ if (xrefListItems())
+ {
+ addRefItem(xrefListItems(),memLabel,
+ getOutputFileBase()+"#"+anchor(),memName,argsString());
+ }
+ else
+ {
+ }
}
MemberList *MemberDef::getSectionList(Definition *d) const