|
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 |
Functions | |
| static DString | makeDisplayName (const NamespaceDef *nd, bool includeScope) |
| std::unique_ptr< NamespaceDef > | createNamespaceDef (const DString &defFileName, int defLine, size_t defColumn, const DString &name, const DString &ref, const DString &refFile, const DString &type, bool isPublished) |
| Factory method to create new NamespaceDef instance. | |
| std::unique_ptr< NamespaceDef > | createNamespaceDefAlias (const Definition *newScope, const NamespaceDef *nd) |
| Factory method to create an alias of an existing namespace. | |
| template<class Container> | |
| bool | needsSorting (const Container &container) |
| static bool | hasNonReferenceNestedNamespaceRec (const NamespaceDef *nd, int level) |
| NamespaceDef * | toNamespaceDef (Definition *d) |
| NamespaceDef * | toNamespaceDef (DefinitionMutable *md) |
| const NamespaceDef * | toNamespaceDef (const Definition *d) |
| NamespaceDefMutable * | toNamespaceDefMutable (Definition *d) |
| static NamespaceDef * | getResolvedNamespaceRec (StringSet &namespacesTried, const NamespaceAliasInfo &aliasInfo) |
| static DString | replaceNamespaceAliasesRec (StringSet &namespacesTried, const DString &name) |
| void | replaceNamespaceAliases (DString &name) |
| NamespaceDef * | getResolvedNamespace (const DString &name) |
| bool | namespaceHasNestedNamespace (const NamespaceDef *nd) |
| bool | namespaceHasNestedConcept (const NamespaceDef *nd) |
| bool | namespaceHasNestedClass (const NamespaceDef *nd, bool filterClasses, ClassDef::CompoundType ct) |
| std::unique_ptr< NamespaceDef > createNamespaceDef | ( | const DString & | defFileName, |
| int | defLine, | ||
| size_t | defColumn, | ||
| const DString & | name, | ||
| const DString & | ref, | ||
| const DString & | refFile, | ||
| const DString & | type, | ||
| bool | isPublished ) |
Factory method to create new NamespaceDef instance.
Definition at line 173 of file namespacedef.cpp.
References createNamespaceDef().
Referenced by adjustConfiguration(), buildNamespaceList(), buildScopeFromQualifiedName(), createNamespaceDef(), 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.
References createNamespaceDefAlias().
Referenced by buildNamespaceList(), createNamespaceDefAlias(), and NamespaceDefMutable::setInline().
| NamespaceDef * getResolvedNamespace | ( | const DString & | name | ) |
Definition at line 1841 of file namespacedef.cpp.
References DString::empty(), getResolvedNamespace(), getResolvedNamespaceRec(), NamespaceAliasInfo::NamespaceAliasInfo(), and DString::str().
Referenced by addMemberFunction(), buildFunctionList(), buildTypedefList(), extractNamespaceName(), findUsedNamespace(), findUsingDeclImports(), findUsingDirectives(), generateClassOrGlobalLink(), generateClassOrGlobalLink(), getResolvedNamespace(), getResolvedNamespaceMutable(), CCodeParser::parseCode(), setCallContextForVar(), NamespaceDefMutable::setInline(), and writeAlphabeticalClassList().
|
static |
Definition at line 1792 of file namespacedef.cpp.
References NamespaceAliasInfo::alias, NamespaceAliasInfo::context, LinkedMap< T, Hash, KeyEqual, Map >::find(), getResolvedNamespaceRec(), Doxygen::namespaceLinkedMap, and replaceNamespaceAliasesRec().
Referenced by getResolvedNamespace(), getResolvedNamespaceRec(), and replaceNamespaceAliasesRec().
|
static |
Definition at line 1553 of file namespacedef.cpp.
References err, NamespaceDef::getNamespaces(), hasNonReferenceNestedNamespaceRec(), Definition::isLinkableInProject(), and Definition::name().
Referenced by hasNonReferenceNestedNamespaceRec(), and NamespaceDefImpl::isVisibleInHierarchy().
|
static |
Definition at line 36 of file namespacedef.cpp.
References Definition::getLanguage(), getLanguageSpecificSeparator(), Definition::isAnonymous(), Definition::localName(), makeDisplayName(), Definition::name(), removeAnonymousScopes(), and substitute().
Referenced by NamespaceDefAliasImpl::displayName(), NamespaceDefImpl::displayName(), and makeDisplayName().
| bool namespaceHasNestedClass | ( | const NamespaceDef * | nd, |
| bool | filterClasses, | ||
| ClassDef::CompoundType | ct ) |
Definition at line 1889 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 1865 of file namespacedef.cpp.
References NamespaceDef::getConcepts(), NamespaceDef::getNamespaces(), and namespaceHasNestedConcept().
Referenced by namespaceHasNestedConcept(), and writeNamespaceTreeElement().
| bool namespaceHasNestedNamespace | ( | const NamespaceDef * | nd | ) |
Definition at line 1853 of file namespacedef.cpp.
References NamespaceDef::getNamespaces(), and namespaceHasNestedNamespace().
Referenced by namespaceHasNestedNamespace(), and writeNamespaceTreeElement().
| bool needsSorting | ( | const Container & | container | ) |
Definition at line 1477 of file namespacedef.cpp.
References Config_getBool, DString::empty(), and needsSorting().
Referenced by needsSorting(), and NamespaceDefImpl::sortMemberLists().
| void replaceNamespaceAliases | ( | DString & | name | ) |
Definition at line 1833 of file namespacedef.cpp.
References replaceNamespaceAliases(), and replaceNamespaceAliasesRec().
Referenced by findClassRelation(), findUsedClassesForClass(), getMemberFromSymbol(), SymbolResolver::Private::getResolvedSymbolRec(), SymbolResolver::Private::getResolvedTypeRec(), replaceNamespaceAliases(), and NamespaceDefMutable::setInline().
Definition at line 1746 of file namespacedef.cpp.
References end(), getResolvedNamespaceRec(), DString::left(), DString::mid(), Doxygen::namespaceAliasMap, replaceNamespaceAliasesRec(), and DString::str().
Referenced by getResolvedNamespaceRec(), replaceNamespaceAliases(), and replaceNamespaceAliasesRec().
| const NamespaceDef * toNamespaceDef | ( | const Definition * | d | ) |
Definition at line 1718 of file namespacedef.cpp.
References toNamespaceDef().
| NamespaceDef * toNamespaceDef | ( | Definition * | d | ) |
Definition at line 1692 of file namespacedef.cpp.
References toNamespaceDef().
Referenced by DocSets::addIndexItem(), NamespaceDefImpl::addInnerCompound(), buildNamespaceList(), findGlobalMember(), findTagLessClasses(), findUsingDirectives(), SymbolResolver::Private::followPath(), generateClassMemberLink(), getDefs(), NamespaceDefAliasImpl::getNSAlias(), SymbolResolver::Private::isAccessibleFrom(), SymbolResolver::Private::isAccessibleFromWithExpScope(), MemberDefImpl::moveTo(), resolveClassNestingRelations(), NamespaceDefMutable::setInline(), toNamespaceDef(), toNamespaceDef(), toNamespaceDef(), and writeJavasScriptSearchDataPage().
| NamespaceDef * toNamespaceDef | ( | DefinitionMutable * | md | ) |
Definition at line 1704 of file namespacedef.cpp.
References toDefinition(), and toNamespaceDef().
| NamespaceDefMutable * toNamespaceDefMutable | ( | Definition * | d | ) |
Definition at line 1730 of file namespacedef.cpp.
References toNamespaceDefMutable().
Referenced by addEnumValuesToEnums(), addMembersToMemberGroup(), addNamespaceToGroups(), adjustConfiguration(), applyToAllDefinitions(), buildNamespaceList(), buildScopeFromQualifiedName(), combineUsingRelations(), FileDefImpl::combineUsingRelations(), NamespaceDefImpl::combineUsingRelations(), computeMemberReferences(), countMembers(), distributeMemberGroupDocumentation(), findEnums(), findScopeFromQualifiedName(), findSectionsInDocumentation(), findUsingDeclImports(), findUsingDirectives(), generateNamespaceDocs(), getResolvedNamespaceMutable(), NamespaceDefImpl::insertMember(), insertMemberAlias(), NamespaceDefMutable::setInline(), sortMemberLists(), toNamespaceDefMutable(), and writeTagFile().