The namespacedef.cpp
File Reference
Included Headers
Classes Index
class | NamespaceDefImpl |
class | NamespaceDefAliasImpl |
Functions Index
static QCString | makeDisplayName (const NamespaceDef *nd, bool includeScope) |
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. More... | |
std::unique_ptr< NamespaceDef > | createNamespaceDefAlias (const Definition *newScope, const NamespaceDef *nd) |
Factory method to create an alias of an existing namespace. More... | |
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 QCString | replaceNamespaceAliasesRec (StringSet &namespacesTried, const QCString &name) |
void | replaceNamespaceAliases (QCString &name) |
NamespaceDef * | getResolvedNamespace (const QCString &name) |
bool | namespaceHasNestedNamespace (const NamespaceDef *nd) |
bool | namespaceHasNestedConcept (const NamespaceDef *nd) |
bool | namespaceHasNestedClass (const NamespaceDef *nd, bool filterClasses, ClassDef::CompoundType ct) |
Functions
createNamespaceDef()
|
Factory method to create new NamespaceDef instance.
Definition at line 174 of file namespacedef.cpp.
Referenced by adjustConfiguration, buildNamespaceList, buildScopeFromQualifiedName, findUsingDirectives and NamespaceDefMutable::setInline.
createNamespaceDefAlias()
|
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.
getResolvedNamespace()
|
Definition at line 1789 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.
getResolvedNamespaceRec()
| static |
Definition at line 1740 of file namespacedef.cpp.
References NamespaceAliasInfo::alias, NamespaceAliasInfo::context, Doxygen::namespaceLinkedMap and replaceNamespaceAliasesRec.
Referenced by getResolvedNamespace and replaceNamespaceAliasesRec.
hasNonReferenceNestedNamespaceRec()
| static |
Definition at line 1501 of file namespacedef.cpp.
References err, NamespaceDef::getNamespaces, hasNonReferenceNestedNamespaceRec, Definition::isLinkableInProject and Definition::name.
Referenced by hasNonReferenceNestedNamespaceRec and NamespaceDefImpl::isVisibleInHierarchy.
makeDisplayName()
| 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.
namespaceHasNestedClass()
|
Definition at line 1837 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.
namespaceHasNestedConcept()
|
Definition at line 1813 of file namespacedef.cpp.
References NamespaceDef::getConcepts, NamespaceDef::getNamespaces and namespaceHasNestedConcept.
Referenced by namespaceHasNestedConcept, writeConceptTreeInsideNamespaceElement and writeNamespaceTreeElement.
namespaceHasNestedNamespace()
|
Definition at line 1801 of file namespacedef.cpp.
Reference NamespaceDef::getNamespaces.
Referenced by writeNamespaceTreeElement.
replaceNamespaceAliases()
|
Definition at line 1781 of file namespacedef.cpp.
Reference replaceNamespaceAliasesRec.
Referenced by findClassRelation, findUsedClassesForClass, getMemberFromSymbol, SymbolResolver::Private::getResolvedSymbolRec, SymbolResolver::Private::getResolvedTypeRec and NamespaceDefMutable::setInline.
replaceNamespaceAliasesRec()
Definition at line 1694 of file namespacedef.cpp.
References end, getResolvedNamespaceRec, QCString::left, QCString::mid, Doxygen::namespaceAliasMap, replaceNamespaceAliasesRec and QCString::str.
Referenced by getResolvedNamespaceRec, replaceNamespaceAliases and replaceNamespaceAliasesRec.
toNamespaceDef()
|
Definition at line 1640 of file namespacedef.cpp.
Referenced by DocSets::addIndexItem, NamespaceDefImpl::addInnerCompound, buildNamespaceList, findGlobalMember, findUsingDirectives, SymbolResolver::Private::followPath, generateClassMemberLink, getDefsNew, NamespaceDefAliasImpl::getNSAlias, SymbolResolver::Private::isAccessibleFrom, SymbolResolver::Private::isAccessibleFromWithExpScope, MemberDefImpl::moveTo, resolveClassNestingRelations, NamespaceDefMutable::setInline and writeJavasScriptSearchDataPage.
toNamespaceDef()
|
Definition at line 1652 of file namespacedef.cpp.
Reference toDefinition.
toNamespaceDef()
|
Definition at line 1666 of file namespacedef.cpp.
toNamespaceDefMutable()
|
Definition at line 1678 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.
Generated via doxygen2docusaurus by Doxygen 1.14.0.