182 AUTO_TRACE(
"name={}:line={},header={},isSystem={}",
name(),line,headerName,isSystem);
200 AUTO_TRACE(
"{}:{} class {} of module {} exported={}",
210 cdm->setExported(
true);
217 AUTO_TRACE(
"{}:{} concept {} of module {} exported={}",
229 cdm->setExported(
true);
237 if (ml->listType()==lt)
251 (ml->listType().isDeclaration() && sortBriefDocs) ||
252 (ml->listType().isDocumentation() && sortMemberDocs));
254 if (ml->listType().isDeclaration())
266 AUTO_TRACE(
"{}:{} member {} of module {} exported={}",
271 if (allMemberList==
nullptr)
301 mdm->setExported(
true);
307 AUTO_TRACE(
"{} merging symbols of {} ({}:{})",
323 for (
const auto &md : *srcMl)
325 dstMl->push_back(md);
329 mergeMemberList(MemberListType::DecVarMembers());
330 mergeMemberList(MemberListType::DecFuncMembers());
331 mergeMemberList(MemberListType::DecTypedefMembers());
332 mergeMemberList(MemberListType::DecEnumMembers());
377 case LayoutDocEntry::BriefDesc:
380 case LayoutDocEntry::MemberDeclStart:
383 case LayoutDocEntry::ModuleClasses:
386 case LayoutDocEntry::ModuleConcepts:
389 case LayoutDocEntry::ModuleExports:
392 case LayoutDocEntry::ModuleUsedFiles:
395 case LayoutDocEntry::MemberGroups:
398 case LayoutDocEntry::MemberDecl:
404 case LayoutDocEntry::MemberDeclEnd:
407 case LayoutDocEntry::DetailedDesc:
410 case LayoutDocEntry::MemberDefStart:
413 case LayoutDocEntry::MemberDef:
419 case LayoutDocEntry::MemberDefEnd:
422 case LayoutDocEntry::AuthorSection:
425 case LayoutDocEntry::ClassIncludes:
426 case LayoutDocEntry::ClassInheritanceGraph:
427 case LayoutDocEntry::ClassNestedClasses:
428 case LayoutDocEntry::ClassCollaborationGraph:
429 case LayoutDocEntry::ClassAllMembersLink:
430 case LayoutDocEntry::ClassUsedFiles:
431 case LayoutDocEntry::ClassInlineClasses:
432 case LayoutDocEntry::FileClasses:
433 case LayoutDocEntry::FileConcepts:
434 case LayoutDocEntry::FileInterfaces:
435 case LayoutDocEntry::FileStructs:
436 case LayoutDocEntry::FileExceptions:
437 case LayoutDocEntry::FileNamespaces:
438 case LayoutDocEntry::FileConstantGroups:
439 case LayoutDocEntry::FileIncludes:
440 case LayoutDocEntry::FileIncludeGraph:
441 case LayoutDocEntry::FileIncludedByGraph:
442 case LayoutDocEntry::FileInlineClasses:
443 case LayoutDocEntry::FileSourceLink:
444 case LayoutDocEntry::NamespaceNestedNamespaces:
445 case LayoutDocEntry::NamespaceNestedConstantGroups:
446 case LayoutDocEntry::NamespaceClasses:
447 case LayoutDocEntry::NamespaceConcepts:
448 case LayoutDocEntry::NamespaceInterfaces:
449 case LayoutDocEntry::NamespaceStructs:
450 case LayoutDocEntry::NamespaceExceptions:
451 case LayoutDocEntry::NamespaceInlineClasses:
452 case LayoutDocEntry::ConceptDefinition:
453 case LayoutDocEntry::GroupClasses:
454 case LayoutDocEntry::GroupConcepts:
455 case LayoutDocEntry::GroupModules:
456 case LayoutDocEntry::GroupInlineClasses:
457 case LayoutDocEntry::GroupNamespaces:
458 case LayoutDocEntry::GroupDirs:
459 case LayoutDocEntry::GroupNestedGroups:
460 case LayoutDocEntry::GroupFiles:
461 case LayoutDocEntry::GroupGraph:
462 case LayoutDocEntry::GroupPageDocs:
463 case LayoutDocEntry::DirSubDirs:
464 case LayoutDocEntry::DirFiles:
465 case LayoutDocEntry::DirGraph:
466 err(
"Internal inconsistency: member '%s' should not be part of "
467 "LayoutDocManager::Module entry list\n",
qPrint(lde->entryToString()));
575 ol.
writeDoc(ast.get(),
this,
nullptr);
599 mg->writeDeclarations(ol,
nullptr,
nullptr,
nullptr,
nullptr,
this);
637 ml->countDecMembers();
638 ml->countDocMembers();
642 mg->countDecMembers();
643 mg->countDocMembers();
661 mg->addListReferences(
this);
665 if (ml->listType().isDocumentation())
667 ml->addListReferences(
this);
676 if (ml->listType().isDeclaration())
688 mg->addToDeclarationSection();
697 mg->distributeMemberGroupDocumentation();
708 mg->findSectionsInDocumentation(
this);
712 if (ml->listType().isDeclaration())
714 ml->findSectionsInDocumentation(
this);
723 if (ml->needsSorting()) { ml->sort(); ml->setNeedsSorting(
FALSE); }
748 FileDef *f2 = m2->getFileDef();
751 static auto typeRank = [](
const ModuleDef *m) ->
int
755 if (m->partitionName().isEmpty())
return 0;
760 if (!m->partitionName().isEmpty())
return 2;
764 auto tr1 = typeRank(m1);
765 auto tr2 = typeRank(m2);
767 return tr1<tr2 || (tr1==tr2 && diff<0);
782 if (lde->kind()==LayoutDocEntry::ModuleClasses &&
m_classes.declVisible() && ls)
788 else if (lde->kind()==LayoutDocEntry::ModuleConcepts &&
m_concepts.declVisible() && ls)
794 else if (lde->kind()==LayoutDocEntry::ModuleUsedFiles && ls)
800 else if (lde->kind()==LayoutDocEntry::MemberDecl)
871 ol.
writeDoc(ast.get(),
this,
nullptr);
891 for (
const auto &importInfo : importInfoList)
905 ol.
docify(importInfo.importName);
934 FileDef *fd = mod->getFileDef();
976 FileDef *fd = mod->getFileDef();
977 if (fd) result.push_back(fd);
987 if (lde->kind()==LayoutDocEntry::MemberDecl)
995 for (
const auto &md : *ml)
997 if (md->visibleInIndex())
1005 else if (lde->kind()==LayoutDocEntry::ModuleClasses)
1009 if (cd->isLinkableInProject())
1015 else if (lde->kind()==LayoutDocEntry::ModuleConcepts)
1019 if (cd->isLinkableInProject())
1032 tagFile <<
" <compound kind=\"module\">\n";
1037 tagFile <<
" <filename>" <<
convertToXML(fn) <<
"</filename>\n";
1048 switch (lde->kind())
1050 case LayoutDocEntry::ModuleExports:
1054 tagFile <<
" <export>" <<
convertToXML(importInfo.importName) <<
"</export>\n";
1058 case LayoutDocEntry::ModuleClasses:
1062 if (cd->isLinkableInProject())
1064 tagFile <<
" <class kind=\"" << cd->compoundTypeString()
1070 case LayoutDocEntry::ModuleConcepts:
1074 if (cd->isLinkableInProject())
1082 case LayoutDocEntry::ModuleUsedFiles:
1086 if (usedFd->isLinkableInProject())
1088 tagFile <<
" <file>" <<
convertToXML(usedFd->name()) <<
"</file>\n";
1093 case LayoutDocEntry::MemberDecl:
1114 tagFile <<
" <clangid>" <<
convertToXML(idStr) <<
"</clangid>\n";
1117 tagFile <<
" </compound>\n";
1124 if (d==
nullptr)
return nullptr;
1130 if (d==
nullptr)
return nullptr;
1148 for (
const auto &mod : *
this)
1150 bool isLink = mod->isLinkable();
1151 if (isLink || !hideUndocClasses)
1162 for (
const auto &mod : *
this)
1193 AUTO_TRACE(
"{}:{}: Found module name='{}' partition='{}' exported='{}'",
1194 fileName,line,moduleName,partitionName,exported);
1195 std::lock_guard lock(
p->mutex);
1197 std::unique_ptr<ModuleDef> modDef = std::make_unique<ModuleDefImpl>(fileName,line,column,moduleName,mt,partitionName);
1198 auto mod =
p->moduleFileMap.add(fileName,std::move(modDef));
1199 auto it =
p->moduleNameMap.find(moduleName.
str());
1200 if (it ==
p->moduleNameMap.end())
1204 p->moduleNameMap.emplace(moduleName.
str(),ml);
1208 it->second.push_back(mod);
1214 std::lock_guard lock(
p->mutex);
1216 p->externalImports.clear();
1217 p->moduleNameMap.clear();
1218 p->moduleFileMap.clear();
1223 AUTO_TRACE(
"{}:{} headerName={} isSystem={}",moduleFile,line,headerName,isSystem);
1224 std::lock_guard lock(
p->mutex);
1225 auto mod =
p->moduleFileMap.find(moduleFile);
1232 AUTO_TRACE_ADD(
"imported header '{}' found in file '{}' that is not a module",headerName,moduleFile);
1234 p->headers.emplace_back(moduleFile,headerName,isSystem);
1238 bool isExported,
const QCString &partitionName)
1240 AUTO_TRACE(
"{}:{} importName={},isExported={},partitionName={}",
1241 moduleFile,line,importName,isExported,partitionName);
1242 std::lock_guard lock(
p->mutex);
1243 auto mod =
p->moduleFileMap.find(moduleFile);
1252 p->externalImports[moduleFile.
str()].emplace_back(
nullptr,importName,line,partitionName);
1258 std::lock_guard lock(
p->mutex);
1259 auto mod =
p->moduleFileMap.find(root->
fileName);
1264 if (cdm) cdm->setModuleDef(mod);
1270 std::lock_guard lock(
p->mutex);
1271 auto mod =
p->moduleFileMap.find(root->
fileName);
1276 if (cdm) cdm->setModuleDef(mod);
1282 std::lock_guard lock(
p->mutex);
1283 auto mod =
p->moduleFileMap.find(root->
fileName);
1288 if (mdm) mdm->setModuleDef(mod);
1294 std::lock_guard lock(
p->mutex);
1295 auto mod =
p->moduleFileMap.find(fileName);
1300 modi->
setId(clangId);
1307 for (
auto &[partitionFileName,importInfoList] : mod->
getImports())
1309 for (
auto &importInfo : importInfoList)
1311 AUTO_TRACE_ADD(
"partitionFileName={} importName={} partitionName={}",
1312 partitionFileName,importInfo.importName,importInfo.partitionName);
1313 if (importInfo.importName==intfMod->
name() && !importInfo.partitionName.
isEmpty() &&
1314 importInfo.exported)
1316 auto it =
p->moduleNameMap.find(importInfo.importName.str());
1317 if (it !=
p->moduleNameMap.end())
1319 for (
auto importedMod : it->second)
1321 if (importedMod->qualifiedName()==importInfo.importName+
":"+importInfo.partitionName)
1324 mod->
name(),importedMod->name(),importedMod->partitionName());
1327 for (
const auto &[partitionFileName_,partitionImportInfoList] : importedMod->getImports())
1329 for (
const auto &partitionImportInfo : partitionImportInfoList)
1331 if (partitionImportInfo.exported && intfMod->
name()!=partitionImportInfo.importName)
1349 for (
auto &mod :
p->moduleFileMap)
1357 for (
const auto &[fileName,importInfoList] : mod->getImports())
1359 for (
const auto &importInfo : importInfoList)
1361 if (importInfo.exported && mod->name()!=importInfo.importName)
1382 for (
auto &mod :
p->moduleFileMap)
1384 FileDef *fd = mod->getFileDef();
1387 for (
const auto &[fileName,importInfoList] : mod->getImports())
1389 for (
const auto &importInfo : importInfoList)
1392 const FileDef *importedFd = importedModule ? importedModule->
getFileDef() :
nullptr;
1394 mod->qualifiedName(), importInfo.qualifiedName(), importInfo.line, fd?fd->
absFilePath():
"");
1400 for (
const auto &[fileName,importInfoList] :
p->externalImports)
1402 for (
const auto &importInfo : importInfoList)
1406 AUTO_TRACE_ADD(
"externalImport name={} fd={}",fileName,(
void*)fd);
1419 for (
const auto &headerInfo :
p->headers)
1423 AUTO_TRACE_ADD(
"header name={} fd={}",headerInfo.fileName,(
void*)fd);
1443 intfModImpl->mergeSymbolsFrom(partitionModImpl);
1449 for (
auto &mod :
p->moduleFileMap)
1451 if (mod->isPrimaryInterface())
1453 for (
auto &[partitionName,partitionMod] : mod->partitions())
1459 auto it =
p->moduleNameMap.find(mod->name().str());
1460 if (it !=
p->moduleNameMap.end())
1462 for (
auto contributingMod : it->second)
1464 AUTO_TRACE_ADD(
" adding contributing module {} to interface module {} type={} partition={} isPrimaryIntf={}",
1465 contributingMod->qualifiedName(),
1468 contributingMod->partitionName(),
1469 contributingMod->isPrimaryInterface());
1479 for (
auto &mod :
p->moduleFileMap)
1487 for (
auto &mod :
p->moduleFileMap)
1489 if (mod->isPrimaryInterface())
1491 mod->writeDocumentation(ol);
1499 for (
const auto &mod :
p->moduleFileMap)
1501 if (mod->isPrimaryInterface()) count++;
1508 return p->moduleFileMap;
1517 warn(root->
fileName,root->
startLine,
"Ignoring documentation for module partition %s. Please place documentation at the primary module name",
1522 auto it =
p->moduleNameMap.find(root->
name.
str());
1523 if (it !=
p->moduleNameMap.end())
1551 auto it =
p->moduleNameMap.find(moduleName.
str());
1552 if (it !=
p->moduleNameMap.end())
1554 for (
const auto &mod : it->second)
1556 if (mod->isPrimaryInterface())
1567 for (
const auto &mod :
p->moduleFileMap)
1575 for (
const auto &mod :
p->moduleFileMap)
1583 for (
const auto &mod :
p->moduleFileMap)
1591 for (
auto &mod :
p->moduleFileMap)
1599 for (
auto &mod :
p->moduleFileMap)
A abstract class representing of a compound symbol.
virtual QCString className() const =0
Returns the name of the class including outer classes, but not including namespaces.
The common base class of all entity definitions found in the sources.
virtual bool isLinkable() const =0
virtual QCString anchor() const =0
virtual bool isExported() const =0
virtual QCString briefDescription(bool abbreviate=FALSE) const =0
virtual QCString getReference() const =0
virtual QCString qualifiedName() const =0
virtual QCString displayName(bool includeScope=TRUE) const =0
virtual QCString getOutputFileBase() const =0
virtual const QCString & name() const =0
int getDefLine() const override
bool isReference() const override
const QCString & name() const override
QCString getDefFileName() const override
bool isExported() const override
bool hasBriefDescription() const override
void setId(const QCString &name) override
QCString docFile() const override
QCString briefFile() const override
QCString id() const override
void setReference(const QCString &r) override
const RefItemVector & xrefListItems() const override
QCString briefDescription(bool abbreviate=FALSE) const override
QCString getReference() const override
DefinitionMixin(const QCString &defFileName, int defLine, int defColumn, const QCString &name, const char *b=nullptr, const char *d=nullptr, bool isSymbol=TRUE)
bool isHidden() const override
QCString inbodyDocumentation() const override
int docLine() const override
int briefLine() const override
QCString documentation() const override
void writeDocAnchorsToTagFile(TextStream &fs) const override
bool hasDocumentation() const override
SrcLangExt getLanguage() const override
virtual void setBodySegment(int defLine, int bls, int ble)=0
virtual void setHidden(bool b)=0
virtual void setDocumentation(const QCString &d, const QCString &docFile, int docLine, bool stripWhiteSpace=TRUE)=0
virtual void setId(const QCString &name)=0
virtual void setBriefDescription(const QCString &b, const QCString &briefFile, int briefLine)=0
virtual void setRefItems(const RefItemVector &sli)=0
static bool suppressDocWarnings
static FileNameLinkedMap * inputNameLinkedMap
Represents an unstructured piece of information, about an entity found in the sources.
int docLine
line number at which the documentation was found
int endBodyLine
line number where the definition ends
bool exported
is the symbol exported from a C++20 module
QCString fileName
file this entry was extracted from
int startLine
start line of entry in the source
QCString briefFile
file in which the brief desc. was found
int bodyLine
line number of the body in the source
QCString doc
documentation block (partly parsed)
RefItemVector sli
special lists (test/todo/bug/deprecated/..) this entry is in
QCString docFile
file in which the documentation was found
bool hidden
does this represent an entity that is hidden from the output
QCString brief
brief description (doc block)
int briefLine
line number at which the brief desc. was found
A model of a file symbol.
virtual void setModuleDef(ModuleDef *mod)=0
virtual void addIncludedByDependency(const FileDef *fd, const QCString &incName, IncludeKind kind)=0
virtual QCString getPath() const =0
virtual QCString absFilePath() const =0
virtual QCString fileName() const =0
virtual void addIncludeDependency(const FileDef *fd, const QCString &incName, IncludeKind kind)=0
static LayoutDocManager & instance()
Returns a reference to this singleton.
A model of a class/file/namespace member symbol.
virtual MemberType memberType() const =0
virtual void setSectionList(const Definition *container, const MemberList *sl)=0
A list of MemberDef objects as shown in documentation sections.
void writeDeclarations(OutputList &ol, const ClassDef *cd, const NamespaceDef *nd, const FileDef *fd, const GroupDef *gd, const ModuleDef *mod, const QCString &title, const QCString &subtitle, bool showEnumValues=FALSE, bool showInline=FALSE, const ClassDef *inheritedFrom=nullptr, MemberListType lt=MemberListType::PubMethods(), bool showSectionTitle=true) const
Writes the list of members to the output.
void writeTagFile(TextStream &, bool useQualifiedName=false, bool showNamespaceMembers=true)
MemberListType listType() const
void writeDocumentation(OutputList &ol, const QCString &scopeName, const Definition *container, const QCString &title, bool showEnumValues=FALSE, bool showInline=FALSE) const
Wrapper class for the MemberListType type.
constexpr const char * toLabel() const
bool contains(const MemberDef *md) const
void push_back(const T &value)
virtual const ImportInfoMap & getImports() const =0
virtual FileDef * getFileDef() const =0
void addPartition(ModuleDefImpl *mod)
void distributeMemberGroupDocumentation()
QCString anchor() const override
void startMemberDeclarations(OutputList &ol)
DefType definitionType() const override
QCString getOutputFileBase() const override
void endMemberDeclarations(OutputList &ol)
MemberList * getMemberList(MemberListType lt) const override
void writeDocumentation(OutputList &ol) override
FileList getUsedFiles() const override
void writeMemberDocumentation(OutputList &ol, MemberListType lt, const QCString &title)
ModuleList m_contributing
void addMemberToModule(const Entry *root, MemberDef *md)
bool isPrimaryInterface() const override
QCString qualifiedName() const override
void addConceptToModule(const Entry *root, ConceptDef *cd)
FileDef * getFileDef() const override
QCString partitionName() const override
void addClassToModule(const Entry *root, ClassDef *cd)
bool isLinkableInProject() const override
void writeTagFile(TextStream &t) const override
void writeMemberGroups(OutputList &ol)
const ModuleDef * m_primaryInterface
void startMemberDocumentation(OutputList &ol)
void writeAuthorSection(OutputList &ol)
const ImportInfoMap & getImports() const override
MemberLists m_memberLists
int countVisibleMembers() const override
void setPrimaryInterface(const ModuleDef *mod)
void writeClassDeclarations(OutputList &ol, const QCString &title)
void mergeSymbolsFrom(ModuleDefImpl *other)
void writeExports(OutputList &ol, const QCString &title)
const ClassLinkedRefMap & getClasses() const override
void addMembersToMemberGroup()
void writeFiles(OutputList &ol, const QCString &title)
void addExportedModule(const QCString &moduleName, const ImportInfo &info)
void endMemberDocumentation(OutputList &ol)
void setFileDef(FileDef *fd)
ConceptLinkedRefMap m_concepts
void addMemberToList(MemberListType lt, MemberDef *md)
void writeDetailedDescription(OutputList &ol, const QCString &title)
CodeSymbolType codeSymbolType() const override
const ImportInfoMap & getExports() const override
void writeBriefDescription(OutputList &ol)
ModuleDefImpl(const QCString &fileName, int startLine, int startColom, const QCString &name, Type type, const QCString &partitionName)
void writeMemberDeclarations(OutputList &ol, MemberListType lt, const QCString &title)
ClassLinkedRefMap m_classes
const MemberGroupList & getMemberGroups() const override
void findSectionsInDocumentation()
ImportInfoMap m_exportedModules
void addImport(int line, const QCString &moduleName, const QCString &partitionName, bool isExported)
bool isLinkable() const override
QCString displayName(bool=TRUE) const override
bool hasDetailedDescription() const
void addContributingModule(ModuleDefImpl *mod)
void writeSummaryLinks(OutputList &ol) const override
Type moduleType() const override
const ModuleMap & partitions() const override
const MemberLists & getMemberLists() const override
void writeDeclarationLink(OutputList &ol, bool &found, const QCString &header, bool localNames) const
MemberGroupList m_memberGroups
void writeConcepts(OutputList &ol, const QCString &title)
const ConceptLinkedRefMap & getConcepts() const override
void addHeader(int line, const QCString &headerName, bool isSystem)
void writeDeclaration(OutputList &ol, const QCString &header, bool localNames) const
int numDocumentedModules() const
static ModuleManager & instance()
void addDocs(const Entry *root)
void collectExportedSymbolsRecursively(ModuleDef *intfMod, ModuleDef *mod)
void addHeader(const QCString &moduleFile, int line, const QCString &headerName, bool isSystem)
void addConceptToModule(const Entry *root, ConceptDef *cd)
void addTagInfo(const QCString &moduleFile, const QCString &tagName, const QCString &clangId)
void addClassToModule(const Entry *root, ClassDef *cd)
void createModuleDef(const QCString &fileName, int line, int column, bool exported, const QCString &moduleName, const QCString &partitionName=QCString())
ModuleDef * getPrimaryInterface(const QCString &moduleName) const
void addMemberToModule(const Entry *root, MemberDef *md)
void writeDocumentation(OutputList &ol)
void addMembersToMemberGroup()
std::unique_ptr< Private > p
void findSectionsInDocumentation()
void collectExportedSymbols()
void resolvePartitionsRecursively(ModuleDef *intfMod, ModuleDef *mod)
const ModuleLinkedMap & modules() const
void addImport(const QCString &moduleFile, int line, const QCString &importName, bool isExported, const QCString &partitionName=QCString())
void distributeMemberGroupDocumentation()
Class representing a list of output generators that are written to in parallel.
void endTextBlock(bool paraBreak=FALSE)
void writeString(const QCString &text)
void startGroupHeader(int extraLevels=0)
void startMemberDeclaration()
void endTitleHead(const QCString &fileName, const QCString &name)
void disable(OutputType o)
void startTitleHead(const QCString &fileName)
void enable(OutputType o)
void endMemberDescription()
void writeObjectLink(const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name)
void writeDoc(const IDocNodeAST *ast, const Definition *ctx, const MemberDef *md)
void startMemberDescription(const QCString &anchor, const QCString &inheritId=QCString(), bool typ=false)
void startHeaderSection()
void docify(const QCString &s)
void startParagraph(const QCString &classDef=QCString())
void startTextBlock(bool dense=FALSE)
void startMemberSections()
void endMemberItem(OutputGenerator::MemberItemType type)
void generateDoc(const QCString &fileName, int startLine, const Definition *ctx, const MemberDef *md, const QCString &docStr, bool indexWords, bool isExample, const QCString &exampleName, bool singleLine, bool linkFromIndex, bool markdownSupport)
void pushGeneratorState()
void insertMemberAlign(bool templ=FALSE)
void disableAllBut(OutputType o)
void writeSummaryLink(const QCString &file, const QCString &anchor, const QCString &title, bool first)
void writeAnchor(const QCString &fileName, const QCString &name)
void endGroupHeader(int extraLevels=0)
void endMemberDeclaration(const QCString &anchor, const QCString &inheritId)
void startMemberItem(const QCString &anchor, OutputGenerator::MemberItemType type, const QCString &id=QCString())
void parseText(const QCString &textStr)
void startTextLink(const QCString &file, const QCString &anchor)
void startMemberHeader(const QCString &anchor, int typ=2)
This is an alternative implementation of QCString.
int find(char c, int index=0, bool cs=TRUE) const
bool isEmpty() const
Returns TRUE iff the string is empty.
const std::string & str() const
Text streaming class that buffers data.
ClassDefMutable * toClassDefMutable(Definition *d)
ConceptDefMutable * toConceptDefMutable(Definition *d)
#define Config_getBool(name)
#define Config_getString(name)
#define AUTO_TRACE_ADD(...)
void docFindSections(const QCString &input, const Definition *d, const QCString &fileName)
IDocParserPtr createDocParser()
factory function to create a parser
IDocNodeASTPtr validatingParseDoc(IDocParser &parserIntf, const QCString &fileName, int startLine, const Definition *ctx, const MemberDef *md, const QCString &input, bool indexWords, bool isExample, const QCString &exampleName, bool singleLine, bool linkFromIndex, bool markdownSupport)
static void writeTagFile()
void addModuleToGroups(const Entry *root, ModuleDef *mod)
void endFile(OutputList &ol, bool skipNavIndex, bool skipEndContents, const QCString &navPath)
void startFile(OutputList &ol, const QCString &name, const QCString &manName, const QCString &title, HighlightedItem hli, bool additionalIndices, const QCString &altSidebarName, int hierarchyLevel)
Translator * theTranslator
MemberDefMutable * toMemberDefMutable(Definition *d)
#define warn(file, line, fmt,...)
std::vector< HeaderInfo > HeaderInfoVector
static ModuleDefImpl * toModuleDefImpl(ModuleDef *m)
ModuleDef * toModuleDef(Definition *d)
std::unordered_map< std::string, ModuleDef * > ModuleMap
std::unordered_map< std::string, ImportInfoList > ImportInfoMap
int qstricmp_sort(const char *str1, const char *str2)
const char * qPrint(const char *s)
std::vector< RefItem * > RefItemVector
Represents of a member declaration list with configurable title and subtitle.
QCString title(SrcLangExt lang) const
Represents of a member definition list with configurable title.
QCString title(SrcLangExt lang) const
QCString title(SrcLangExt lang) const
ModuleLinkedMap moduleFileMap
ImportInfoMap externalImports
std::unordered_map< std::string, ModuleList > moduleNameMap
SrcLangExt
Language as given by extension.
void addRefItem(const RefItemVector &sli, const QCString &key, const QCString &prefix, const QCString &name, const QCString &title, const QCString &args, const Definition *scope)
void addGroupListToTitle(OutputList &ol, const Definition *d)
static QCString stripFromPath(const QCString &p, const StringVector &l)
QCString convertNameToFile(const QCString &name, bool allowDots, bool allowUnderscore)
QCString convertToXML(const QCString &s, bool keepEntities)
QCString determineAbsoluteIncludeName(const QCString &curFile, const QCString &incFileName)
FileDef * findFileDef(const FileNameLinkedMap *fnMap, const QCString &n, bool &ambig)
void addHtmlExtensionIfMissing(QCString &fName)
A bunch of utility functions.