Doxygen
|
#include <src/moduledef.h>
Classes | |
struct | Private |
Public Member Functions | |
void | createModuleDef (const QCString &fileName, int line, int column, bool exported, const QCString &moduleName, const QCString &partitionName=QCString()) |
void | clear () |
void | addHeader (const QCString &moduleFile, int line, const QCString &headerName, bool isSystem) |
void | addImport (const QCString &moduleFile, int line, const QCString &importName, bool isExported, const QCString &partitionName=QCString()) |
void | addClassToModule (const Entry *root, ClassDef *cd) |
void | addConceptToModule (const Entry *root, ConceptDef *cd) |
void | addMemberToModule (const Entry *root, MemberDef *md) |
void | addDocs (const Entry *root) |
void | addTagInfo (const QCString &moduleFile, const QCString &tagName, const QCString &clangId) |
void | addListReferences () |
void | addMembersToMemberGroup () |
void | distributeMemberGroupDocumentation () |
void | findSectionsInDocumentation () |
void | sortMemberLists () |
void | resolvePartitions () |
void | resolveImports () |
void | collectExportedSymbols () |
void | countMembers () |
void | writeDocumentation (OutputList &ol) |
int | numDocumentedModules () const |
ModuleLinkedMap & | modules () |
const ModuleLinkedMap & | modules () const |
ModuleDef * | getPrimaryInterface (const QCString &moduleName) const |
Static Public Member Functions | |
static ModuleManager & | instance () |
Private Member Functions | |
ModuleManager () | |
~ModuleManager ()=default | |
void | resolvePartitionsRecursively (ModuleDef *intfMod, ModuleDef *mod) |
void | collectExportedSymbolsRecursively (ModuleDef *intfMod, ModuleDef *mod) |
Private Attributes | |
std::unique_ptr< Private > | p |
Definition at line 110 of file moduledef.h.
|
private |
Definition at line 1190 of file moduledef.cpp.
References p.
Referenced by instance(), and ~ModuleManager().
|
privatedefault |
References ModuleManager().
Definition at line 1260 of file moduledef.cpp.
References ModuleDefImpl::addClassToModule(), Entry::fileName, p, toClassDefMutable(), and toModuleDefImpl().
Referenced by addClassToContext().
void ModuleManager::addConceptToModule | ( | const Entry * | root, |
ConceptDef * | cd ) |
Definition at line 1272 of file moduledef.cpp.
References ModuleDefImpl::addConceptToModule(), Entry::fileName, p, toConceptDefMutable(), and toModuleDefImpl().
Referenced by addConceptToContext().
void ModuleManager::addDocs | ( | const Entry * | root | ) |
Definition at line 1520 of file moduledef.cpp.
References addModuleToGroups(), AUTO_TRACE, Entry::bodyLine, Entry::brief, Entry::briefFile, Entry::briefLine, Entry::doc, Entry::docFile, Entry::docLine, Entry::endBodyLine, Entry::fileName, QCString::find(), getPrimaryInterface(), Entry::hidden, Entry::id, QCString::isEmpty(), Entry::name, p, DefinitionMutable::setBodySegment(), DefinitionMutable::setBriefDescription(), DefinitionMutable::setDocumentation(), DefinitionMutable::setHidden(), DefinitionMutable::setId(), DefinitionMutable::setRefItems(), Entry::sli, Entry::startLine, QCString::str(), and warn.
Referenced by findModuleDocumentation().
void ModuleManager::addHeader | ( | const QCString & | moduleFile, |
int | line, | ||
const QCString & | headerName, | ||
bool | isSystem ) |
Definition at line 1225 of file moduledef.cpp.
References ModuleDefImpl::addHeader(), AUTO_TRACE, AUTO_TRACE_ADD, p, and toModuleDefImpl().
void ModuleManager::addImport | ( | const QCString & | moduleFile, |
int | line, | ||
const QCString & | importName, | ||
bool | isExported, | ||
const QCString & | partitionName = QCString() ) |
Definition at line 1241 of file moduledef.cpp.
References ModuleDefImpl::addImport(), AUTO_TRACE, AUTO_TRACE_ADD, QCString::isEmpty(), p, QCString::str(), and toModuleDefImpl().
void ModuleManager::addListReferences | ( | ) |
Definition at line 1574 of file moduledef.cpp.
References ModuleDefImpl::addListReferences(), p, and toModuleDefImpl().
Referenced by addListReferences().
void ModuleManager::addMembersToMemberGroup | ( | ) |
Definition at line 1582 of file moduledef.cpp.
References ModuleDefImpl::addMembersToMemberGroup(), p, and toModuleDefImpl().
Referenced by addMembersToMemberGroup().
Definition at line 1284 of file moduledef.cpp.
References ModuleDefImpl::addMemberToModule(), Entry::exported, Entry::fileName, p, toMemberDefMutable(), and toModuleDefImpl().
Referenced by addDefineDoc(), addEnumDocs(), addGlobalFunction(), addInterfaceOrServiceToServiceOrSingleton(), addMemberDocs(), addMethodToClass(), addVariableToClass(), addVariableToFile(), buildFunctionList(), findEnums(), and findMember().
void ModuleManager::addTagInfo | ( | const QCString & | moduleFile, |
const QCString & | tagName, | ||
const QCString & | clangId ) |
Definition at line 1296 of file moduledef.cpp.
References p, DefinitionMixin< Base >::setId(), DefinitionMixin< Base >::setReference(), and toModuleDefImpl().
void ModuleManager::clear | ( | ) |
Definition at line 1216 of file moduledef.cpp.
References p.
Referenced by cleanUpDoxygen().
void ModuleManager::collectExportedSymbols | ( | ) |
Definition at line 1450 of file moduledef.cpp.
References ModuleDefImpl::addContributingModule(), AUTO_TRACE, AUTO_TRACE_ADD, collectExportedSymbolsRecursively(), ModuleDef::Interface, p, and toModuleDefImpl().
|
private |
Definition at line 1442 of file moduledef.cpp.
References AUTO_TRACE, Definition::qualifiedName(), and toModuleDefImpl().
Referenced by collectExportedSymbols().
void ModuleManager::countMembers | ( | ) |
Definition at line 1481 of file moduledef.cpp.
References ModuleDefImpl::countMembers(), p, and toModuleDefImpl().
void ModuleManager::createModuleDef | ( | const QCString & | fileName, |
int | line, | ||
int | column, | ||
bool | exported, | ||
const QCString & | moduleName, | ||
const QCString & | partitionName = QCString() ) |
Definition at line 1194 of file moduledef.cpp.
References AUTO_TRACE, ModuleDef::Implementation, ModuleDef::Interface, p, and QCString::str().
void ModuleManager::distributeMemberGroupDocumentation | ( | ) |
Definition at line 1590 of file moduledef.cpp.
References ModuleDefImpl::distributeMemberGroupDocumentation(), p, and toModuleDefImpl().
Referenced by distributeMemberGroupDocumentation().
void ModuleManager::findSectionsInDocumentation | ( | ) |
Definition at line 1598 of file moduledef.cpp.
References ModuleDefImpl::findSectionsInDocumentation(), p, and toModuleDefImpl().
Referenced by findSectionsInDocumentation().
Definition at line 1558 of file moduledef.cpp.
References p, and QCString::str().
Referenced by addDocs(), resolveImports(), ModuleDefImpl::writeExports(), writeExports(), and FileDefImpl::writeIncludeFiles().
|
static |
Definition at line 1184 of file moduledef.cpp.
References ModuleManager().
Referenced by addClassToContext(), addConceptToContext(), addDefineDoc(), addEnumDocs(), addGlobalFunction(), addInterfaceOrServiceToServiceOrSingleton(), addListReferences(), addMemberDocs(), addMembersToMemberGroup(), addMethodToClass(), addVariableToClass(), addVariableToFile(), buildFunctionList(), anonymous_namespace{tagreader.cpp}::TagFileParser::buildLists(), cleanUpDoxygen(), Index::countDataStructures(), countMembers(), createJavaScriptSearchIndex(), distributeMemberGroupDocumentation(), DocbookGenerator::endIndexSection(), LatexGenerator::endIndexSection(), RTFGenerator::endIndexSection(), findEnums(), findMember(), findModuleDocumentation(), findSectionsInDocumentation(), generateOutput(), PerlModGenerator::generatePerlModOutput(), generateSqlite3(), generateXML(), getScopeDefs(), parseInput(), resolveLink(), resolveRef(), sortMemberLists(), LatexGenerator::startIndexSection(), RTFGenerator::startIndexSection(), ModuleDefImpl::writeExports(), writeExports(), FileDefImpl::writeIncludeFiles(), writeModuleIndex(), writeModuleList(), and writeTagFile().
ModuleLinkedMap & ModuleManager::modules | ( | ) |
Definition at line 1515 of file moduledef.cpp.
References p.
const ModuleLinkedMap & ModuleManager::modules | ( | ) | const |
Definition at line 1510 of file moduledef.cpp.
References p.
int ModuleManager::numDocumentedModules | ( | ) | const |
Definition at line 1500 of file moduledef.cpp.
References p.
Referenced by Index::countDataStructures().
void ModuleManager::resolveImports | ( | ) |
Definition at line 1383 of file moduledef.cpp.
References FileDef::absFilePath(), FileDef::addIncludedByDependency(), FileDef::addIncludeDependency(), AUTO_TRACE, AUTO_TRACE_ADD, determineAbsoluteIncludeName(), FileDef::fileName(), findFileDef(), ModuleDef::getFileDef(), getPrimaryInterface(), ImportLocal, ImportModule, ImportSystem, Doxygen::inputNameLinkedMap, p, Definition::qualifiedName(), and stripFromPath().
void ModuleManager::resolvePartitions | ( | ) |
Definition at line 1350 of file moduledef.cpp.
References ModuleDefImpl::addExportedModule(), AUTO_TRACE, findFileDef(), Doxygen::inputNameLinkedMap, ModuleDef::Interface, p, resolvePartitionsRecursively(), ModuleDefImpl::setFileDef(), FileDef::setModuleDef(), and toModuleDefImpl().
Definition at line 1308 of file moduledef.cpp.
References ModuleDefImpl::addExportedModule(), ModuleDefImpl::addPartition(), AUTO_TRACE, AUTO_TRACE_ADD, ModuleDef::getImports(), QCString::isEmpty(), Definition::name(), p, resolvePartitionsRecursively(), ModuleDefImpl::setPrimaryInterface(), and toModuleDefImpl().
Referenced by resolvePartitions(), and resolvePartitionsRecursively().
void ModuleManager::sortMemberLists | ( | ) |
Definition at line 1606 of file moduledef.cpp.
References p, ModuleDefImpl::sortMemberLists(), and toModuleDefImpl().
Referenced by sortMemberLists().
void ModuleManager::writeDocumentation | ( | OutputList & | ol | ) |
Definition at line 1489 of file moduledef.cpp.
References p.
Referenced by generateOutput().
|
private |
Definition at line 147 of file moduledef.h.
Referenced by addClassToModule(), addConceptToModule(), addDocs(), addHeader(), addImport(), addListReferences(), addMembersToMemberGroup(), addMemberToModule(), addTagInfo(), clear(), collectExportedSymbols(), countMembers(), createModuleDef(), distributeMemberGroupDocumentation(), findSectionsInDocumentation(), getPrimaryInterface(), ModuleManager(), modules(), modules(), numDocumentedModules(), resolveImports(), resolvePartitions(), resolvePartitionsRecursively(), sortMemberLists(), and writeDocumentation().