summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-11-17 20:04:10 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-11-29 19:38:18 (GMT)
commit00b7d393215f6b7e08d6b931c6da32e4103c5a36 (patch)
tree205644c673c840a0e3cbfdd612df300d86e3b709 /src/classdef.cpp
parent727e5e1c179148fdc4123176ac2d9021c33e3eba (diff)
downloadDoxygen-00b7d393215f6b7e08d6b931c6da32e4103c5a36.zip
Doxygen-00b7d393215f6b7e08d6b931c6da32e4103c5a36.tar.gz
Doxygen-00b7d393215f6b7e08d6b931c6da32e4103c5a36.tar.bz2
More context and template additions
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp19
1 files changed, 14 insertions, 5 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 474be45..eba870f 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -2446,12 +2446,12 @@ bool ClassDef::addExample(const char *anchor,const char *nameStr,
}
// returns TRUE if this class is used in an example
-bool ClassDef::hasExamples()
+bool ClassDef::hasExamples() const
{
- if (m_impl->exampleSDict==0)
- return FALSE;
- else
- return m_impl->exampleSDict->count()>0;
+ bool result=FALSE;
+ if (m_impl->exampleSDict)
+ result = m_impl->exampleSDict->count()>0;
+ return result;
}
@@ -4758,3 +4758,12 @@ const FileList &ClassDef::usedFiles() const
return m_impl->files;
}
+const ArgumentList *ClassDef::typeConstraints() const
+{
+ return m_impl->typeConstraints;
+}
+
+const ExampleSDict *ClassDef::exampleList() const
+{
+ return m_impl->exampleSDict;
+}