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 109 of file moduledef.h.
|
private |
Definition at line 1183 of file moduledef.cpp.
References p.
Referenced by instance(), and ~ModuleManager().
|
privatedefault |
References ModuleManager().
Definition at line 1253 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 1265 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 1483 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 1218 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 1234 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 1537 of file moduledef.cpp.
References ModuleDefImpl::addListReferences(), p, and toModuleDefImpl().
Referenced by addListReferences().
void ModuleManager::addMembersToMemberGroup | ( | ) |
Definition at line 1545 of file moduledef.cpp.
References ModuleDefImpl::addMembersToMemberGroup(), p, and toModuleDefImpl().
Referenced by addMembersToMemberGroup().
Definition at line 1277 of file moduledef.cpp.
References ModuleDefImpl::addMemberToModule(), Entry::exported, Entry::fileName, p, toMemberDefMutable(), and toModuleDefImpl().
Referenced by addDefineDoc(), addEnumDocs(), addMemberDocs(), addVariableToClass(), addVariableToFile(), findEnums(), and findMember().
void ModuleManager::addTagInfo | ( | const QCString & | moduleFile, |
const QCString & | tagName, | ||
const QCString & | clangId ) |
Definition at line 1289 of file moduledef.cpp.
References p, DefinitionMixin< Base >::setId(), DefinitionMixin< Base >::setReference(), and toModuleDefImpl().
void ModuleManager::clear | ( | ) |
Definition at line 1209 of file moduledef.cpp.
References p.
Referenced by cleanUpDoxygen().
void ModuleManager::collectExportedSymbols | ( | ) |
Definition at line 1418 of file moduledef.cpp.
References ModuleDefImpl::addContributingModule(), AUTO_TRACE, AUTO_TRACE_ADD, collectExportedSymbolsRecursively(), ModuleDef::Interface, p, and toModuleDefImpl().
|
private |
Definition at line 1410 of file moduledef.cpp.
References AUTO_TRACE, Definition::qualifiedName(), and toModuleDefImpl().
Referenced by collectExportedSymbols().
void ModuleManager::countMembers | ( | ) |
Definition at line 1449 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 1187 of file moduledef.cpp.
References AUTO_TRACE, ModuleDef::Implementation, ModuleDef::Interface, p, and QCString::str().
void ModuleManager::distributeMemberGroupDocumentation | ( | ) |
Definition at line 1553 of file moduledef.cpp.
References ModuleDefImpl::distributeMemberGroupDocumentation(), p, and toModuleDefImpl().
Referenced by distributeMemberGroupDocumentation().
void ModuleManager::findSectionsInDocumentation | ( | ) |
Definition at line 1561 of file moduledef.cpp.
References ModuleDefImpl::findSectionsInDocumentation(), p, and toModuleDefImpl().
Referenced by findSectionsInDocumentation().
Definition at line 1521 of file moduledef.cpp.
References p, and QCString::str().
Referenced by addDocs(), resolveImports(), ModuleDefImpl::writeExports(), writeExports(), and FileDefImpl::writeIncludeFiles().
|
static |
Definition at line 1177 of file moduledef.cpp.
References ModuleManager().
Referenced by addClassToContext(), addConceptToContext(), addDefineDoc(), addEnumDocs(), addListReferences(), addMemberDocs(), addMembersToMemberGroup(), addVariableToClass(), addVariableToFile(), 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 1478 of file moduledef.cpp.
References p.
int ModuleManager::numDocumentedModules | ( | ) | const |
Definition at line 1468 of file moduledef.cpp.
References p.
Referenced by Index::countDataStructures().
void ModuleManager::resolveImports | ( | ) |
Definition at line 1367 of file moduledef.cpp.
References FileDef::absFilePath(), FileDef::addIncludeDependency(), AUTO_TRACE, AUTO_TRACE_ADD, determineAbsoluteIncludeName(), findFileDef(), ModuleDef::getFileDef(), getPrimaryInterface(), ImportLocal, ImportModule, ImportSystem, Doxygen::inputNameLinkedMap, p, and Definition::qualifiedName().
void ModuleManager::resolvePartitions | ( | ) |
Definition at line 1337 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 1301 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 1569 of file moduledef.cpp.
References p, ModuleDefImpl::sortMemberLists(), and toModuleDefImpl().
Referenced by sortMemberLists().
void ModuleManager::writeDocumentation | ( | OutputList & | ol | ) |
Definition at line 1457 of file moduledef.cpp.
References p.
Referenced by generateOutput().
|
private |
Definition at line 145 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().