Doxygen
|
#include "namespacedef.h"
#include "outputlist.h"
#include "util.h"
#include "language.h"
#include "classdef.h"
#include "classlist.h"
#include "memberlist.h"
#include "doxygen.h"
#include "message.h"
#include "docparser.h"
#include "searchindex.h"
#include "vhdldocgen.h"
#include "layout.h"
#include "membergroup.h"
#include "config.h"
#include "definitionimpl.h"
#include "membername.h"
#include "conceptdef.h"
Go to the source code of this file.
Classes | |
class | NamespaceDefImpl |
class | NamespaceDefAliasImpl |
std::unique_ptr< NamespaceDef > createNamespaceDef | ( | const QCString & | defFileName, |
int | defLine, | ||
int | defColumn, | ||
const QCString & | name, | ||
const QCString & | ref, | ||
const QCString & | refFile, | ||
const QCString & | type, | ||
bool | isPublished ) |
Factory method to create new NamespaceDef instance.
Definition at line 173 of file namespacedef.cpp.
Referenced by adjustConfiguration(), buildNamespaceList(), buildScopeFromQualifiedName(), findUsingDirectives(), and NamespaceDefMutable::setInline().
std::unique_ptr< NamespaceDef > createNamespaceDefAlias | ( | const Definition * | newScope, |
const NamespaceDef * | nd ) |
Factory method to create an alias of an existing namespace.
Used for inline namespaces.
Definition at line 261 of file namespacedef.cpp.
Referenced by buildNamespaceList(), and NamespaceDefMutable::setInline().
NamespaceDef * getResolvedNamespace | ( | const QCString & | name | ) |
Definition at line 1780 of file namespacedef.cpp.
References getResolvedNamespaceRec(), QCString::isEmpty(), and QCString::str().
Referenced by addMemberFunction(), buildFunctionList(), buildTypedefList(), extractNamespaceName(), findUsedNamespace(), findUsingDeclImports(), findUsingDirectives(), generateClassOrGlobalLink(), generateClassOrGlobalLink(), getResolvedNamespaceMutable(), CCodeParser::parseCode(), setCallContextForVar(), NamespaceDefMutable::setInline(), and writeAlphabeticalClassList().
|
static |
Definition at line 1731 of file namespacedef.cpp.
References NamespaceAliasInfo::alias, NamespaceAliasInfo::context, Doxygen::namespaceLinkedMap, and replaceNamespaceAliasesRec().
Referenced by getResolvedNamespace(), and replaceNamespaceAliasesRec().
|
static |
Definition at line 1504 of file namespacedef.cpp.
References err, found, NamespaceDef::getNamespaces(), hasNonReferenceNestedNamespaceRec(), Definition::isLinkableInProject(), Definition::name(), and qPrint().
Referenced by hasNonReferenceNestedNamespaceRec(), and NamespaceDefImpl::isVisibleInHierarchy().
|
static |
Definition at line 38 of file namespacedef.cpp.
References Definition::getLanguage(), getLanguageSpecificSeparator(), Definition::isAnonymous(), Definition::localName(), Definition::name(), removeAnonymousScopes(), and substitute().
Referenced by NamespaceDefAliasImpl::displayName(), and NamespaceDefImpl::displayName().
bool namespaceHasNestedClass | ( | const NamespaceDef * | nd, |
bool | filterClasses, | ||
ClassDef::CompoundType | ct ) |
Definition at line 1828 of file namespacedef.cpp.
References ClassDef::Exception, NamespaceDef::getClasses(), NamespaceDef::getExceptions(), NamespaceDef::getInterfaces(), NamespaceDef::getNamespaces(), NamespaceDef::getStructs(), ClassDef::Interface, namespaceHasNestedClass(), and ClassDef::Struct.
Referenced by namespaceHasNestedClass(), writeClassTreeInsideNamespaceElement(), and writeNamespaceTreeElement().
bool namespaceHasNestedConcept | ( | const NamespaceDef * | nd | ) |
Definition at line 1804 of file namespacedef.cpp.
References NamespaceDef::getConcepts(), NamespaceDef::getNamespaces(), and namespaceHasNestedConcept().
Referenced by namespaceHasNestedConcept(), writeConceptTreeInsideNamespaceElement(), and writeNamespaceTreeElement().
bool namespaceHasNestedNamespace | ( | const NamespaceDef * | nd | ) |
Definition at line 1792 of file namespacedef.cpp.
References NamespaceDef::getNamespaces().
Referenced by writeNamespaceTreeElement().
void replaceNamespaceAliases | ( | QCString & | name | ) |
Definition at line 1772 of file namespacedef.cpp.
References replaceNamespaceAliasesRec().
Referenced by findClassRelation(), findUsedClassesForClass(), getMemberFromSymbol(), SymbolResolver::Private::getResolvedSymbolRec(), SymbolResolver::Private::getResolvedTypeRec(), and NamespaceDefMutable::setInline().
|
static |
Definition at line 1685 of file namespacedef.cpp.
References end(), getResolvedNamespaceRec(), QCString::left(), QCString::mid(), Doxygen::namespaceAliasMap, replaceNamespaceAliasesRec(), and QCString::str().
Referenced by getResolvedNamespaceRec(), replaceNamespaceAliases(), and replaceNamespaceAliasesRec().
const NamespaceDef * toNamespaceDef | ( | const Definition * | d | ) |
Definition at line 1657 of file namespacedef.cpp.
NamespaceDef * toNamespaceDef | ( | Definition * | d | ) |
Definition at line 1631 of file namespacedef.cpp.
Referenced by DocSets::addIndexItem(), NamespaceDefImpl::addInnerCompound(), buildNamespaceList(), findGlobalMember(), findUsingDirectives(), SymbolResolver::Private::followPath(), generateClassMemberLink(), NamespaceDefAliasImpl::getNSAlias(), SymbolResolver::Private::isAccessibleFrom(), SymbolResolver::Private::isAccessibleFromWithExpScope(), MemberDefImpl::moveTo(), resolveClassNestingRelations(), NamespaceDefMutable::setInline(), and writeJavasScriptSearchDataPage().
NamespaceDef * toNamespaceDef | ( | DefinitionMutable * | md | ) |
Definition at line 1643 of file namespacedef.cpp.
References toDefinition().
NamespaceDefMutable * toNamespaceDefMutable | ( | Definition * | d | ) |
Definition at line 1669 of file namespacedef.cpp.
Referenced by addEnumValuesToEnums(), addListReferences(), addMembersToMemberGroup(), addNamespaceToGroups(), adjustConfiguration(), buildNamespaceList(), buildScopeFromQualifiedName(), combineUsingRelations(), FileDefImpl::combineUsingRelations(), NamespaceDefImpl::combineUsingRelations(), computeMemberReferences(), countMembers(), distributeMemberGroupDocumentation(), findEnums(), findScopeFromQualifiedName(), findSectionsInDocumentation(), findUsingDeclImports(), findUsingDirectives(), generateNamespaceDocs(), getResolvedNamespaceMutable(), NamespaceDefImpl::insertMember(), insertMemberAlias(), NamespaceDefMutable::setInline(), sortMemberLists(), and writeTagFile().