summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2009-01-29 20:13:23 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2009-01-29 20:13:23 (GMT)
commit27b5dd5b526154944bb1997fb7a592343d124595 (patch)
tree0653bda058f25d9420dd6ddcaf4edc28781a8aa4 /src/classdef.cpp
parentf1662f81dd249c51e4d8f9a64ea226f511b0bfbc (diff)
downloadDoxygen-27b5dd5b526154944bb1997fb7a592343d124595.zip
Doxygen-27b5dd5b526154944bb1997fb7a592343d124595.tar.gz
Doxygen-27b5dd5b526154944bb1997fb7a592343d124595.tar.bz2
Release-1.5.8-20090129
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index c62a7de..b20a222 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -133,7 +133,7 @@ class ClassDefImpl
/*! The class this class is an instance of. */
ClassDef *templateMaster;
- /*! class name with outer class scope, but without namespace scope. */
+ /*! local class name which could be a typedef'ed alias name. */
QCString className;
/*! If this class is a Objective-C category, then this points to the
@@ -209,8 +209,8 @@ void ClassDefImpl::init(const char *defFileName, const char *name,
membersMerged = FALSE;
categoryOf = 0;
usedOnly = FALSE;
- QCString ns;
- extractNamespaceName(name,className,ns);
+ //QCString ns;
+ //extractNamespaceName(name,className,ns);
//printf("m_name=%s m_className=%s ns=%s\n",m_name.data(),m_className.data(),ns.data());
if (((QCString)defFileName).right(5)!=".java" &&
@@ -3025,7 +3025,7 @@ QCString ClassDef::qualifiedNameWithTemplateParameters(
if (!scName.isEmpty()) scName+=scopeSeparator;
}
- scName+=m_impl->className;
+ scName+=className();
ArgumentList *al=0;
bool isSpecialization = localName().find('<')!=-1;
if (templateArguments())
@@ -3052,7 +3052,14 @@ QCString ClassDef::qualifiedNameWithTemplateParameters(
QCString ClassDef::className() const
{
- return m_impl->className;
+ if (m_impl->className.isEmpty())
+ {
+ return localName();
+ }
+ else
+ {
+ return m_impl->className;
+ }
};
void ClassDef::setClassName(const char *name)