summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2011-06-06 19:49:53 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2011-06-06 19:49:53 (GMT)
commitde297f6d77f3861b649f3fcba443483d6be6afe9 (patch)
treeb158d4e26359c261b119f485d1d4c69a6034663c /src/classdef.cpp
parentc604d141eb8b0708022a3e4b48b0b1871b692aa6 (diff)
downloadDoxygen-de297f6d77f3861b649f3fcba443483d6be6afe9.zip
Doxygen-de297f6d77f3861b649f3fcba443483d6be6afe9.tar.gz
Doxygen-de297f6d77f3861b649f3fcba443483d6be6afe9.tar.bz2
Release-1.7.4-20110606
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 5c75ebb..34dcee3 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -383,7 +383,8 @@ void ClassDef::internalInsertMember(MemberDef *md,
}
}
- if (!isReference())
+ if (1 /*!isReference()*/) // changed to 1 for showing members of external
+ // classes when HAVE_DOT and UML_LOOK are enabled.
{
static bool extractPrivate = Config_getBool("EXTRACT_PRIVATE");
@@ -2865,8 +2866,11 @@ void ClassDef::mergeCategory(ClassDef *category)
//----------------------------------------------------------------------------
-void ClassDef::addUsedClass(ClassDef *cd,const char *accessName)
+void ClassDef::addUsedClass(ClassDef *cd,const char *accessName,
+ Protection prot)
{
+ static bool extractPrivate = Config_getBool("EXTRACT_PRIVATE");
+ if (prot==Private && !extractPrivate) return;
//printf("%s::addUsedClass(%s,%s)\n",name().data(),cd->name().data(),accessName);
if (m_impl->usesImplClassDict==0)
{
@@ -2884,8 +2888,11 @@ void ClassDef::addUsedClass(ClassDef *cd,const char *accessName)
ucd->addAccessor(accessName);
}
-void ClassDef::addUsedByClass(ClassDef *cd,const char *accessName)
+void ClassDef::addUsedByClass(ClassDef *cd,const char *accessName,
+ Protection prot)
{
+ static bool extractPrivate = Config_getBool("EXTRACT_PRIVATE");
+ if (prot==Private && !extractPrivate) return;
//printf("%s::addUsedByClass(%s,%s)\n",name().data(),cd->name().data(),accessName);
if (m_impl->usedByImplClassDict==0)
{
@@ -3854,6 +3861,11 @@ void ClassDef::setUsedOnly(bool b)
m_impl->usedOnly = b;
}
+SrcLangExt ClassDef::getLanguage() const
+{
+ return m_impl->lang;
+}
+
bool ClassDef::isUsedOnly() const
{
return m_impl->usedOnly;