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 |
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 1186 of file moduledef.cpp.
References p.
Referenced by instance(), and ~ModuleManager().
|
privatedefault |
References ModuleManager().
Definition at line 1256 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 1268 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 1511 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, qPrint(), 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 1221 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 1237 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 1565 of file moduledef.cpp.
References ModuleDefImpl::addListReferences(), p, and toModuleDefImpl().
Referenced by addListReferences().
void ModuleManager::addMembersToMemberGroup | ( | ) |
Definition at line 1573 of file moduledef.cpp.
References ModuleDefImpl::addMembersToMemberGroup(), p, and toModuleDefImpl().
Referenced by addMembersToMemberGroup().
Definition at line 1280 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 1292 of file moduledef.cpp.
References p, DefinitionMixin< Base >::setId(), DefinitionMixin< Base >::setReference(), and toModuleDefImpl().
void ModuleManager::clear | ( | ) |
Definition at line 1212 of file moduledef.cpp.
References p.
Referenced by cleanUpDoxygen().
void ModuleManager::collectExportedSymbols | ( | ) |
Definition at line 1446 of file moduledef.cpp.
References ModuleDefImpl::addContributingModule(), AUTO_TRACE, AUTO_TRACE_ADD, collectExportedSymbolsRecursively(), ModuleDef::Interface, p, and toModuleDefImpl().
|
private |
Definition at line 1438 of file moduledef.cpp.
References AUTO_TRACE, Definition::qualifiedName(), and toModuleDefImpl().
Referenced by collectExportedSymbols().
void ModuleManager::countMembers | ( | ) |
Definition at line 1477 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 1190 of file moduledef.cpp.
References AUTO_TRACE, ModuleDef::Implementation, ModuleDef::Interface, p, and QCString::str().
void ModuleManager::distributeMemberGroupDocumentation | ( | ) |
Definition at line 1581 of file moduledef.cpp.
References ModuleDefImpl::distributeMemberGroupDocumentation(), p, and toModuleDefImpl().
Referenced by distributeMemberGroupDocumentation().
void ModuleManager::findSectionsInDocumentation | ( | ) |
Definition at line 1589 of file moduledef.cpp.
References ModuleDefImpl::findSectionsInDocumentation(), p, and toModuleDefImpl().
Referenced by findSectionsInDocumentation().
Definition at line 1549 of file moduledef.cpp.
References p, and QCString::str().
Referenced by addDocs(), resolveImports(), ModuleDefImpl::writeExports(), writeExports(), and FileDefImpl::writeIncludeFiles().
|
static |
Definition at line 1180 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(), parseInput(), sortMemberLists(), LatexGenerator::startIndexSection(), RTFGenerator::startIndexSection(), ModuleDefImpl::writeExports(), writeExports(), FileDefImpl::writeIncludeFiles(), writeModuleIndex(), writeModuleList(), and writeTagFile().
const ModuleLinkedMap & ModuleManager::modules | ( | ) | const |
Definition at line 1506 of file moduledef.cpp.
References p.
int ModuleManager::numDocumentedModules | ( | ) | const |
Definition at line 1496 of file moduledef.cpp.
References p.
Referenced by Index::countDataStructures().
void ModuleManager::resolveImports | ( | ) |
Definition at line 1379 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 1346 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 1304 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 1597 of file moduledef.cpp.
References p, ModuleDefImpl::sortMemberLists(), and toModuleDefImpl().
Referenced by sortMemberLists().
void ModuleManager::writeDocumentation | ( | OutputList & | ol | ) |
Definition at line 1485 of file moduledef.cpp.
References p.
Referenced by generateOutput().
|
private |
Definition at line 146 of file moduledef.h.
Referenced by addClassToModule(), addConceptToModule(), addDocs(), addHeader(), addImport(), addListReferences(), addMembersToMemberGroup(), addMemberToModule(), addTagInfo(), clear(), collectExportedSymbols(), countMembers(), createModuleDef(), distributeMemberGroupDocumentation(), findSectionsInDocumentation(), getPrimaryInterface(), ModuleManager(), modules(), numDocumentedModules(), resolveImports(), resolvePartitions(), resolvePartitionsRecursively(), sortMemberLists(), and writeDocumentation().