186 AUTO_TRACE(
"name={}:line={},header={},isSystem={}",
name(),line,headerName,isSystem);
204 AUTO_TRACE(
"{}:{} class {} of module {} exported={}",
214 cdm->setExported(
true);
221 AUTO_TRACE(
"{}:{} concept {} of module {} exported={}",
233 cdm->setExported(
true);
241 if (ml->listType()==lt)
255 (ml->listType().isDeclaration() && sortBriefDocs) ||
256 (ml->listType().isDocumentation() && sortMemberDocs));
258 if (ml->listType().isDeclaration())
270 AUTO_TRACE(
"{}:{} member {} of module {} exported={}",
275 if (allMemberList==
nullptr)
305 mdm->setExported(
true);
311 AUTO_TRACE(
"{} merging symbols of {} ({}:{})",
327 for (
const auto &md : *srcMl)
329 dstMl->push_back(md);
333 mergeMemberList(MemberListType::DecVarMembers());
334 mergeMemberList(MemberListType::DecFuncMembers());
335 mergeMemberList(MemberListType::DecTypedefMembers());
336 mergeMemberList(MemberListType::DecEnumMembers());
381 case LayoutDocEntry::BriefDesc:
384 case LayoutDocEntry::MemberDeclStart:
387 case LayoutDocEntry::ModuleClasses:
390 case LayoutDocEntry::ModuleConcepts:
393 case LayoutDocEntry::ModuleExports:
396 case LayoutDocEntry::ModuleUsedFiles:
399 case LayoutDocEntry::MemberGroups:
402 case LayoutDocEntry::MemberDecl:
408 case LayoutDocEntry::MemberDeclEnd:
411 case LayoutDocEntry::DetailedDesc:
414 case LayoutDocEntry::MemberDefStart:
417 case LayoutDocEntry::MemberDef:
423 case LayoutDocEntry::MemberDefEnd:
426 case LayoutDocEntry::AuthorSection:
429 case LayoutDocEntry::ClassIncludes:
430 case LayoutDocEntry::ClassInheritanceGraph:
431 case LayoutDocEntry::ClassNestedClasses:
432 case LayoutDocEntry::ClassCollaborationGraph:
433 case LayoutDocEntry::ClassAllMembersLink:
434 case LayoutDocEntry::ClassUsedFiles:
435 case LayoutDocEntry::ClassInlineClasses:
436 case LayoutDocEntry::FileClasses:
437 case LayoutDocEntry::FileConcepts:
438 case LayoutDocEntry::FileInterfaces:
439 case LayoutDocEntry::FileStructs:
440 case LayoutDocEntry::FileExceptions:
441 case LayoutDocEntry::FileNamespaces:
442 case LayoutDocEntry::FileConstantGroups:
443 case LayoutDocEntry::FileIncludes:
444 case LayoutDocEntry::FileIncludeGraph:
445 case LayoutDocEntry::FileIncludedByGraph:
446 case LayoutDocEntry::FileInlineClasses:
447 case LayoutDocEntry::FileSourceLink:
448 case LayoutDocEntry::NamespaceNestedNamespaces:
449 case LayoutDocEntry::NamespaceNestedConstantGroups:
450 case LayoutDocEntry::NamespaceClasses:
451 case LayoutDocEntry::NamespaceConcepts:
452 case LayoutDocEntry::NamespaceInterfaces:
453 case LayoutDocEntry::NamespaceStructs:
454 case LayoutDocEntry::NamespaceExceptions:
455 case LayoutDocEntry::NamespaceInlineClasses:
456 case LayoutDocEntry::ConceptDefinition:
457 case LayoutDocEntry::GroupClasses:
458 case LayoutDocEntry::GroupConcepts:
459 case LayoutDocEntry::GroupModules:
460 case LayoutDocEntry::GroupInlineClasses:
461 case LayoutDocEntry::GroupNamespaces:
462 case LayoutDocEntry::GroupDirs:
463 case LayoutDocEntry::GroupNestedGroups:
464 case LayoutDocEntry::GroupFiles:
465 case LayoutDocEntry::GroupGraph:
466 case LayoutDocEntry::GroupPageDocs:
467 case LayoutDocEntry::DirSubDirs:
468 case LayoutDocEntry::DirFiles:
469 case LayoutDocEntry::DirGraph:
470 err(
"Internal inconsistency: member '{}' should not be part of "
471 "LayoutDocManager::Module entry list\n",lde->entryToString());
579 ol.
writeDoc(ast.get(),
this,
nullptr);
603 mg->writeDeclarations(ol,
nullptr,
nullptr,
nullptr,
nullptr,
this);
641 ml->countDecMembers();
642 ml->countDocMembers();
646 mg->countDecMembers();
647 mg->countDocMembers();
665 mg->addListReferences(
this);
669 if (ml->listType().isDocumentation())
671 ml->addListReferences(
this);
680 if (ml->listType().isDeclaration())
692 mg->addToDeclarationSection();
701 mg->distributeMemberGroupDocumentation();
712 mg->findSectionsInDocumentation(
this);
716 if (ml->listType().isDeclaration())
718 ml->findSectionsInDocumentation(
this);
727 if (ml->needsSorting()) { ml->sort(); ml->setNeedsSorting(
FALSE); }
752 FileDef *f2 = m2->getFileDef();
755 static auto typeRank = [](
const ModuleDef *m) ->
int
759 if (m->partitionName().isEmpty())
return 0;
764 if (!m->partitionName().isEmpty())
return 2;
768 auto tr1 = typeRank(m1);
769 auto tr2 = typeRank(m2);
771 return tr1<tr2 || (tr1==tr2 && diff<0);
786 if (lde->kind()==LayoutDocEntry::ModuleClasses &&
m_classes.declVisible() && ls)
792 else if (lde->kind()==LayoutDocEntry::ModuleConcepts &&
m_concepts.declVisible() && ls)
798 else if (lde->kind()==LayoutDocEntry::ModuleUsedFiles && ls)
804 else if (lde->kind()==LayoutDocEntry::MemberDecl)
875 ol.
writeDoc(ast.get(),
this,
nullptr);
895 for (
const auto &importInfo : importInfoList)
909 ol.
docify(importInfo.importName);
938 FileDef *fd = mod->getFileDef();
980 FileDef *fd = mod->getFileDef();
981 if (fd) result.push_back(fd);
991 if (lde->kind()==LayoutDocEntry::MemberDecl)
999 for (
const auto &md : *ml)
1001 if (md->visibleInIndex())
1009 else if (lde->kind()==LayoutDocEntry::ModuleClasses)
1013 if (cd->isLinkableInProject())
1019 else if (lde->kind()==LayoutDocEntry::ModuleConcepts)
1023 if (cd->isLinkableInProject())
1036 tagFile <<
" <compound kind=\"module\">\n";
1041 tagFile <<
" <filename>" <<
convertToXML(fn) <<
"</filename>\n";
1052 switch (lde->kind())
1054 case LayoutDocEntry::ModuleExports:
1058 tagFile <<
" <export>" <<
convertToXML(importInfo.importName) <<
"</export>\n";
1062 case LayoutDocEntry::ModuleClasses:
1066 if (cd->isLinkableInProject())
1068 tagFile <<
" <class kind=\"" << cd->compoundTypeString()
1074 case LayoutDocEntry::ModuleConcepts:
1078 if (cd->isLinkableInProject())
1086 case LayoutDocEntry::ModuleUsedFiles:
1090 if (usedFd->isLinkableInProject())
1092 tagFile <<
" <file>" <<
convertToXML(usedFd->name()) <<
"</file>\n";
1097 case LayoutDocEntry::MemberDecl:
1118 tagFile <<
" <clangid>" <<
convertToXML(idStr) <<
"</clangid>\n";
1121 tagFile <<
" </compound>\n";
1128 if (d==
nullptr)
return nullptr;
1134 if (d==
nullptr)
return nullptr;
1152 for (
const auto &mod : *
this)
1154 bool isLink = mod->isLinkable();
1155 if (isLink || !hideUndocClasses)
1166 for (
const auto &mod : *
this)
1197 AUTO_TRACE(
"{}:{}: Found module name='{}' partition='{}' exported='{}'",
1198 fileName,line,moduleName,partitionName,exported);
1199 std::lock_guard lock(
p->mutex);
1201 std::unique_ptr<ModuleDef> modDef = std::make_unique<ModuleDefImpl>(fileName,line,column,moduleName,mt,partitionName);
1202 auto mod =
p->moduleFileMap.add(fileName,std::move(modDef));
1203 auto it =
p->moduleNameMap.find(moduleName.
str());
1204 if (it ==
p->moduleNameMap.end())
1208 p->moduleNameMap.emplace(moduleName.
str(),ml);
1212 it->second.push_back(mod);
1218 std::lock_guard lock(
p->mutex);
1220 p->externalImports.clear();
1221 p->moduleNameMap.clear();
1222 p->moduleFileMap.clear();
1227 AUTO_TRACE(
"{}:{} headerName={} isSystem={}",moduleFile,line,headerName,isSystem);
1228 std::lock_guard lock(
p->mutex);
1229 auto mod =
p->moduleFileMap.find(moduleFile);
1236 AUTO_TRACE_ADD(
"imported header '{}' found in file '{}' that is not a module",headerName,moduleFile);
1238 p->headers.emplace_back(moduleFile,headerName,isSystem);
1242 bool isExported,
const QCString &partitionName)
1244 AUTO_TRACE(
"{}:{} importName={},isExported={},partitionName={}",
1245 moduleFile,line,importName,isExported,partitionName);
1246 std::lock_guard lock(
p->mutex);
1247 auto mod =
p->moduleFileMap.find(moduleFile);
1256 p->externalImports[moduleFile.
str()].emplace_back(
nullptr,importName,line,partitionName);
1262 std::lock_guard lock(
p->mutex);
1263 auto mod =
p->moduleFileMap.find(root->
fileName);
1268 if (cdm) cdm->setModuleDef(mod);
1274 std::lock_guard lock(
p->mutex);
1275 auto mod =
p->moduleFileMap.find(root->
fileName);
1280 if (cdm) cdm->setModuleDef(mod);
1286 std::lock_guard lock(
p->mutex);
1287 auto mod =
p->moduleFileMap.find(root->
fileName);
1292 if (mdm) mdm->setModuleDef(mod);
1298 std::lock_guard lock(
p->mutex);
1299 auto mod =
p->moduleFileMap.find(fileName);
1304 modi->
setId(clangId);
1311 for (
auto &[partitionFileName,importInfoList] : mod->
getImports())
1313 for (
auto &importInfo : importInfoList)
1315 AUTO_TRACE_ADD(
"partitionFileName={} importName={} partitionName={}",
1316 partitionFileName,importInfo.importName,importInfo.partitionName);
1317 if (importInfo.importName==intfMod->
name() && !importInfo.partitionName.
isEmpty() &&
1318 importInfo.exported)
1320 auto it =
p->moduleNameMap.find(importInfo.importName.str());
1321 if (it !=
p->moduleNameMap.end())
1323 for (
auto importedMod : it->second)
1325 if (importedMod->qualifiedName()==importInfo.importName+
":"+importInfo.partitionName)
1328 mod->
name(),importedMod->name(),importedMod->partitionName());
1331 for (
const auto &[partitionFileName_,partitionImportInfoList] : importedMod->getImports())
1333 for (
const auto &partitionImportInfo : partitionImportInfoList)
1335 if (partitionImportInfo.exported && intfMod->
name()!=partitionImportInfo.importName)
1353 for (
auto &mod :
p->moduleFileMap)
1361 for (
const auto &[fileName,importInfoList] : mod->getImports())
1363 for (
const auto &importInfo : importInfoList)
1365 if (importInfo.exported && mod->name()!=importInfo.importName)
1386 for (
auto &mod :
p->moduleFileMap)
1388 FileDef *fd = mod->getFileDef();
1391 for (
const auto &[fileName,importInfoList] : mod->getImports())
1393 for (
const auto &importInfo : importInfoList)
1396 const FileDef *importedFd = importedModule ? importedModule->
getFileDef() :
nullptr;
1398 mod->qualifiedName(), importInfo.qualifiedName(), importInfo.line, fd?fd->
absFilePath():
"");
1404 for (
const auto &[fileName,importInfoList] :
p->externalImports)
1406 for (
const auto &importInfo : importInfoList)
1410 AUTO_TRACE_ADD(
"externalImport name={} fd={}",fileName,(
void*)fd);
1423 for (
const auto &headerInfo :
p->headers)
1427 AUTO_TRACE_ADD(
"header name={} fd={}",headerInfo.fileName,(
void*)fd);
1447 intfModImpl->mergeSymbolsFrom(partitionModImpl);
1453 for (
auto &mod :
p->moduleFileMap)
1455 if (mod->isPrimaryInterface())
1457 for (
auto &[partitionName,partitionMod] : mod->partitions())
1463 auto it =
p->moduleNameMap.find(mod->name().str());
1464 if (it !=
p->moduleNameMap.end())
1466 for (
auto contributingMod : it->second)
1468 AUTO_TRACE_ADD(
" adding contributing module {} to interface module {} type={} partition={} isPrimaryIntf={}",
1469 contributingMod->qualifiedName(),
1472 contributingMod->partitionName(),
1473 contributingMod->isPrimaryInterface());
1483 for (
auto &mod :
p->moduleFileMap)
1491 for (
auto &mod :
p->moduleFileMap)
1493 if (mod->isPrimaryInterface())
1495 mod->writeDocumentation(ol);
1503 for (
const auto &mod :
p->moduleFileMap)
1505 if (mod->isPrimaryInterface()) count++;
1512 return p->moduleFileMap;
1517 return p->moduleFileMap;
1526 warn(root->
fileName,root->
startLine,
"Ignoring documentation for module partition {}. Please place documentation at the primary module name",
1531 auto it =
p->moduleNameMap.find(root->
name.
str());
1532 if (it !=
p->moduleNameMap.end())
1548 warn(root->
fileName,root->
startLine,
"Found documentation for module {} but it has no primary interface unit.",root->
name);
1560 auto it =
p->moduleNameMap.find(moduleName.
str());
1561 if (it !=
p->moduleNameMap.end())
1563 for (
const auto &mod : it->second)
1565 if (mod->isPrimaryInterface())
1576 for (
const auto &mod :
p->moduleFileMap)
1584 for (
const auto &mod :
p->moduleFileMap)
1592 for (
const auto &mod :
p->moduleFileMap)
1600 for (
auto &mod :
p->moduleFileMap)
1608 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)
ModuleLinkedMap & modules()
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)
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
bool visible() const override
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.