summaryrefslogtreecommitdiffstats
path: root/src/classdef.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-08-12 16:26:14 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-08-12 16:26:14 (GMT)
commiteed6800521ab6f21c41f485820ec1ee2def42e94 (patch)
tree4c0dd6f4a7ff503dd3cacaa8e6156c9975645e66 /src/classdef.h
parent0c6e5ac9eab4ff31bb5650ac2faf9f6c5fc46e68 (diff)
downloadDoxygen-eed6800521ab6f21c41f485820ec1ee2def42e94.zip
Doxygen-eed6800521ab6f21c41f485820ec1ee2def42e94.tar.gz
Doxygen-eed6800521ab6f21c41f485820ec1ee2def42e94.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.