Doxygen
|
#include <cstdio>
#include <algorithm>
#include "types.h"
#include "classdef.h"
#include "classlist.h"
#include "entry.h"
#include "doxygen.h"
#include "membername.h"
#include "message.h"
#include "config.h"
#include "util.h"
#include "diagram.h"
#include "language.h"
#include "htmlhelp.h"
#include "example.h"
#include "outputlist.h"
#include "dot.h"
#include "dotclassgraph.h"
#include "dotrunner.h"
#include "defargs.h"
#include "debug.h"
#include "docparser.h"
#include "searchindex.h"
#include "vhdldocgen.h"
#include "layout.h"
#include "arguments.h"
#include "memberlist.h"
#include "groupdef.h"
#include "filedef.h"
#include "namespacedef.h"
#include "membergroup.h"
#include "definitionimpl.h"
#include "symbolresolver.h"
#include "fileinfo.h"
#include "trace.h"
#include "moduledef.h"
Go to the source code of this file.
Classes | |
class | ClassDefImpl |
Implementation of the ClassDef interface. More... | |
class | ClassDefAliasImpl |
class | ClassDefImpl::IMPL |
Private data associated with a ClassDef object. More... | |
bool classHasVisibleChildren | ( | const ClassDef * | cd | ) |
Definition at line 5383 of file classdef.cpp.
References ClassDef::baseClasses(), FALSE, Definition::getLanguage(), ClassDef::subClasses(), TRUE, and VHDL.
Referenced by writeClassTreeForList(), and writeClassTreeToOutput().
bool classHasVisibleRoot | ( | const BaseClassList & | bcl | ) |
Definition at line 5372 of file classdef.cpp.
References ClassDef::baseClasses(), classHasVisibleRoot(), and ClassDef::isVisibleInHierarchy().
Referenced by DotGfxHierarchyTable::addClassList(), DotGfxHierarchyTable::addHierarchy(), classHasVisibleRoot(), countClassesInTreeList(), writeClassTreeForList(), and writeClassTreeToOutput().
Protection classInheritedProtectionLevel | ( | const ClassDef * | cd, |
const ClassDef * | bcd, | ||
Protection | prot, | ||
int | level ) |
Definition at line 5443 of file classdef.cpp.
References ClassDef::baseClasses(), ClassDef::categoryOf(), classInheritedProtectionLevel(), err, Definition::name(), Private, Protected, and qPrint().
Referenced by classInheritedProtectionLevel().
bool classVisibleInIndex | ( | const ClassDef * | cd | ) |
Definition at line 5408 of file classdef.cpp.
References Config_getBool, Definition::isLinkable(), and Definition::isLinkableInProject().
Referenced by writeClassTree().
std::unique_ptr< ClassDef > createClassDef | ( | const QCString & | fileName, |
int | startLine, | ||
int | startColumn, | ||
const QCString & | name, | ||
ClassDef::CompoundType | ct, | ||
const QCString & | ref, | ||
const QCString & | fName, | ||
bool | isSymbol, | ||
bool | isJavaEnum ) |
Factory method to create a new ClassDef object.
Definition at line 412 of file classdef.cpp.
Referenced by addClassToContext(), createTagLessInstance(), findClassRelation(), findUsedClassesForClass(), findUsingDeclarations(), and ClassDefMutable::sortAllMembersList().
std::unique_ptr< ClassDef > createClassDefAlias | ( | const Definition * | newScope, |
const ClassDef * | cd ) |
Definition at line 642 of file classdef.cpp.
Referenced by ClassDefAliasImpl::deepCopy(), findUsingDeclImports(), resolveClassNestingRelations(), and ClassDefMutable::sortAllMembersList().
Get a class definition given its name. Returns nullptr if the class is not found.
Definition at line 5366 of file classdef.cpp.
References Doxygen::classLinkedMap, and QCString::isEmpty().
Referenced by addVariable(), buildScopeFromQualifiedName(), extractNamespaceName(), findClassWithinClassContext(), findEnumDocumentation(), findEnums(), findMember(), findUsingDeclarations(), generateClassOrGlobalLink(), generateClassOrGlobalLink(), generateMemberLink(), MemberDefImpl::getClassDefOfAnonymousType(), getClassMutable(), getScopeDefs(), getTemplateArgumentsFromName(), DocParser::handleLinkedWord(), if(), insertTemplateSpecifierInScope(), MemberDefImpl::isDocumentedFriendClass(), SymbolResolver::resolveClass(), resolveLink(), resolveRef(), setCallContextForVar(), ClassDefMutable::sortAllMembersList(), stripTemplateSpecifiersFromScope(), and MemberDefImpl::writeDeclaration().
|
static |
Definition at line 147 of file classdef.cpp.
References ClassDef::Category, ClassDef::Class, ClassDef::Exception, Fortran, ClassDef::Interface, ObjC, ClassDef::Protocol, ClassDef::Service, ClassDef::Singleton, ClassDef::Struct, and ClassDef::Union.
Referenced by ClassDefImpl::ClassDefImpl(), ClassDefImpl::compoundTypeString(), and ClassDefImpl::deepCopy().
|
static |
Definition at line 3449 of file classdef.cpp.
References err, FALSE, found, ClassDef::getTemplateInstances(), hasNonReferenceSuperClassRec(), Definition::isHidden(), Definition::isLinkableInProject(), Definition::isReference(), Definition::name(), qPrint(), ClassDef::subClasses(), and TRUE.
Referenced by ClassDefImpl::hasNonReferenceSuperClass(), and hasNonReferenceSuperClassRec().
|
static |
Definition at line 3685 of file classdef.cpp.
References MemberDef::isConstructor(), MemberDef::isDestructor(), and Definition::name().
Referenced by ClassDefImpl::mergeMembersFromBaseClasses().
Definition at line 108 of file classdef.cpp.
References ClassDef::className(), ClassDef::compoundType(), QCString::endsWith(), VhdlDocGen::getClassName(), Definition::getLanguage(), getLanguageSpecificSeparator(), Definition::isAnonymous(), QCString::left(), QCString::length(), ClassDef::Protocol, ClassDef::qualifiedNameWithTemplateParameters(), removeAnonymousScopes(), substitute(), and VHDL.
Referenced by ClassDefAliasImpl::displayName(), and ClassDefImpl::displayName().
|
static |
Definition at line 56 of file classdef.cpp.
References ArgumentList::at(), ClassDef::className(), Config_getBool, Definition::definitionType(), ArgumentList::empty(), QCString::find(), Definition::getLanguage(), getLanguageSpecificSeparator(), Definition::getOuterScope(), QCString::isEmpty(), isSpecialization(), Definition::localName(), Definition::qualifiedName(), ClassDef::qualifiedNameWithTemplateParameters(), tempArgListToString(), ClassDef::templateArguments(), toClassDef(), and Definition::TypeClass.
Referenced by ClassDefAliasImpl::qualifiedNameWithTemplateParameters(), and ClassDefImpl::qualifiedNameWithTemplateParameters().
Definition at line 5418 of file classdef.cpp.
References ClassDef::baseClasses(), ClassDef::categoryOf(), maxInheritanceDepth, minClassDistance(), Definition::name(), qPrint(), and warn_uncond.
Referenced by getDefsOld(), ClassDefImpl::getMemberByName(), and minClassDistance().
|
static |
Definition at line 1475 of file classdef.cpp.
References Definition::definitionType(), ArgumentList::empty(), QCString::endsWith(), QCString::find(), Definition::getOuterScope(), QCString::isEmpty(), isSpecialization(), QCString::left(), QCString::length(), Definition::localName(), DefinitionMixin< ClassDefMutable >::name(), Definition::qualifiedName(), searchTemplateSpecs(), tempArgListToString(), ClassDef::templateArguments(), toClassDef(), and Definition::TypeClass.
Referenced by searchTemplateSpecs(), and ClassDefImpl::writeTemplateSpec().
const ClassDef * toClassDef | ( | const Definition * | d | ) |
Definition at line 5337 of file classdef.cpp.
ClassDef * toClassDef | ( | Definition * | d | ) |
Definition at line 5312 of file classdef.cpp.
Referenced by DocSets::addIndexItem(), ClassDefImpl::addInnerCompound(), NamespaceDefImpl::addInnerCompound(), MemberDefImpl::addListReference(), definitionToName(), findMemberLink(), findModuleDef(), findUsingDeclImports(), SymbolResolver::Private::followPath(), generateClassMemberLink(), generateClassOrGlobalLink(), generateClassOrGlobalLink(), FTVHelp::Private::generateTree(), ClassDefAliasImpl::getCdAlias(), SymbolResolver::Private::getResolvedSymbol(), SymbolResolver::Private::getResolvedType(), SymbolResolver::Private::getResolvedTypeRec(), ClassDefImpl::getTemplateParameterLists(), SymbolResolver::Private::isAccessibleFrom(), SymbolResolver::Private::isAccessibleFromWithExpScope(), makeQualifiedNameWithTemplateParameters(), MemberDefImpl::moveTo(), scopeIsTemplate(), searchTemplateSpecs(), SearchIndex::setCurrentDoc(), ClassDefMutable::sortAllMembersList(), updateCallContextForSmartPointer(), writeDefArgumentList(), writeJavasScriptSearchDataPage(), MemberDefImpl::writeMemberDocSimple(), writeObjCMethodCall(), MemberList::writeSimpleDocumentation(), and VhdlDocGen::writeVHDLTypeDocumentation().
ClassDef * toClassDef | ( | DefinitionMutable * | md | ) |
Definition at line 5324 of file classdef.cpp.
References DefinitionMutable::toDefinition.
ClassDefMutable * toClassDefMutable | ( | Definition * | d | ) |
Definition at line 5349 of file classdef.cpp.
Referenced by addClassAndNestedClasses(), addClassToContext(), addClassToGroups(), ModuleDefImpl::addClassToModule(), ModuleManager::addClassToModule(), addListReferences(), addMembersToMemberGroup(), ClassDefImpl::addMembersToTemplateInstance(), addMemberToGroups(), ClassDefImpl::addTypeConstraint(), buildCompleteMemberLists(), computeMemberReferences(), computeTemplateClassRelations(), VhdlDocGen::computeVhdlComponentRelations(), ClassDefImpl::countInheritedDecMembers(), countMembers(), createTagLessInstance(), createTemplateInstanceMembers(), ClassDefImpl::deepCopy(), distributeClassGroupRelations(), distributeMemberGroupDocumentation(), findClassRelation(), findSectionsInDocumentation(), findTagLessClasses(), findTemplateInstanceRelation(), findUsedClassesForClass(), findUsingDeclarations(), findUsingDeclImports(), generateClassDocs(), generateClassOrGlobalLink(), generateNamespaceClassDocs(), MemberDefImpl::getClassDefMutable(), getClassMutable(), insertMemberAlias(), ClassDefImpl::insertTemplateInstance(), ClassDefImpl::insertUsedFile(), mergeCategories(), ClassDefImpl::mergeCategory(), ClassDefImpl::mergeMembers(), ClassDefImpl::mergeMembersFromBaseClasses(), SymbolResolver::resolveClassMutable(), resolveClassNestingRelations(), setAnonymousEnumType(), ClassDefImpl::setGroupDefForAllMembers(), ClassDefMutable::sortAllMembersList(), sortMemberLists(), ClassDefImpl::writeInheritedMemberDeclarations(), and writeTagFile().
|
static |
Definition at line 1414 of file classdef.cpp.
References OutputList::docify(), OutputList::endTypewriter(), Normal, Private, BaseClassDef::prot, Protected, Public, OutputList::startTypewriter(), BaseClassDef::virt, and Virtual.
Referenced by ClassDefImpl::writeInheritanceGraph().