|
Doxygen
|
#include <memory>#include <unordered_set>#include "classdef.h"#include "definition.h"#include "linkedmap.h"Go to the source code of this file.
Classes | |
| class | NamespaceLinkedMap |
| class | NamespaceLinkedRefMap |
| class | NamespaceDef |
| An abstract interface of a namespace symbol. More... | |
| class | NamespaceDefMutable |
Typedefs | |
| using | NamespaceDefSet = std::unordered_set<const NamespaceDef*> |
| using NamespaceDefSet = std::unordered_set<const NamespaceDef*> |
Definition at line 39 of file namespacedef.h.
| std::unique_ptr< NamespaceDef > createNamespaceDef | ( | const DString & | defFileName, |
| int | defLine, | ||
| size_t | defColumn, | ||
| const DString & | name, | ||
| const DString & | ref = DString(), | ||
| const DString & | refFile = DString(), | ||
| const DString & | type = DString(), | ||
| bool | isPublished = false ) |
Factory method to create new NamespaceDef instance.
Definition at line 174 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 262 of file namespacedef.cpp.
Referenced by buildNamespaceList(), and NamespaceDefMutable::setInline().
| NamespaceDef * getResolvedNamespace | ( | const DString & | key | ) |
Definition at line 1842 of file namespacedef.cpp.
References DString::empty(), getResolvedNamespaceRec(), and DString::str().
Referenced by addMemberFunction(), buildFunctionList(), buildTypedefList(), extractNamespaceName(), findUsedNamespace(), findUsingDeclImports(), findUsingDirectives(), generateClassOrGlobalLink(), generateClassOrGlobalLink(), getResolvedNamespaceMutable(), CCodeParser::parseCode(), setCallContextForVar(), NamespaceDefMutable::setInline(), and writeAlphabeticalClassList().
|
inline |
Definition at line 151 of file namespacedef.h.
References getResolvedNamespace(), getResolvedNamespaceMutable(), and toNamespaceDefMutable().
Referenced by addEnumValuesToEnums(), addGlobalFunction(), addVariableToFile(), findEnums(), findUsingDeclarations(), findUsingDirectives(), and getResolvedNamespaceMutable().
| bool namespaceHasNestedClass | ( | const NamespaceDef * | nd, |
| bool | filterClasses, | ||
| ClassDef::CompoundType | ct ) |
Definition at line 1890 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 1866 of file namespacedef.cpp.
References NamespaceDef::getConcepts(), NamespaceDef::getNamespaces(), and namespaceHasNestedConcept().
Referenced by namespaceHasNestedConcept(), and writeNamespaceTreeElement().
| bool namespaceHasNestedNamespace | ( | const NamespaceDef * | nd | ) |
Definition at line 1854 of file namespacedef.cpp.
References NamespaceDef::getNamespaces().
Referenced by writeNamespaceTreeElement().
| void replaceNamespaceAliases | ( | DString & | name | ) |
Definition at line 1834 of file namespacedef.cpp.
References replaceNamespaceAliasesRec().
Referenced by findClassRelation(), findUsedClassesForClass(), getMemberFromSymbol(), SymbolResolver::Private::getResolvedSymbolRec(), SymbolResolver::Private::getResolvedTypeRec(), and NamespaceDefMutable::setInline().
| const NamespaceDef * toNamespaceDef | ( | const Definition * | d | ) |
Definition at line 1719 of file namespacedef.cpp.
| NamespaceDef * toNamespaceDef | ( | Definition * | d | ) |
Definition at line 1693 of file namespacedef.cpp.
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(), and writeJavasScriptSearchDataPage().
| NamespaceDef * toNamespaceDef | ( | DefinitionMutable * | d | ) |
Definition at line 1705 of file namespacedef.cpp.
References toDefinition().
| NamespaceDefMutable * toNamespaceDefMutable | ( | Definition * | d | ) |
Definition at line 1731 of file namespacedef.cpp.
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(), and writeTagFile().