diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-09-24 20:33:07 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-09-24 20:33:07 (GMT) |
commit | 168b741da042373d667e226cace55c9e82ec8faa (patch) | |
tree | b50a7ace694be7f29ae897c96045f16755d30ef8 /src/classdef.cpp | |
parent | cabe22de82107be7b828cb771b1b3c6be4ab8660 (diff) | |
download | Doxygen-168b741da042373d667e226cace55c9e82ec8faa.zip Doxygen-168b741da042373d667e226cace55c9e82ec8faa.tar.gz Doxygen-168b741da042373d667e226cace55c9e82ec8faa.tar.bz2 |
Release-1.2.2
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r-- | src/classdef.cpp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp index a54724c..4d56c74 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -616,6 +616,8 @@ void ClassDef::writeDocumentation(OutputList &ol) ol.startTextBlock(); + //printf("Class %s brief=`%s' doc=`%s'\n",name().data(),briefDescription().data(),documentation().data()); + // write brief description OutputList briefOutput(&ol); if (!briefDescription().isEmpty()) @@ -1421,7 +1423,7 @@ bool ClassDef::isBaseClass(ClassDef *bcd) * superclasses! */ -void ClassDef::mergeMembers(/*ClassDef *cd,BaseClassList *bcl*/) +void ClassDef::mergeMembers() { BaseClassListIterator bcli(*baseClasses()); BaseClassDef *bcd; @@ -1648,9 +1650,15 @@ void ClassDef::determineImplUsageRelation() QCString templSpec; if (te>ts) templSpec = type.mid(ts,te-ts); // TODO: also check using Nx::Cx cases here! - ClassDef *cd=getResolvedClass(name()+"::"+type.mid(i,l)); - if (cd==0) cd=getResolvedClass(type.mid(i,l)); // TODO: also try inbetween scopes! - //printf("Search for class %s result=%p\n",type.mid(i,l).data(),cd); + QCString usedClassName = type.mid(i,l); + ClassDef *cd=0; + if (getNamespaceDef()!=0) + { + cd=getResolvedClass(getNamespaceDef()->name()+"::"+usedClassName); + } + if (cd==0) cd=getResolvedClass(name()+"::"+usedClassName); + if (cd==0) cd=getResolvedClass(usedClassName); // TODO: also try inbetween scopes! + //printf("Search for class %s result=%p\n",usedClassName.data(),cd); if (cd) // class exists { found=TRUE; |