summaryrefslogtreecommitdiffstats
path: root/src/classdef.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-08-12 16:26:14 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-08-12 16:26:14 (GMT)
commitb5cbb79d114ed13945bc882ac8eef1c2be967bbf (patch)
tree4c0dd6f4a7ff503dd3cacaa8e6156c9975645e66 /src/classdef.h
parent490b7178adcf627892b0686b80016422e64dcfa3 (diff)
downloadDoxygen-b5cbb79d114ed13945bc882ac8eef1c2be967bbf.zip
Doxygen-b5cbb79d114ed13945bc882ac8eef1c2be967bbf.tar.gz
Doxygen-b5cbb79d114ed13945bc882ac8eef1c2be967bbf.tar.bz2
Release-1.2.9-20010812
Diffstat (limited to 'src/classdef.h')
-rw-r--r--src/classdef.h27
1 files changed, 9 insertions, 18 deletions
diff --git a/src/classdef.h b/src/classdef.h
index 939cd90..51d0112 100644
--- a/src/classdef.h
+++ b/src/classdef.h
@@ -72,6 +72,7 @@ class ClassDef : public Definition
QCString getFileBase() const;
QCString getSourceFileBase() const;
QCString getReference() const;
+ bool isReference() const;
bool hasDocumentation() const;
@@ -114,10 +115,7 @@ class ClassDef : public Definition
/*! return TRUE iff a link to this class is possible (either within
* this project, or as a cross-reference to another project).
*/
- bool isLinkable() const
- {
- return isLinkableInProject() || isReference();
- }
+ bool isLinkable() const;
/*! the class is visible in a class diagram, or class hierarchy */
bool isVisibleInHierarchy();
@@ -153,12 +151,6 @@ class ClassDef : public Definition
*/
bool isBaseClass(ClassDef *bcd);
- /*! Is this an artificial class that is the template argument of
- * a class. If so the argument number is returned, otherwise -1
- * is returned.
- */
- int isTemplateBaseClass() const { return m_isTemplBaseClass; }
-
/*! Returns a sorted dictionary with all template instances found for
* this template class. Returns 0 if not a template or no instances.
*/
@@ -200,6 +192,11 @@ class ClassDef : public Definition
*/
bool isAbstract() const { return m_isAbstract; }
+ /*! returns the name of the class including outer classes, but not
+ * including namespaces.
+ */
+ QCString className() const;
+
/* member lists by protection */
MemberList pubMembers;
MemberList proMembers;
@@ -262,7 +259,6 @@ class ClassDef : public Definition
void setProtection(Protection p) { m_prot=p; }
void setGroupDefForAllMembers(GroupDef *g,Grouping::GroupPri_t pri,const QCString &fileName,int startLine,bool hasDocs);
void addInnerCompound(Definition *d);
- void setIsTemplateBaseClass(int num) { m_isTemplBaseClass = num; }
void addUsedClass(ClassDef *cd,const char *accessName);
//void initTemplateMapping();
//void setTemplateArgumentMapping(const char *formal,const char *actual);
@@ -384,13 +380,6 @@ class ClassDef : public Definition
UsesClassDict *m_usesImplClassDict;
UsesClassDict *m_usesIntfClassDict;
- /*! Is this a class that exists because of template class that
- * inherited one of it's template arguments. If so that this
- * variable indicate the template argument number, otherwise
- * this is -1
- */
- int m_isTemplBaseClass;
-
/*! Template instances that exists of this class, the key in the
* dictionary is the template argument list.
*/
@@ -410,6 +399,8 @@ class ClassDef : public Definition
/*! Is this an abstact class? */
bool m_isAbstract;
+
+ QCString m_className;
};
/*! \brief Class that contains information about a usage relation.