diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2003-07-08 20:06:16 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2003-07-08 20:06:16 (GMT) |
commit | 5444ff60bbf81c46841827e66e72f3148edde9ff (patch) | |
tree | 0ff0fae4a5be0021848d96eb18ee8505ff6b9b5d /src/memberdef.cpp | |
parent | 17c14fb5230cfc532577c32df1d10223534392d8 (diff) | |
download | Doxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.zip Doxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.tar.gz Doxygen-5444ff60bbf81c46841827e66e72f3148edde9ff.tar.bz2 |
Release-1.3.2-20030708
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r-- | src/memberdef.cpp | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp index 019943b..5c67c03 100644 --- a/src/memberdef.cpp +++ b/src/memberdef.cpp @@ -499,7 +499,19 @@ void MemberDef::writeLink(OutputList &ol,ClassDef *cd,NamespaceDef *nd, } else // local link { - ol.writeObjectLink(d->getReference(),d->getOutputFileBase(),anchor(),name()); + QCString sep = Config_getBool("OPTIMIZE_OUTPUT_JAVA") ? "." : "::"; + if (cd) + { + ol.writeObjectLink(d->getReference(),d->getOutputFileBase(),anchor(),cd->name()+sep+name()); + } + else if (nd) + { + ol.writeObjectLink(d->getReference(),d->getOutputFileBase(),anchor(),nd->name()+sep+name()); + } + else + { + ol.writeObjectLink(d->getReference(),d->getOutputFileBase(),anchor(),name()); + } } } @@ -2017,3 +2029,11 @@ void MemberDef::enableCallGraph(bool e) if (e) Doxygen::parseSourcesNeeded = TRUE; } +bool MemberDef::protectionVisible() const +{ + return prot==Public || + (prot==Private && Config_getBool("EXTRACT_PRIVATE")) || + (prot==Protected && Config_getBool("EXTRACT_PROTECTED")) || + (prot==Package && Config_getBool("EXTRACT_PACKAGE")); +} + |