summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authormueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:26:45 (GMT)
committermueller <mueller@afe2bf4a-e733-0410-8a33-86f594647bc7>1999-12-15 19:26:45 (GMT)
commita6cb7ef1dc7c3d6b6ff949646b9b2deda3fc0bf3 (patch)
treebec2e27efcff1ecb747c25b00bb9fea1e068d151 /src/memberdef.cpp
parent719f0a35063be88eddcc4ed8fe7a940de47ef20c (diff)
downloadDoxygen-a6cb7ef1dc7c3d6b6ff949646b9b2deda3fc0bf3.zip
Doxygen-a6cb7ef1dc7c3d6b6ff949646b9b2deda3fc0bf3.tar.gz
Doxygen-a6cb7ef1dc7c3d6b6ff949646b9b2deda3fc0bf3.tar.bz2
mods for doxygen-0.49-990522
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r--src/memberdef.cpp26
1 files changed, 25 insertions, 1 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index f96a2d6..bd440c3 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -20,6 +20,7 @@
#include "membername.h"
#include "doxygen.h"
#include "util.h"
+#include "message.h"
/*! Creates a new member definition.
* Members can be function/variables/enums/etc. inside a class or inside a
@@ -159,7 +160,7 @@ bool MemberDef::hasExamples()
return exampleList->count()>0;
}
-
+#if 0
void MemberDef::writeExample(OutputList &ol)
{
Example *e=exampleList->first();
@@ -177,4 +178,27 @@ void MemberDef::writeExample(OutputList &ol)
}
ol.writeString(".");
}
+#endif
+QString MemberDef::getOutputFileBase() const
+{
+ if (classDef)
+ {
+ return classDef->getOutputFileBase();
+ }
+ else if (fileDef)
+ {
+ return fileDef->getOutputFileBase();
+ }
+ else if (fileDec)
+ {
+ return fileDec->getOutputFileBase();
+ }
+ else if (nspace)
+ {
+ return nspace->getOutputFileBase();
+ }
+ warn("Warning: Internal inconsistency: member %s does not belong to any\n"
+ " container!\n",name().data());
+ return "dummy";
+}