The namespacedef.h
File Reference
Included Headers
Classes Index
class | NamespaceLinkedMap |
class | NamespaceLinkedRefMap |
class | NamespaceDef |
An abstract interface of a namespace symbol. More... | |
class | NamespaceDefMutable |
Typedefs Index
using | NamespaceDefSet = std::unordered_set< const NamespaceDef * > |
Functions Index
std::unique_ptr< NamespaceDef > | createNamespaceDef (const QCString &defFileName, int defLine, int defColumn, const QCString &name, const QCString &ref=QCString(), const QCString &refFile=QCString(), const QCString &type=QCString(), bool isPublished=false) |
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... | |
NamespaceDef * | toNamespaceDef (Definition *d) |
NamespaceDef * | toNamespaceDef (DefinitionMutable *d) |
const NamespaceDef * | toNamespaceDef (const Definition *d) |
NamespaceDefMutable * | toNamespaceDefMutable (Definition *d) |
void | replaceNamespaceAliases (QCString &name) |
NamespaceDef * | getResolvedNamespace (const QCString &key) |
NamespaceDefMutable * | getResolvedNamespaceMutable (const QCString &key) |
bool | namespaceHasNestedNamespace (const NamespaceDef *nd) |
bool | namespaceHasNestedConcept (const NamespaceDef *nd) |
bool | namespaceHasNestedClass (const NamespaceDef *nd, bool filterClasses, ClassDef::CompoundType ct) |
Typedefs
NamespaceDefSet
|
Definition at line 39 of file namespacedef.h.
Functions
createNamespaceDef()
|
Factory method to create new NamespaceDef instance.
Declaration at line 130 of file namespacedef.h, 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.
Declaration at line 136 of file namespacedef.h, definition at line 262 of file namespacedef.cpp.
Referenced by buildNamespaceList and NamespaceDefMutable::setInline.
getResolvedNamespace()
|
Declaration at line 149 of file namespacedef.h, 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.
getResolvedNamespaceMutable()
| inline |
Definition at line 150 of file namespacedef.h.
References getResolvedNamespace, getResolvedNamespaceMutable and toNamespaceDefMutable.
Referenced by addEnumValuesToEnums, addGlobalFunction, addVariableToFile, findEnums, findUsingDeclarations, findUsingDirectives and getResolvedNamespaceMutable.
namespaceHasNestedClass()
|
Declaration at line 156 of file namespacedef.h, 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()
|
Declaration at line 155 of file namespacedef.h, definition at line 1813 of file namespacedef.cpp.
References NamespaceDef::getConcepts, NamespaceDef::getNamespaces and namespaceHasNestedConcept.
Referenced by namespaceHasNestedConcept, writeConceptTreeInsideNamespaceElement and writeNamespaceTreeElement.
namespaceHasNestedNamespace()
|
Declaration at line 154 of file namespacedef.h, definition at line 1801 of file namespacedef.cpp.
Reference NamespaceDef::getNamespaces.
Referenced by writeNamespaceTreeElement.
replaceNamespaceAliases()
|
Declaration at line 148 of file namespacedef.h, definition at line 1781 of file namespacedef.cpp.
Reference replaceNamespaceAliasesRec.
Referenced by findClassRelation, findUsedClassesForClass, getMemberFromSymbol, SymbolResolver::Private::getResolvedSymbolRec, SymbolResolver::Private::getResolvedTypeRec and NamespaceDefMutable::setInline.
toNamespaceDef()
|
Declaration at line 141 of file namespacedef.h, 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()
|
Declaration at line 142 of file namespacedef.h, definition at line 1652 of file namespacedef.cpp.
Reference toDefinition.
toNamespaceDef()
|
Declaration at line 143 of file namespacedef.h, definition at line 1666 of file namespacedef.cpp.
toNamespaceDefMutable()
|
Declaration at line 144 of file namespacedef.h, 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.