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 ol.
endIndexItem(gd->getReference(),gd->getOutputFileBase());
1004 if (!gd->briefDescription().isEmpty() &&
Config_getBool(BRIEF_MEMBER_DESC))
1011 gd->briefDescription(),
1013 .setSingleLine(
true));
1034 if (!dd->hasDocumentation())
continue;
1037 if (anc.
isEmpty()) anc=dd->shortName();
else anc.
prepend(dd->shortName()+
"_");
1043 if (!dd->briefDescription().isEmpty() &&
Config_getBool(BRIEF_MEMBER_DESC))
1050 dd->briefDescription(),
1052 .setSingleLine(
true));
1088 for (
const auto *pd :
m_pages)
1090 if (!pd->isReference())
1093 if (pd->hasTitle() && !pd->name().isEmpty() &&
1105 (pd->documentation()+pd->inbodyDocumentation()),
1107 .setIndexWords(
true));
1118 mg->writeDeclarations(ol,
nullptr,
nullptr,
nullptr,
this,
nullptr);
1173 if ((lde->kind()==LayoutDocEntry::GroupClasses &&
m_classes.declVisible()) ||
1174 (lde->kind()==LayoutDocEntry::GroupConcepts &&
m_concepts.declVisible()) ||
1175 (lde->kind()==LayoutDocEntry::GroupModules &&
m_modules.declVisible()) ||
1176 (lde->kind()==LayoutDocEntry::GroupNamespaces &&
m_namespaces.declVisible(
false)) ||
1177 (lde->kind()==LayoutDocEntry::GroupFiles && !
m_fileList.empty()) ||
1178 (lde->kind()==LayoutDocEntry::GroupNestedGroups && !
m_groups.empty()) ||
1179 (lde->kind()==LayoutDocEntry::GroupDirs && !
m_dirList.empty())
1185 QCString label = lde->kind()==LayoutDocEntry::GroupClasses ?
"nested-classes" :
1186 lde->kind()==LayoutDocEntry::GroupConcepts ?
"concepts" :
1187 lde->kind()==LayoutDocEntry::GroupModules ?
"modules" :
1188 lde->kind()==LayoutDocEntry::GroupNamespaces ?
"namespaces" :
1189 lde->kind()==LayoutDocEntry::GroupFiles ?
"files" :
1190 lde->kind()==LayoutDocEntry::GroupNestedGroups ?
"groups" :
1196 else if (lde->kind()==LayoutDocEntry::MemberDecl)
1228 int hierarchyLevel = 0;
1240 bool writeOutlinePanel = generateTreeView &&
Config_getBool(PAGE_OUTLINE_PANEL);
1252 .setIndexWords(
true)
1253 .setSingleLine(
true)
1254 .setAutolinkSupport(
false));
1284 switch (lde->kind())
1286 case LayoutDocEntry::BriefDesc:
1289 case LayoutDocEntry::MemberDeclStart:
1292 case LayoutDocEntry::GroupClasses:
1295 case LayoutDocEntry::GroupConcepts:
1298 case LayoutDocEntry::GroupModules:
1301 case LayoutDocEntry::GroupInlineClasses:
1304 case LayoutDocEntry::GroupNamespaces:
1307 case LayoutDocEntry::MemberGroups:
1310 case LayoutDocEntry::MemberDecl:
1319 case LayoutDocEntry::MemberDeclEnd:
1322 case LayoutDocEntry::DetailedDesc:
1325 case LayoutDocEntry::MemberDefStart:
1328 case LayoutDocEntry::MemberDef:
1337 case LayoutDocEntry::MemberDefEnd:
1340 case LayoutDocEntry::GroupNestedGroups:
1343 case LayoutDocEntry::GroupPageDocs:
1346 case LayoutDocEntry::GroupDirs:
1349 case LayoutDocEntry::GroupFiles:
1352 case LayoutDocEntry::GroupGraph:
1355 case LayoutDocEntry::AuthorSection:
1358 case LayoutDocEntry::ClassIncludes:
1359 case LayoutDocEntry::ClassInheritanceGraph:
1360 case LayoutDocEntry::ClassNestedClasses:
1361 case LayoutDocEntry::ClassCollaborationGraph:
1362 case LayoutDocEntry::ClassAllMembersLink:
1363 case LayoutDocEntry::ClassUsedFiles:
1364 case LayoutDocEntry::ClassInlineClasses:
1365 case LayoutDocEntry::NamespaceNestedNamespaces:
1366 case LayoutDocEntry::NamespaceNestedConstantGroups:
1367 case LayoutDocEntry::NamespaceClasses:
1368 case LayoutDocEntry::NamespaceConcepts:
1369 case LayoutDocEntry::NamespaceInterfaces:
1370 case LayoutDocEntry::NamespaceStructs:
1371 case LayoutDocEntry::NamespaceExceptions:
1372 case LayoutDocEntry::NamespaceInlineClasses:
1373 case LayoutDocEntry::ConceptDefinition:
1374 case LayoutDocEntry::FileClasses:
1375 case LayoutDocEntry::FileConcepts:
1376 case LayoutDocEntry::FileInterfaces:
1377 case LayoutDocEntry::FileStructs:
1378 case LayoutDocEntry::FileExceptions:
1379 case LayoutDocEntry::FileNamespaces:
1380 case LayoutDocEntry::FileConstantGroups:
1381 case LayoutDocEntry::FileIncludes:
1382 case LayoutDocEntry::FileIncludeGraph:
1383 case LayoutDocEntry::FileIncludedByGraph:
1384 case LayoutDocEntry::FileSourceLink:
1385 case LayoutDocEntry::FileInlineClasses:
1386 case LayoutDocEntry::ModuleExports:
1387 case LayoutDocEntry::ModuleClasses:
1388 case LayoutDocEntry::ModuleConcepts:
1389 case LayoutDocEntry::ModuleUsedFiles:
1390 case LayoutDocEntry::DirSubDirs:
1391 case LayoutDocEntry::DirFiles:
1392 case LayoutDocEntry::DirGraph:
1393 err(
"Internal inconsistency: member '{}' should not be part of "
1394 "LayoutDocManager::Group entry list\n",lde->entryToString());
1403 if (!subgd->isReference())
1405 if (subgd->partOfGroups().front() ==
this)
1448 if (ml->listType().isDocumentation())
1450 ml->writeDocumentationPage(ol,
name(),
this,hierarchyLevel);
1466 if (md->getGroupDef()==
this && md->isLinkable() && !md->isEnumValue())
1468 if (md->isLinkableInProject())
1470 QCString fn = md->getOutputFileBase();
1517 "Found non-existing group '{}' for the command '{}', ignoring command",
1541 "Found non-existing group '{}' for the command '{}', ignoring command",
1561 "Found non-existing group '{}' for the command '{}', ignoring command",
1589 "Found non-existing group '{}' for the command '{}', ignoring command",
1612 "Found non-existing group '{}' for the command '{}', ignoring command",
1634 warn(root->
fileName,root->
startLine,
"Refusing to add group {} to group {}, since the latter is already a "
1635 "subgroup of the former", subGroup->
name(),gd->
name());
1646 "Found non-existing group '{}' for the command '{}', ignoring command",
1666 if (gd && g.
pri >= pri)
1668 if (fgd && gd!=fgd && g.
pri==pri)
1671 "Member {} found in multiple {} groups! "
1672 "The member will be put in group {}, and not in group {}",
1684 "Found non-existing group '{}' for the command '{}', ignoring command",
1696 bool insertit =
FALSE;
1703 bool moveit =
FALSE;
1723 "Member documentation for {} found several times in {} groups!\n"
1724 "{}:{}: The member will remain in group {}, and won't be put into group {}",
1793 "Found non-existing group '{}' for the command '{}', ignoring command",
1819 mg->addListReferences(
this);
1823 if (ml->listType().isDocumentation())
1825 ml->addListReferences(
this);
1835 ml->setNeedsSorting(
1836 (ml->listType().isDeclaration() && sortBriefDocs) ||
1837 (ml->listType().isDocumentation() && sortMemberDocs));
1849 for (
size_t i=0; i<vec.size(); i++)
1851 std::string qni = vec[i]->name().str();
1852 size_t posi = qni.rfind(
"::");
1853 if (posi!=std::string::npos)
1855 std::string scope = qni.substr(0,posi);
1856 auto it = std::find_if( vec.begin(), vec.end(),
1857 [&](
typename Vec::Ptr &cd)
1858 { return cd->name().str()==scope; });
1861 size_t idx = std::distance(vec.begin(),it);
1867 while (k<vec.size() && vec[k]->name().str().substr(0,posi)==scope)
1873 for (
size_t j=i; j<idx; j++)
1875 std::swap(vec[j],vec[j+1]);
1879 else if (idx<i && vec[i-1]->name().str().substr(0,posi)!=scope)
1884 while (idx<i && vec[idx]->name().str().substr(0,posi)==scope)
1889 for (
size_t j=idx; j<i; j++)
1891 std::swap(vec[j],vec[j+1]);
1905 if (ml->needsSorting()) { ml->sort(); ml->setNeedsSorting(
FALSE); }
1955 if (ml->listType()==lt)
1968 if (optimizeVhdl && ml)
1997 [](
const auto &g1,
const auto &g2)
1998 { return g1->groupTitle() < g2->groupTitle(); });
2006 err(
"Possible recursive group relation while inside {}\n",gd->
name());
2074 if (d==
nullptr)
return nullptr;
2087 if (d==
nullptr)
return nullptr;
2090 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
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
GroupPri_t
Grouping priority.
@ GROUPING_INGROUP
membership in group was defined by @ingroup
static const char * getGroupPriName(GroupPri_t priority)
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.