diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-10-12 18:13:32 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-10-12 18:13:32 (GMT) |
commit | 86904d5b9752d35ff83bab14969314913f945d5b (patch) | |
tree | a205b9d8b40af012479b532e708766ec57e37a1f /src/context.h | |
parent | c23cedcb1ff27094ea661776b783942d485669ef (diff) | |
download | Doxygen-86904d5b9752d35ff83bab14969314913f945d5b.zip Doxygen-86904d5b9752d35ff83bab14969314913f945d5b.tar.gz Doxygen-86904d5b9752d35ff83bab14969314913f945d5b.tar.bz2 |
Refactoring: Modernize BaseClassList
Diffstat (limited to 'src/context.h')
-rw-r--r-- | src/context.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/context.h b/src/context.h index 7256dc6..473c72f 100644 --- a/src/context.h +++ b/src/context.h @@ -21,15 +21,12 @@ #include <qlist.h> #include <stdio.h> #include "dirdef.h" +#include "classdef.h" class Definition; -class ClassDef; -class ClassSDict; -class BaseClassList; class PageDef; class GroupDef; class NamespaceDef; -class BaseClassList; class NamespaceSDict; class FileDef; class FileList; @@ -455,7 +452,7 @@ class ClassInheritanceNodeContext : public RefCountedContext, public TemplateStr virtual int addRef() { return RefCountedContext::addRef(); } virtual int release() { return RefCountedContext::release(); } - void addChildren(const BaseClassList *bcl,bool hideSuper); + void addChildren(BaseClassList bcl,bool hideSuper); private: ClassInheritanceNodeContext(const ClassDef *); @@ -553,7 +550,7 @@ class NestingContext : public RefCountedContext, public TemplateListIntf void addModules(const GroupSDict &modules); void addModules(const GroupList &modules); void addClassHierarchy(const ClassSDict &clDict,bool rootOnly); - void addDerivedClasses(const BaseClassList *bcl,bool hideSuper); + void addDerivedClasses(BaseClassList bcl,bool hideSuper); private: NestingContext(const NestingNodeContext *parent,int level); @@ -929,7 +926,7 @@ class InheritanceNodeContext : public RefCountedContext, public TemplateStructIn class InheritanceListContext : public RefCountedContext, public TemplateListIntf { public: - static InheritanceListContext *alloc(const BaseClassList *list,bool baseClasses) + static InheritanceListContext *alloc(BaseClassList list,bool baseClasses) { return new InheritanceListContext(list,baseClasses); } // TemplateListIntf @@ -940,7 +937,7 @@ class InheritanceListContext : public RefCountedContext, public TemplateListIntf virtual int release() { return RefCountedContext::release(); } private: - InheritanceListContext(const BaseClassList *list,bool baseClasses); + InheritanceListContext(BaseClassList list,bool baseClasses); ~InheritanceListContext(); class Private; Private *p; |