178 return std::make_unique<GroupDefImpl>(fileName,line,name,title,refFileName);
190 m_fileName=stripExtension(refFileName);
194 m_fileName = convertNameToFile(QCString(
"group_")+na);
233 mg->distributeMemberGroupDocumentation();
245 mg->findSectionsInDocumentation(
this);
250 if (ml->listType().isDeclaration())
252 ml->findSectionsInDocumentation(
this);
264 [](
const auto &fd1,
const auto &fd2)
265 { return qstricmp_sort(fd1->name(),fd2->name())<0; }),
351 if (ml->listType().isDeclaration())
365 for (
auto &srcMi : *mni)
367 const MemberDef *srcMd = srcMi->memberDef();
368 if (srcMd==md)
return FALSE;
464 else if (md->
protection()==Protection::Protected)
503 err(
"GroupDefImpl::insertMembers(): "
504 "member '{}' (typeid='{}') with scope '{}' inserted in group scope '{}'!\n",
557 else if (md->
protection()==Protection::Protected)
581 err(
"GroupDefImpl::removeMember(): unexpected member remove in file!\n");
594 if (gd->findGroup(def))
620 ml->countDecMembers();
621 ml->countDocMembers();
625 mg->countDecMembers();
626 mg->countDocMembers();
652 tagFile <<
" <compound kind=\"group\">\n";
655 tagFile <<
" <filename>" << fn <<
"</filename>\n";
660 case LayoutDocEntry::GroupClasses:
664 if (cd->isLinkableInProject())
666 tagFile <<
" <class kind=\"" << cd->compoundTypeString()
672 case LayoutDocEntry::GroupConcepts:
676 if (cd->isLinkableInProject())
684 case LayoutDocEntry::GroupModules:
688 if (mod->isLinkableInProject())
696 case LayoutDocEntry::GroupNamespaces:
700 if (nd->isLinkableInProject())
708 case LayoutDocEntry::GroupFiles:
712 if (fd->isLinkableInProject())
714 tagFile <<
" <file>" <<
convertToXML(fd->name()) <<
"</file>\n";
719 case LayoutDocEntry::GroupPageDocs:
723 QCString pageName = pd->getOutputFileBase();
724 if (pd->isLinkableInProject())
726 tagFile <<
" <page>" <<
convertToXML(pageName) <<
"</page>\n";
731 case LayoutDocEntry::GroupDirs:
735 if (dd->isLinkableInProject())
737 tagFile <<
" <dir>" <<
convertToXML(dd->displayName()) <<
"</dir>\n";
742 case LayoutDocEntry::GroupNestedGroups:
748 tagFile <<
" <subgroup>" <<
convertToXML(gd->name()) <<
"</subgroup>\n";
753 case LayoutDocEntry::MemberDecl:
766 case LayoutDocEntry::MemberGroups:
770 mg->writeTagFile(tagFile,
true);
779 tagFile <<
" </compound>\n";
842 .setIndexWords(
true));
854 .setIndexWords(
true));
872 .setSingleLine(
true))
881 ol.
writeDoc(ast.get(),
this,
nullptr);
908 warn_uncond(
"Group dependency graph for '{}' not generated, too many nodes ({}), threshold is {}. Consider increasing DOT_GRAPH_MAX_NODES.\n",
937 if (!fd->hasDocumentation())
continue;
940 if (anc.
isEmpty()) anc=fd->displayName();
else anc.
prepend(fd->displayName()+
"_");
946 if (!fd->briefDescription().isEmpty() &&
Config_getBool(BRIEF_MEMBER_DESC))
953 fd->briefDescription(),
955 .setSingleLine(
true));
976 if (gd->isVisible()) count++;
988 if (!gd->hasDocumentation())
continue;
991 if (anc.
isEmpty()) anc=gd->name();
else anc.
prepend(gd->name()+
"_");
1001 .setSingleLine(
true)
1002 .setAutolinkSupport(
false));
1003 ol.
endIndexItem(gd->getReference(),gd->getOutputFileBase());
1005 if (!gd->briefDescription().isEmpty() &&
Config_getBool(BRIEF_MEMBER_DESC))
1012 gd->briefDescription(),
1014 .setSingleLine(
true));
1035 if (!dd->hasDocumentation())
continue;
1038 if (anc.
isEmpty()) anc=dd->shortName();
else anc.
prepend(dd->shortName()+
"_");
1044 if (!dd->briefDescription().isEmpty() &&
Config_getBool(BRIEF_MEMBER_DESC))
1051 dd->briefDescription(),
1053 .setSingleLine(
true));
1089 for (
const auto *pd :
m_pages)
1091 if (!pd->isReference())
1094 if (pd->hasTitle() && !pd->name().isEmpty() &&
1106 (pd->documentation()+pd->inbodyDocumentation()),
1108 .setIndexWords(
true));
1119 mg->writeDeclarations(ol,
nullptr,
nullptr,
nullptr,
this,
nullptr);
1174 if ((lde->kind()==LayoutDocEntry::GroupClasses &&
m_classes.declVisible()) ||
1175 (lde->kind()==LayoutDocEntry::GroupConcepts &&
m_concepts.declVisible()) ||
1176 (lde->kind()==LayoutDocEntry::GroupModules &&
m_modules.declVisible()) ||
1177 (lde->kind()==LayoutDocEntry::GroupNamespaces &&
m_namespaces.declVisible(
false)) ||
1178 (lde->kind()==LayoutDocEntry::GroupFiles && !
m_fileList.empty()) ||
1179 (lde->kind()==LayoutDocEntry::GroupNestedGroups && !
m_groups.empty()) ||
1180 (lde->kind()==LayoutDocEntry::GroupDirs && !
m_dirList.empty())
1186 QCString label = lde->kind()==LayoutDocEntry::GroupClasses ?
"nested-classes" :
1187 lde->kind()==LayoutDocEntry::GroupConcepts ?
"concepts" :
1188 lde->kind()==LayoutDocEntry::GroupModules ?
"modules" :
1189 lde->kind()==LayoutDocEntry::GroupNamespaces ?
"namespaces" :
1190 lde->kind()==LayoutDocEntry::GroupFiles ?
"files" :
1191 lde->kind()==LayoutDocEntry::GroupNestedGroups ?
"groups" :
1197 else if (lde->kind()==LayoutDocEntry::MemberDecl)
1229 int hierarchyLevel = 0;
1241 bool writeOutlinePanel = generateTreeView &&
Config_getBool(PAGE_OUTLINE_PANEL);
1253 .setIndexWords(
true)
1254 .setSingleLine(
true)
1255 .setAutolinkSupport(
false));
1285 switch (lde->kind())
1287 case LayoutDocEntry::BriefDesc:
1290 case LayoutDocEntry::MemberDeclStart:
1293 case LayoutDocEntry::GroupClasses:
1296 case LayoutDocEntry::GroupConcepts:
1299 case LayoutDocEntry::GroupModules:
1302 case LayoutDocEntry::GroupInlineClasses:
1305 case LayoutDocEntry::GroupNamespaces:
1308 case LayoutDocEntry::MemberGroups:
1311 case LayoutDocEntry::MemberDecl:
1320 case LayoutDocEntry::MemberDeclEnd:
1323 case LayoutDocEntry::DetailedDesc:
1326 case LayoutDocEntry::MemberDefStart:
1329 case LayoutDocEntry::MemberDef:
1338 case LayoutDocEntry::MemberDefEnd:
1341 case LayoutDocEntry::GroupNestedGroups:
1344 case LayoutDocEntry::GroupPageDocs:
1347 case LayoutDocEntry::GroupDirs:
1350 case LayoutDocEntry::GroupFiles:
1353 case LayoutDocEntry::GroupGraph:
1356 case LayoutDocEntry::AuthorSection:
1359 case LayoutDocEntry::ClassIncludes:
1360 case LayoutDocEntry::ClassInheritanceGraph:
1361 case LayoutDocEntry::ClassNestedClasses:
1362 case LayoutDocEntry::ClassCollaborationGraph:
1363 case LayoutDocEntry::ClassAllMembersLink:
1364 case LayoutDocEntry::ClassUsedFiles:
1365 case LayoutDocEntry::ClassInlineClasses:
1366 case LayoutDocEntry::NamespaceNestedNamespaces:
1367 case LayoutDocEntry::NamespaceNestedConstantGroups:
1368 case LayoutDocEntry::NamespaceClasses:
1369 case LayoutDocEntry::NamespaceConcepts:
1370 case LayoutDocEntry::NamespaceInterfaces:
1371 case LayoutDocEntry::NamespaceStructs:
1372 case LayoutDocEntry::NamespaceExceptions:
1373 case LayoutDocEntry::NamespaceInlineClasses:
1374 case LayoutDocEntry::ConceptDefinition:
1375 case LayoutDocEntry::FileClasses:
1376 case LayoutDocEntry::FileConcepts:
1377 case LayoutDocEntry::FileInterfaces:
1378 case LayoutDocEntry::FileStructs:
1379 case LayoutDocEntry::FileExceptions:
1380 case LayoutDocEntry::FileNamespaces:
1381 case LayoutDocEntry::FileConstantGroups:
1382 case LayoutDocEntry::FileIncludes:
1383 case LayoutDocEntry::FileIncludeGraph:
1384 case LayoutDocEntry::FileIncludedByGraph:
1385 case LayoutDocEntry::FileSourceLink:
1386 case LayoutDocEntry::FileInlineClasses:
1387 case LayoutDocEntry::ModuleExports:
1388 case LayoutDocEntry::ModuleClasses:
1389 case LayoutDocEntry::ModuleConcepts:
1390 case LayoutDocEntry::ModuleUsedFiles:
1391 case LayoutDocEntry::DirSubDirs:
1392 case LayoutDocEntry::DirFiles:
1393 case LayoutDocEntry::DirGraph:
1394 err(
"Internal inconsistency: member '{}' should not be part of "
1395 "LayoutDocManager::Group entry list\n",lde->entryToString());
1404 if (!subgd->isReference())
1406 if (subgd->partOfGroups().front() ==
this)
1449 if (ml->listType().isDocumentation())
1451 ml->writeDocumentationPage(ol,
name(),
this,hierarchyLevel);
1467 if (md->getGroupDef()==
this && md->isLinkable() && !md->isEnumValue())
1469 if (md->isLinkableInProject())
1471 QCString fn = md->getOutputFileBase();
1518 "Found non-existing group '{}' for the command '{}', ignoring command",
1542 "Found non-existing group '{}' for the command '{}', ignoring command",
1562 "Found non-existing group '{}' for the command '{}', ignoring command",
1590 "Found non-existing group '{}' for the command '{}', ignoring command",
1613 "Found non-existing group '{}' for the command '{}', ignoring command",
1635 warn(root->
fileName,root->
startLine,
"Refusing to add group {} to group {}, since the latter is already a "
1636 "subgroup of the former", subGroup->
name(),gd->
name());
1647 "Found non-existing group '{}' for the command '{}', ignoring command",
1667 if (gd && g.
pri >= pri)
1669 if (fgd && gd!=fgd && g.
pri==pri)
1672 "Member {} found in multiple {} groups! "
1673 "The member will be put in group {}, and not in group {}",
1685 "Found non-existing group '{}' for the command '{}', ignoring command",
1697 bool insertit =
FALSE;
1704 bool moveit =
FALSE;
1724 "Member documentation for {} found several times in {} groups!\n"
1725 "{}:{}: The member will remain in group {}, and won't be put into group {}",
1794 "Found non-existing group '{}' for the command '{}', ignoring command",
1820 mg->addListReferences(
this);
1824 if (ml->listType().isDocumentation())
1826 ml->addListReferences(
this);
1836 ml->setNeedsSorting(
1837 (ml->listType().isDeclaration() && sortBriefDocs) ||
1838 (ml->listType().isDocumentation() && sortMemberDocs));
1850 for (
size_t i=0; i<vec.size(); i++)
1852 std::string qni = vec[i]->name().str();
1853 size_t posi = qni.rfind(
"::");
1854 if (posi!=std::string::npos)
1856 std::string scope = qni.substr(0,posi);
1857 auto it = std::find_if( vec.begin(), vec.end(),
1858 [&](
typename Vec::Ptr &cd)
1859 { return cd->name().str()==scope; });
1862 size_t idx = std::distance(vec.begin(),it);
1868 while (k<vec.size() && vec[k]->name().str().substr(0,posi)==scope)
1874 for (
size_t j=i; j<idx; j++)
1876 std::swap(vec[j],vec[j+1]);
1880 else if (idx<i && vec[i-1]->name().str().substr(0,posi)!=scope)
1885 while (idx<i && vec[idx]->name().str().substr(0,posi)==scope)
1890 for (
size_t j=idx; j<i; j++)
1892 std::swap(vec[j],vec[j+1]);
1906 if (ml->needsSorting()) { ml->sort(); ml->setNeedsSorting(
FALSE); }
1956 if (ml->listType()==lt)
1969 if (optimizeVhdl && ml)
1998 [](
const auto &g1,
const auto &g2)
1999 { return g1->groupTitle() < g2->groupTitle(); });
2007 err(
"Possible recursive group relation while inside {}\n",gd->
name());
2075 if (d==
nullptr)
return nullptr;
2088 if (d==
nullptr)
return nullptr;
2091 return static_cast<const GroupDef*
>(d);
This class represents an function or template argument list.
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.
virtual void setGroupDefForAllMembers(GroupDef *g, Grouping::GroupPri_t pri, const QCString &fileName, int startLine, bool hasDocs)=0
The common base class of all entity definitions found in the sources.
virtual SrcLangExt getLanguage() const =0
Returns the programming language this definition was written in.
virtual DefType definitionType() const =0
virtual bool isLinkableInProject() const =0
virtual bool isHidden() const =0
virtual const GroupList & partOfGroups() const =0
virtual Definition * getOuterScope() const =0
virtual const QCString & name() const =0
bool isReference() const override
const QCString & name() const override
bool hasUserDocumentation() const override
QCString inbodyFile() const override
bool hasBriefDescription() const override
QCString docFile() const override
QCString briefFile() const override
QCString qualifiedName() const override
void setLanguage(SrcLangExt lang) override
const RefItemVector & xrefListItems() const override
QCString briefDescription(bool abbreviate=FALSE) const override
DefinitionMixin(const QCString &defFileName, int defLine, int defColumn, const QCString &name, const char *b=nullptr, const char *d=nullptr, bool isSymbol=TRUE)
const GroupList & partOfGroups() const override
int getStartBodyLine() const override
QCString inbodyDocumentation() const override
int docLine() const override
int inbodyLine() const override
int briefLine() const override
QCString documentation() const override
void writeDocAnchorsToTagFile(TextStream &fs) const override
SrcLangExt getLanguage() const override
virtual void makePartOfGroup(GroupDef *gd)=0
A model of a directory symbol.
Representation of a group collaboration graph.
static bool suppressDocWarnings
static GroupLinkedMap * groupLinkedMap
Represents an unstructured piece of information, about an entity found in the sources.
QCString fileName
file this entry was extracted from
std::vector< Grouping > groups
list of groups this entry belongs to
int startLine
start line of entry in the source
QCString doc
documentation block (partly parsed)
A model of a file symbol.
A model of a group of symbols.
virtual void addDir(DirDef *dd)=0
virtual void addExample(PageDef *def)=0
virtual const GroupList & getSubGroups() const =0
virtual bool addClass(ClassDef *def)=0
virtual bool addModule(ModuleDef *def)=0
virtual void removeMember(MemberDef *md)=0
virtual bool addNamespace(NamespaceDef *def)=0
virtual void addGroup(GroupDef *def)=0
virtual bool insertMember(MemberDef *def, bool docOnly=FALSE)=0
virtual bool findGroup(const GroupDef *def) const =0
virtual bool addConcept(ConceptDef *def)=0
ConceptLinkedRefMap m_concepts
const ModuleLinkedRefMap & getModules() const override
void endMemberDeclarations(OutputList &ol)
void startMemberDocumentation(OutputList &ol)
void setGroupScope(Definition *d) override
bool isLinkable() const override
bool addNamespace(NamespaceDef *def) override
Definition * getGroupScope() const override
bool hasGroupTitle() const override
QCString groupTitle() const override
QCString anchor() const override
void removeMemberFromList(MemberListType lt, MemberDef *md)
bool hasGroupGraph() const override
void writeSummaryLinks(OutputList &ol) const override
void startMemberDeclarations(OutputList &ol)
void writeNamespaces(OutputList &ol, const QCString &title)
bool findGroup(const GroupDef *def) const override
void writeDirs(OutputList &ol, const QCString &title)
QCString displayName(bool=TRUE) const override
void sortMemberLists() override
NamespaceLinkedRefMap m_namespaces
void writeInlineClasses(OutputList &ol)
CodeSymbolType codeSymbolType() const override
const MemberGroupList & getMemberGroups() const override
void removeMember(MemberDef *md) override
void setGroupTitleLocal(const QCString &title)
void addPage(PageDef *def) override
void writeMemberDeclarations(OutputList &ol, MemberListType lt, const QCString &title)
void writeModules(OutputList &ol, const QCString &title)
MemberList * getMemberList(MemberListType lt) const override
bool isASubGroup() const override
bool subGrouping() const override
ModuleLinkedRefMap m_modules
GroupDefImpl(const QCString &fileName, int line, const QCString &name, const QCString &title, const QCString &refFileName=QCString())
void addGroup(GroupDef *def) override
void addDir(DirDef *dd) override
MemberGroupList m_memberGroups
bool addModule(ModuleDef *def) override
void addMembersToMemberGroup() override
PageLinkedRefMap m_examples
void writeTagFile(TextStream &) override
MemberList m_allMemberList
void writeGroupGraph(OutputList &ol)
bool isVisibleInHierarchy() const override
void writeAuthorSection(OutputList &ol)
void endMemberDocumentation(OutputList &ol)
void sortSubGroups() override
bool addClass(ClassDef *def) override
void updateLanguage(const Definition *)
void findSectionsInDocumentation() override
const GroupList & getSubGroups() const override
bool insertMember(MemberDef *def, bool docOnly=FALSE) override
const DirList & getDirs() const override
void addMemberListToGroup(MemberList *, bool(MemberDef::*)() const)
const PageLinkedRefMap & getExamples() const override
void addFile(FileDef *def) override
bool hasDetailedDescription() const override
void overrideGroupGraph(bool e) override
const FileList & getFiles() const override
void writePageDocumentation(OutputList &ol)
const NamespaceLinkedRefMap & getNamespaces() const override
const PageLinkedRefMap & getPages() const override
void writeMemberGroups(OutputList &ol)
Definition * m_groupScope
ClassLinkedRefMap m_classes
void writeMemberPages(OutputList &ol, int hierarchyLevel) override
const MemberLists & getMemberLists() const override
QCString getOutputFileBase() const override
const ClassLinkedRefMap & getClasses() const override
void writePageNavigation(OutputList &ol) const override
MemberNameInfoLinkedMap m_allMemberNameInfoLinkedMap
void writeFiles(OutputList &ol, const QCString &title)
void writeMemberDocumentation(OutputList &ol, MemberListType lt, const QCString &title)
void writeConcepts(OutputList &ol, const QCString &title)
bool addConcept(ConceptDef *def) override
DefType definitionType() const override
void writeNestedGroups(OutputList &ol, const QCString &title)
void writeDetailedDescription(OutputList &ol, const QCString &title)
void distributeMemberGroupDocumentation() override
void computeAnchors() override
void writeQuickMemberLinks(OutputList &ol, const MemberDef *currentMd) const override
void addListReferences() override
bool containsFile(const FileDef *def) const override
void countMembers() override
bool isLinkableInProject() const override
MemberLists m_memberLists
size_t numDocMembers() const override
void addMemberToList(MemberListType lt, MemberDef *md)
const ConceptLinkedRefMap & getConcepts() const override
void writeDocumentation(OutputList &ol) override
void setGroupTitle(const QCString &newtitle) override
void writeBriefDescription(OutputList &ol)
void addExample(PageDef *def) override
void writeClasses(OutputList &ol, const QCString &title)
static LayoutDocManager & instance()
Returns a reference to this singleton.
A model of a class/file/namespace member symbol.
virtual bool getGroupHasDocs() const =0
virtual const ClassDef * getClassDef() const =0
virtual const MemberDef * getGroupAlias() const =0
virtual const ArgumentList & templateArguments() const =0
virtual GroupDef * getGroupDef()=0
virtual const MemberVector & enumFieldList() const =0
virtual const FileDef * getFileDef() const =0
virtual const ArgumentList & argumentList() const =0
virtual int getGroupStartLine() const =0
virtual bool isFunction() const =0
virtual ClassDef * getClassDefOfAnonymousType() const =0
virtual Grouping::GroupPri_t getGroupPri() const =0
virtual Protection protection() const =0
virtual bool isEnumerate() const =0
virtual MemberType memberType() const =0
virtual QCString memberTypeName() const =0
virtual QCString getGroupFileName() const =0
virtual bool isStrong() const =0
virtual Specifier virtualness(int count=0) const =0
virtual void setGroupAlias(const MemberDef *md)=0
virtual void setGroupDef(GroupDef *gd, Grouping::GroupPri_t pri, const QCString &fileName, int startLine, bool hasDocs, MemberDef *member=nullptr)=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, const QCString &anchor, bool showEnumValues=FALSE, bool showInline=FALSE) const
Wrapper class for the MemberListType type.
constexpr const char * toLabel() const noexcept
void remove(const MemberDef *md)
An abstract interface of a namespace symbol.
Class representing a list of output generators that are written to in parallel.
void writeDoc(const IDocNodeAST *ast, const Definition *ctx, const MemberDef *md, int sectionLevel=-1)
void endTextBlock(bool paraBreak=FALSE)
void writeString(const QCString &text)
void startMemberDeclaration()
void startIndexItem(const QCString &ref, const QCString &file)
void endTitleHead(const QCString &fileName, const QCString &name)
void endSection(const QCString &lab, SectionType t)
void disable(OutputType o)
void startTitleHead(const QCString &fileName)
void endGroupCollaboration(DotGroupCollaboration &g)
void startGroupHeader(const QCString &id=QCString(), int extraLevels=0)
void enable(OutputType o)
void endMemberDescription()
void writeObjectLink(const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name)
void startGroupCollaboration()
void startMemberDescription(const QCString &anchor, const QCString &inheritId=QCString(), bool typ=false)
void endIndexItem(const QCString &ref, const QCString &file)
void startHeaderSection()
void docify(const QCString &s)
void generateDoc(const QCString &fileName, int startLine, const Definition *ctx, const MemberDef *md, const QCString &docStr, const DocOptions &options)
void startParagraph(const QCString &classDef=QCString())
void startTextBlock(bool dense=FALSE)
void startMemberSections()
void endMemberItem(OutputGenerator::MemberItemType type)
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 writePageLink(const QCString &name, bool first)
void startMemberItem(const QCString &anchor, OutputGenerator::MemberItemType type, const QCString &id=QCString())
void parseText(const QCString &textStr)
void startSection(const QCString &lab, const QCString &title, SectionType t)
void startTextLink(const QCString &file, const QCString &anchor)
void startMemberHeader(const QCString &anchor, int typ=2)
A model of a page symbol.
This is an alternative implementation of QCString.
QCString & prepend(const char *s)
size_t length() const
Returns the length of the string, not counting the 0-terminator.
bool isEmpty() const
Returns TRUE iff the string is empty.
class that provide information about a section.
static SectionManager & instance()
returns a reference to the singleton
static constexpr int Subsection
Text streaming class that buffers data.
static void writeVhdlDeclarations(const MemberList *, OutputList &, const GroupDef *, const ClassDef *, const FileDef *, const NamespaceDef *, const ModuleDef *)
ClassDefMutable * toClassDefMutable(Definition *d)
ConceptDefMutable * toConceptDefMutable(Definition *d)
#define Config_getInt(name)
#define Config_getBool(name)
#define Config_getString(name)
#define NON_COPYABLE(cls)
Macro to help implementing the rule of 5 for a non-copyable & movable class.
bool compareDirDefs(const DirDef *item1, const DirDef *item2)
void docFindSections(const QCString &input, const Definition *d, const QCString &fileName)
IDocNodeASTPtr validatingParseDoc(IDocParser &parserIntf, const QCString &fileName, int startLine, const Definition *ctx, const MemberDef *md, const QCString &input, const DocOptions &options)
IDocParserPtr createDocParser()
factory function to create a parser
static void writeTagFile()
bool compareFileDefs(const FileDef *fd1, const FileDef *fd2)
void addNamespaceToGroups(const Entry *root, NamespaceDef *nd)
void addGroupToGroups(const Entry *root, GroupDef *subGroup)
void addClassToGroups(const Entry *root, ClassDef *cd)
void addDirToGroups(const Entry *root, DirDef *dd)
static void groupClassesWithSameScope(Vec &vec)
void addModuleToGroups(const Entry *root, ModuleDef *mod)
std::unique_ptr< GroupDef > createGroupDef(const QCString &fileName, int line, const QCString &name, const QCString &title, const QCString &refFileName)
GroupDef * toGroupDef(Definition *d)
void addConceptToGroups(const Entry *root, ConceptDef *cd)
static bool hasNonReferenceNestedGroupRec(const GroupDef *gd, int level)
void addExampleToGroups(const Entry *root, PageDef *eg)
void addMemberToGroups(const Entry *root, MemberDef *md)
void endFile(OutputList &ol, bool skipNavIndex, bool skipEndContents, const QCString &navPath)
void startFile(OutputList &ol, const QCString &name, bool isSource, const QCString &manName, const QCString &title, HighlightedItem hli, bool additionalIndices, const QCString &altSidebarName, int hierarchyLevel, const QCString &allMembersFile)
Translator * theTranslator
MemberDefMutable * toMemberDefMutable(Definition *d)
#define warn_uncond(fmt,...)
#define warn(file, line, fmt,...)
NamespaceDefMutable * toNamespaceDefMutable(Definition *d)
int qstricmp_sort(const char *str1, const char *str2)
std::vector< RefItem * > RefItemVector
Web server based search engine.
QCString groupname
name of the group
static constexpr const char * getGroupPriName(GroupPri_t priority) noexcept
GroupPri_t
Grouping priority.
@ GROUPING_INGROUP
membership in group was defined by @ingroup
GroupPri_t pri
priority of this definition
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
QCString convertToHtml(const QCString &s, bool keepEntities)
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)
void createSubDirs(const Dir &d)
bool matchArguments2(const Definition *srcScope, const FileDef *srcFileScope, const ArgumentList *srcAl, const Definition *dstScope, const FileDef *dstFileScope, const ArgumentList *dstAl, bool checkCV, SrcLangExt lang)
QCString convertToXML(const QCString &s, bool keepEntities)
void addHtmlExtensionIfMissing(QCString &fName)
A bunch of utility functions.