Doxygen
GroupDefImpl类 参考
+ 类 GroupDefImpl 继承关系图:
+ GroupDefImpl 的协作图:

Public 成员函数

 GroupDefImpl (const QCString &fileName, int line, const QCString &name, const QCString &title, const QCString &refFileName=QCString())
 
virtual ~GroupDefImpl ()
 
virtual DefType definitionType () const
 
virtual CodeSymbolType codeSymbolType () const
 
virtual QCString getOutputFileBase () const
 
virtual QCString anchor () const
 
virtual QCString displayName (bool=TRUE) const
 
virtual QCString groupTitle () const
 
virtual void setGroupTitle (const QCString &newtitle)
 
virtual bool hasGroupTitle () const
 
virtual void addFile (const FileDef *def)
 
virtual bool addClass (const ClassDef *def)
 
virtual bool addConcept (const ConceptDef *def)
 
virtual bool addNamespace (const NamespaceDef *def)
 
virtual void addGroup (const GroupDef *def)
 
virtual void addPage (const PageDef *def)
 
virtual void addExample (const PageDef *def)
 
virtual void addDir (DirDef *dd)
 
virtual bool insertMember (const MemberDef *def, bool docOnly=FALSE)
 
virtual void removeMember (MemberDef *md)
 
virtual bool findGroup (const GroupDef *def) const
 
virtual void writeDocumentation (OutputList &ol)
 
virtual void writeMemberPages (OutputList &ol)
 
virtual void writeQuickMemberLinks (OutputList &ol, const MemberDef *currentMd) const
 
virtual void writeTagFile (TextStream &)
 
virtual size_t numDocMembers () const
 
virtual bool isLinkableInProject () const
 
virtual bool isLinkable () const
 
virtual bool isASubGroup () const
 
virtual void computeAnchors ()
 
virtual void countMembers ()
 
virtual void addMembersToMemberGroup ()
 
virtual void distributeMemberGroupDocumentation ()
 
virtual void findSectionsInDocumentation ()
 
virtual void addListReferences ()
 
virtual void sortMemberLists ()
 
virtual bool subGrouping () const
 
virtual void setGroupScope (Definition *d)
 
virtual DefinitiongetGroupScope () const
 
virtual MemberListgetMemberList (MemberListType lt) const
 
virtual const MemberListsgetMemberLists () const
 
virtual const MemberGroupListgetMemberGroups () const
 
virtual const FileListgetFiles () const
 
virtual const ClassLinkedRefMapgetClasses () const
 
virtual const ConceptLinkedRefMapgetConcepts () const
 
virtual const NamespaceLinkedRefMapgetNamespaces () const
 
virtual const GroupListgetSubGroups () const
 
virtual const PageLinkedRefMapgetPages () const
 
virtual const DirListgetDirs () const
 
virtual const PageLinkedRefMapgetExamples () const
 
virtual bool hasDetailedDescription () const
 
virtual void sortSubGroups ()
 
- Public 成员函数 继承自 DefinitionMixin< GroupDef >
 DefinitionMixin (const QCString &defFileName, int defLine, int defColumn, const QCString &name, const char *b=0, const char *d=0, bool isSymbol=TRUE)
 
virtual ~DefinitionMixin ()
 
virtual bool isAlias () const
 
virtual QCString name () const
 
virtual bool isAnonymous () const
 
virtual QCString localName () const
 
virtual QCString qualifiedName () const
 
virtual QCString symbolName () const
 
virtual QCString getSourceFileBase () const
 
virtual QCString getSourceAnchor () const
 
virtual QCString documentation () const
 
virtual int docLine () const
 
virtual QCString docFile () const
 
virtual QCString briefDescription (bool abbreviate=FALSE) const
 
virtual QCString briefDescriptionAsTooltip () const
 
virtual int briefLine () const
 
virtual QCString inbodyDocumentation () const
 
virtual QCString inbodyFile () const
 
virtual int inbodyLine () const
 
virtual QCString briefFile () const
 
virtual QCString getDefFileName () const
 
virtual QCString getDefFileExtension () const
 
virtual int getDefLine () const
 
virtual int getDefColumn () const
 
virtual bool hasDocumentation () const
 
virtual bool hasUserDocumentation () const
 
virtual bool isVisibleInProject () const
 
virtual bool isVisible () const
 
virtual bool isHidden () const
 
virtual bool isArtificial () const
 
virtual QCString getReference () const
 
virtual bool isReference () const
 
virtual QCString externalReference (const QCString &relPath) const
 
virtual int getStartDefLine () const
 
virtual int getStartBodyLine () const
 
virtual int getEndBodyLine () const
 
virtual const FileDefgetBodyDef () const
 
virtual SrcLangExt getLanguage () const
 
virtual const GroupListpartOfGroups () const
 
virtual bool isLinkableViaGroup () const
 
virtual const RefItemVectorxrefListItems () const
 
virtual const DefinitionfindInnerCompound (const QCString &name) const
 
virtual DefinitiongetOuterScope () const
 
virtual const MemberVectorgetReferencesMembers () const
 
virtual const MemberVectorgetReferencedByMembers () const
 
virtual bool hasSections () const
 
virtual bool hasSources () const
 
virtual bool hasBriefDescription () const
 
virtual QCString id () const
 
virtual const SectionRefsgetSectionRefs () const
 
virtual void setName (const QCString &name)
 
virtual void setId (const QCString &name)
 
virtual void setDefFile (const QCString &df, int defLine, int defColumn)
 
virtual void setDocumentation (const QCString &doc, const QCString &docFile, int docLine, bool stripWhiteSpace=TRUE)
 
virtual void setBriefDescription (const QCString &brief, const QCString &briefFile, int briefLine)
 
virtual void setInbodyDocumentation (const QCString &doc, const QCString &docFile, int docLine)
 
virtual void setReference (const QCString &r)
 
virtual void addSectionsToDefinition (const std::vector< const SectionInfo * > &anchorList)
 
virtual void setBodySegment (int defLine, int bls, int ble)
 
virtual void setBodyDef (const FileDef *fd)
 
virtual void addSourceReferencedBy (const MemberDef *md)
 
virtual void addSourceReferences (const MemberDef *md)
 
virtual void setRefItems (const RefItemVector &sli)
 
virtual void mergeRefItems (Definition *def)
 
virtual void mergeReferences (const Definition *other)
 
virtual void mergeReferencedBy (const Definition *other)
 
virtual void addInnerCompound (const Definition *def)
 
virtual void setOuterScope (Definition *def)
 
virtual void setHidden (bool b)
 
virtual void setArtificial (bool b)
 
virtual void setLanguage (SrcLangExt lang)
 
virtual void writeSourceDef (OutputList &ol, const QCString &scopeName) const
 
virtual void writeInlineCode (OutputList &ol, const QCString &scopeName) const
 
virtual bool hasSourceRefs () const
 
virtual bool hasSourceReffedBy () const
 
virtual void writeSourceRefs (OutputList &ol, const QCString &scopeName) const
 
virtual void writeSourceReffedBy (OutputList &ol, const QCString &scopeName) const
 
virtual void makePartOfGroup (const GroupDef *gd)
 
virtual void writeNavigationPath (OutputList &ol) const
 
virtual QCString navigationPathAsString () const
 
virtual QCString pathFragment () const
 
virtual void writeDocAnchorsToTagFile (TextStream &fs) const
 
virtual void setLocalName (const QCString &name)
 
virtual void addSectionsToIndex ()
 
virtual void writeToc (OutputList &ol, const LocalToc &lt) const
 
virtual void computeTooltip ()
 
virtual void _setSymbolName (const QCString &name)
 
virtual QCString _symbolName () const
 
- Public 成员函数 继承自 GroupDef
 ~GroupDef ()
 
- Public 成员函数 继承自 DefinitionMutable
virtual bool hasSourceRefs () const =0
 
virtual bool hasSourceReffedBy () const =0
 
virtual ~DefinitionMutable ()=default
 
- Public 成员函数 继承自 Definition
virtual bool isAlias () const =0
 
virtual QCString name () const =0
 
virtual bool isAnonymous () const =0
 
virtual QCString localName () const =0
 
virtual QCString qualifiedName () const =0
 
virtual QCString symbolName () const =0
 
virtual QCString getSourceFileBase () const =0
 
virtual QCString getSourceAnchor () const =0
 
virtual QCString documentation () const =0
 
virtual int docLine () const =0
 
virtual QCString docFile () const =0
 
virtual QCString briefDescriptionAsTooltip () const =0
 
virtual int briefLine () const =0
 
virtual QCString inbodyDocumentation () const =0
 
virtual QCString inbodyFile () const =0
 
virtual int inbodyLine () const =0
 
virtual QCString briefFile () const =0
 
virtual QCString getDefFileName () const =0
 
virtual QCString getDefFileExtension () const =0
 
virtual int getDefLine () const =0
 
virtual int getDefColumn () const =0
 
virtual bool hasDocumentation () const =0
 
virtual bool hasUserDocumentation () const =0
 
virtual bool isVisibleInProject () const =0
 
virtual bool isVisible () const =0
 
virtual bool isHidden () const =0
 
virtual bool isArtificial () const =0
 
virtual QCString getReference () const =0
 
virtual bool isReference () const =0
 
virtual int getStartDefLine () const =0
 
virtual int getStartBodyLine () const =0
 
virtual int getEndBodyLine () const =0
 
virtual const FileDefgetBodyDef () const =0
 
virtual SrcLangExt getLanguage () const =0
 Returns the programming language this definition was written in. 更多...
 
virtual const GroupListpartOfGroups () const =0
 
virtual bool isLinkableViaGroup () const =0
 
virtual const RefItemVectorxrefListItems () const =0
 
virtual DefinitiongetOuterScope () const =0
 
virtual const MemberVectorgetReferencesMembers () const =0
 
virtual const MemberVectorgetReferencedByMembers () const =0
 
virtual bool hasSections () const =0
 
virtual bool hasSources () const =0
 
virtual bool hasBriefDescription () const =0
 returns TRUE if this class has a brief description 更多...
 
virtual QCString id () const =0
 
virtual const SectionRefsgetSectionRefs () const =0
 returns the section dictionary, only of importance for pagedef 更多...
 
virtual QCString navigationPathAsString () const =0
 
virtual QCString pathFragment () const =0
 
virtual QCString _symbolName () const =0
 
virtual ~Definition ()=default
 

Private 成员函数

void addMemberListToGroup (MemberList *, bool(MemberDef::*)() const)
 
void addMemberToList (MemberListType lt, const MemberDef *md)
 
void writeMemberDeclarations (OutputList &ol, MemberListType lt, const QCString &title)
 
void writeMemberDocumentation (OutputList &ol, MemberListType lt, const QCString &title)
 
void removeMemberFromList (MemberListType lt, MemberDef *md)
 
void writeGroupGraph (OutputList &ol)
 
void writeFiles (OutputList &ol, const QCString &title)
 
void writeNamespaces (OutputList &ol, const QCString &title)
 
void writeNestedGroups (OutputList &ol, const QCString &title)
 
void writeDirs (OutputList &ol, const QCString &title)
 
void writeClasses (OutputList &ol, const QCString &title)
 
void writeConcepts (OutputList &ol, const QCString &title)
 
void writeInlineClasses (OutputList &ol)
 
void writePageDocumentation (OutputList &ol)
 
void writeDetailedDescription (OutputList &ol, const QCString &title)
 
void writeBriefDescription (OutputList &ol)
 
void writeMemberGroups (OutputList &ol)
 
void startMemberDeclarations (OutputList &ol)
 
void endMemberDeclarations (OutputList &ol)
 
void startMemberDocumentation (OutputList &ol)
 
void endMemberDocumentation (OutputList &ol)
 
void writeAuthorSection (OutputList &ol)
 
void writeSummaryLinks (OutputList &ol) const
 
void updateLanguage (const Definition *)
 

Private 属性

QCString m_title
 
bool m_titleSet
 
QCString m_fileName
 
FileList m_fileList
 
ClassLinkedRefMap m_classes
 
ConceptLinkedRefMap m_concepts
 
NamespaceLinkedRefMap m_namespaces
 
GroupList m_groups
 
PageLinkedRefMap m_pages
 
PageLinkedRefMap m_examples
 
DirList m_dirList
 
MemberList m_allMemberList
 
MemberNameInfoLinkedMap m_allMemberNameInfoLinkedMap
 
Definitionm_groupScope
 
MemberLists m_memberLists
 
MemberGroupList m_memberGroups
 
bool m_subGrouping
 

额外继承的成员函数

- Public 类型 继承自 Definition
enum  DefType {
  TypeClass = 0, TypeFile = 1, TypeNamespace = 2, TypeMember = 3,
  TypeGroup = 4, TypePackage = 5, TypePage = 6, TypeDir = 7,
  TypeConcept = 8
}
 
- Protected 成员函数 继承自 DefinitionMixin< GroupDef >
 DefinitionMixin (const DefinitionMixin &def)=default
 

详细描述

在文件 groupdef.cpp52 行定义.

构造及析构函数说明

◆ GroupDefImpl()

GroupDefImpl::GroupDefImpl ( const QCString fileName,
int  line,
const QCString name,
const QCString title,
const QCString refFileName = QCString() 
)

在文件 groupdef.cpp171 行定义.

172  : DefinitionMixin(df,dl,1,na),
174 {
175  if (!refFileName.isEmpty())
176  {
177  m_fileName=stripExtension(refFileName);
178  }
179  else
180  {
181  m_fileName = convertNameToFile(QCString("group_")+na);
182  }
183  setGroupTitle( t );
184 
185  //visited = 0;
186  m_groupScope = 0;
187  m_subGrouping=Config_getBool(SUBGROUPING);
188 }

◆ ~GroupDefImpl()

GroupDefImpl::~GroupDefImpl ( )
virtual

在文件 groupdef.cpp190 行定义.

191 {
192 }

成员函数说明

◆ addClass()

bool GroupDefImpl::addClass ( const ClassDef def)
virtual

实现了 GroupDef.

在文件 groupdef.cpp251 行定义.

252 {
253  if (cd->isHidden()) return FALSE;
254  updateLanguage(cd);
255  QCString qn = cd->name();
256  if (m_classes.find(qn)==0)
257  {
258  m_classes.add(qn,cd);
259  return TRUE;
260  }
261  return FALSE;
262 }

引用了 LinkedRefMap< T, Hash, KeyEqual, Map >::add(), FALSE, LinkedRefMap< T, Hash, KeyEqual, Map >::find(), Definition::isHidden(), m_classes, Definition::name(), TRUE , 以及 updateLanguage().

◆ addConcept()

bool GroupDefImpl::addConcept ( const ConceptDef def)
virtual

实现了 GroupDef.

在文件 groupdef.cpp264 行定义.

265 {
266  if (cd->isHidden()) return FALSE;
267  QCString qn = cd->name();
268  if (m_concepts.find(qn)==0)
269  {
270  m_concepts.add(qn,cd);
271  return TRUE;
272  }
273  return FALSE;
274 }

引用了 LinkedRefMap< T, Hash, KeyEqual, Map >::add(), FALSE, LinkedRefMap< T, Hash, KeyEqual, Map >::find(), Definition::isHidden(), m_concepts, Definition::name() , 以及 TRUE.

◆ addDir()

void GroupDefImpl::addDir ( DirDef dd)
virtual

实现了 GroupDef.

在文件 groupdef.cpp289 行定义.

290 {
291  if (def->isHidden()) return;
292  m_dirList.push_back(def);
293 }

引用了 Definition::isHidden() , 以及 m_dirList.

◆ addExample()

void GroupDefImpl::addExample ( const PageDef def)
virtual

实现了 GroupDef.

在文件 groupdef.cpp303 行定义.

304 {
305  if (def->isHidden()) return;
306  m_examples.add(def->name(),def);
307 }

引用了 LinkedRefMap< T, Hash, KeyEqual, Map >::add(), Definition::isHidden(), m_examples , 以及 Definition::name().

◆ addFile()

void GroupDefImpl::addFile ( const FileDef def)
virtual

实现了 GroupDef.

在文件 groupdef.cpp237 行定义.

238 {
239  static bool sortBriefDocs = Config_getBool(SORT_BRIEF_DOCS);
240  if (def->isHidden()) return;
241  updateLanguage(def);
242  if (sortBriefDocs)
243  m_fileList.insert( std::upper_bound( m_fileList.begin(), m_fileList.end(), def,
244  [](const auto &fd1, const auto &fd2)
245  { return qstricmp(fd1->name(),fd2->name())<0; }),
246  def);
247  else
248  m_fileList.push_back(def);
249 }

引用了 Config_getBool, Definition::isHidden(), m_fileList , 以及 updateLanguage().

◆ addGroup()

void GroupDefImpl::addGroup ( const GroupDef def)
virtual

实现了 GroupDef.

在文件 groupdef.cpp565 行定义.

566 {
567  //printf("adding group '%s' to group '%s'\n",qPrint(def->name()),qPrint(name()));
568  //if (Config_getBool(SORT_MEMBER_DOCS))
569  // groupList->inSort(def);
570  //else
571  m_groups.push_back(def);
572 }

引用了 m_groups.

◆ addListReferences()

void GroupDefImpl::addListReferences ( )
virtual

实现了 GroupDef.

在文件 groupdef.cpp1559 行定义.

1560 {
1561  {
1562  const RefItemVector &xrefItems = xrefListItems();
1563  addRefItem(xrefItems,
1566  getOutputFileBase(),name(),
1567  QCString(),
1568  0
1569  );
1570  }
1571  for (const auto &mg : m_memberGroups)
1572  {
1573  mg->addListReferences(this);
1574  }
1575  for (auto &ml : m_memberLists)
1576  {
1577  if (ml->listType()&MemberListType_documentationLists)
1578  {
1579  ml->addListReferences(this);
1580  }
1581  }
1582 }

引用了 addRefItem(), getOutputFileBase(), m_memberGroups, m_memberLists, MemberListType_documentationLists, DefinitionMixin< GroupDef >::name(), theTranslator, Translator::trGroup(), TRUE , 以及 DefinitionMixin< GroupDef >::xrefListItems().

◆ addMemberListToGroup()

void GroupDefImpl::addMemberListToGroup ( MemberList ,
bool(MemberDef::*)() const   
)
private

◆ addMembersToMemberGroup()

void GroupDefImpl::addMembersToMemberGroup ( )
virtual

实现了 GroupDef.

在文件 groupdef.cpp310 行定义.

311 {
312  for (auto &ml : m_memberLists)
313  {
314  if (ml->listType()&MemberListType_declarationLists)
315  {
317  }
318  }
319 }

引用了 m_memberGroups, m_memberLists , 以及 MemberListType_declarationLists.

◆ addMemberToList()

void GroupDefImpl::addMemberToList ( MemberListType  lt,
const MemberDef md 
)
private

在文件 groupdef.cpp1584 行定义.

1585 {
1586  static bool sortBriefDocs = Config_getBool(SORT_BRIEF_DOCS);
1587  static bool sortMemberDocs = Config_getBool(SORT_MEMBER_DOCS);
1588  const auto &ml = m_memberLists.get(lt,MemberListContainer::Group);
1589  ml->setNeedsSorting(
1590  ((ml->listType()&MemberListType_declarationLists) && sortBriefDocs) ||
1591  ((ml->listType()&MemberListType_documentationLists) && sortMemberDocs));
1592  ml->push_back(md);
1593 }

引用了 Config_getBool, MemberLists::get(), Group, m_memberLists, MemberListType_declarationLists , 以及 MemberListType_documentationLists.

被这些函数引用 insertMember().

◆ addNamespace()

bool GroupDefImpl::addNamespace ( const NamespaceDef def)
virtual

实现了 GroupDef.

在文件 groupdef.cpp276 行定义.

277 {
278  //printf("adding namespace hidden=%d\n",def->isHidden());
279  if (def->isHidden()) return false;
280  if (m_namespaces.find(def->name())==0)
281  {
282  updateLanguage(def);
283  m_namespaces.add(def->name(),def);
284  return true;
285  }
286  return false;
287 }

引用了 LinkedRefMap< T, Hash, KeyEqual, Map >::add(), LinkedRefMap< T, Hash, KeyEqual, Map >::find(), Definition::isHidden(), m_namespaces, Definition::name() , 以及 updateLanguage().

◆ addPage()

void GroupDefImpl::addPage ( const PageDef def)
virtual

实现了 GroupDef.

在文件 groupdef.cpp295 行定义.

296 {
297  if (def->isHidden()) return;
298  //printf("Making page %s part of a group\n",qPrint(def->name));
299  m_pages.add(def->name(),def);
300  const_cast<PageDef*>(def)->makePartOfGroup(this);
301 }

引用了 LinkedRefMap< T, Hash, KeyEqual, Map >::add(), Definition::isHidden(), m_pages, DefinitionMixin< GroupDef >::makePartOfGroup() , 以及 Definition::name().

◆ anchor()

virtual QCString GroupDefImpl::anchor ( ) const
inlinevirtual

Returns the anchor within a page where this item can be found

实现了 GroupDef.

在文件 groupdef.cpp76 行定义.

94 { return m_subGrouping; }

◆ codeSymbolType()

virtual CodeSymbolType GroupDefImpl::codeSymbolType ( ) const
inlinevirtual

Used for syntax highlighting symbol class

实现了 Definition.

在文件 groupdef.cpp74 行定义.

94 { return m_subGrouping; }

◆ computeAnchors()

void GroupDefImpl::computeAnchors ( )
virtual

Compute the HTML anchor names for all members in the group

实现了 GroupDef.

在文件 groupdef.cpp605 行定义.

606 {
607  //printf("GroupDefImpl::computeAnchors()\n");
609 }

引用了 m_allMemberList , 以及 MemberList::setAnchors().

◆ countMembers()

void GroupDefImpl::countMembers ( )
virtual

实现了 GroupDef.

在文件 groupdef.cpp579 行定义.

580 {
581  for (auto &ml : m_memberLists)
582  {
583  ml->countDecMembers();
584  ml->countDocMembers();
585  }
586  for (const auto &mg : m_memberGroups)
587  {
588  mg->countDecMembers();
589  mg->countDocMembers();
590  }
591 }

引用了 m_memberGroups , 以及 m_memberLists.

◆ definitionType()

virtual DefType GroupDefImpl::definitionType ( ) const
inlinevirtual

Use this for dynamic inspection of the type of the derived class

实现了 GroupDef.

在文件 groupdef.cpp73 行定义.

94 { return m_subGrouping; }

◆ displayName()

virtual QCString GroupDefImpl::displayName ( bool  includeScope = TRUE) const
inlinevirtual

Returns the name of the definition as it appears in the output

实现了 GroupDef.

在文件 groupdef.cpp77 行定义.

94 { return m_subGrouping; }

◆ distributeMemberGroupDocumentation()

void GroupDefImpl::distributeMemberGroupDocumentation ( )
virtual

实现了 GroupDef.

在文件 groupdef.cpp210 行定义.

211 {
212  for (const auto &mg : m_memberGroups)
213  {
214  mg->distributeMemberGroupDocumentation();
215  }
216 }

引用了 m_memberGroups.

◆ endMemberDeclarations()

void GroupDefImpl::endMemberDeclarations ( OutputList ol)
private

在文件 groupdef.cpp1010 行定义.

1011 {
1012  ol.endMemberSections();
1013 }

引用了 OutputList::endMemberSections().

被这些函数引用 writeDocumentation().

◆ endMemberDocumentation()

void GroupDefImpl::endMemberDocumentation ( OutputList ol)
private

在文件 groupdef.cpp1026 行定义.

1027 {
1028  //printf("** GroupDefImpl::endMemberDocumentation()\n");
1029  if (Config_getBool(SEPARATE_MEMBER_PAGES))
1030  {
1031  ol.popGeneratorState();
1033  }
1034 }

引用了 Config_getBool, FALSE, OutputList::popGeneratorState() , 以及 Doxygen::suppressDocWarnings.

被这些函数引用 writeDocumentation().

◆ findGroup()

bool GroupDefImpl::findGroup ( const GroupDef def) const
virtual

实现了 GroupDef.

在文件 groupdef.cpp549 行定义.

550 {
551  if (this==def)
552  {
553  return TRUE;
554  }
555  for (const auto &gd : m_groups)
556  {
557  if (gd->findGroup(def))
558  {
559  return TRUE;
560  }
561  }
562  return FALSE;
563 }

引用了 FALSE, m_groups , 以及 TRUE.

◆ findSectionsInDocumentation()

void GroupDefImpl::findSectionsInDocumentation ( )
virtual

实现了 GroupDef.

在文件 groupdef.cpp218 行定义.

219 {
222 
223  for (const auto &mg : m_memberGroups)
224  {
225  mg->findSectionsInDocumentation(this);
226  }
227 
228  for (auto &ml : m_memberLists)
229  {
230  if (ml->listType()&MemberListType_declarationLists)
231  {
232  ml->findSectionsInDocumentation(this);
233  }
234  }
235 }

引用了 DefinitionMixin< GroupDef >::briefDescription(), DefinitionMixin< GroupDef >::docFile(), docFindSections(), DefinitionMixin< GroupDef >::documentation(), m_memberGroups, m_memberLists , 以及 MemberListType_declarationLists.

◆ getClasses()

virtual const ClassLinkedRefMap& GroupDefImpl::getClasses ( ) const
inlinevirtual

实现了 GroupDef.

在文件 groupdef.cpp121 行定义.

164 {

◆ getConcepts()

virtual const ConceptLinkedRefMap& GroupDefImpl::getConcepts ( ) const
inlinevirtual

实现了 GroupDef.

在文件 groupdef.cpp122 行定义.

164 {

◆ getDirs()

virtual const DirList& GroupDefImpl::getDirs ( ) const
inlinevirtual

实现了 GroupDef.

在文件 groupdef.cpp126 行定义.

164 {

◆ getExamples()

virtual const PageLinkedRefMap& GroupDefImpl::getExamples ( ) const
inlinevirtual

实现了 GroupDef.

在文件 groupdef.cpp127 行定义.

164 {

◆ getFiles()

virtual const FileList& GroupDefImpl::getFiles ( ) const
inlinevirtual

实现了 GroupDef.

在文件 groupdef.cpp120 行定义.

164 {

◆ getGroupScope()

virtual Definition* GroupDefImpl::getGroupScope ( ) const
inlinevirtual

实现了 GroupDef.

在文件 groupdef.cpp112 行定义.

112 { return m_examples; }

引用了 m_examples.

◆ getMemberGroups()

virtual const MemberGroupList& GroupDefImpl::getMemberGroups ( ) const
inlinevirtual

实现了 GroupDef.

在文件 groupdef.cpp118 行定义.

164 {

◆ getMemberList()

MemberList * GroupDefImpl::getMemberList ( MemberListType  lt) const
virtual

实现了 GroupDef.

在文件 groupdef.cpp1687 行定义.

1688 {
1689  for (auto &ml : m_memberLists)
1690  {
1691  if (ml->listType()==lt)
1692  {
1693  return ml.get();
1694  }
1695  }
1696  return 0;
1697 }

引用了 m_memberLists.

被这些函数引用 removeMemberFromList(), writeMemberDeclarations(), writeMemberDocumentation(), writeSummaryLinks() , 以及 writeTagFile().

◆ getMemberLists()

virtual const MemberLists& GroupDefImpl::getMemberLists ( ) const
inlinevirtual

实现了 GroupDef.

在文件 groupdef.cpp115 行定义.

116 :
117  void addMemberListToGroup(MemberList *,bool (MemberDef::*)() const);

◆ getNamespaces()

virtual const NamespaceLinkedRefMap& GroupDefImpl::getNamespaces ( ) const
inlinevirtual

实现了 GroupDef.

在文件 groupdef.cpp123 行定义.

164 {

◆ getOutputFileBase()

QCString GroupDefImpl::getOutputFileBase ( ) const
virtual

Returns the base file name (without extension) of this definition. as it is referenced to/written to disk.

实现了 GroupDef.

在文件 groupdef.cpp1554 行定义.

1555 {
1556  return m_fileName;
1557 }

引用了 m_fileName.

被这些函数引用 addListReferences(), writeDocumentation() , 以及 writeTagFile().

◆ getPages()

virtual const PageLinkedRefMap& GroupDefImpl::getPages ( ) const
inlinevirtual

实现了 GroupDef.

在文件 groupdef.cpp125 行定义.

164 {

◆ getSubGroups()

virtual const GroupList& GroupDefImpl::getSubGroups ( ) const
inlinevirtual

实现了 GroupDef.

在文件 groupdef.cpp124 行定义.

164 {

◆ groupTitle()

virtual QCString GroupDefImpl::groupTitle ( ) const
inlinevirtual

实现了 GroupDef.

在文件 groupdef.cpp78 行定义.

94 { return m_subGrouping; }

◆ hasDetailedDescription()

bool GroupDefImpl::hasDetailedDescription ( ) const
virtual

实现了 GroupDef.

在文件 groupdef.cpp1755 行定义.

1756 {
1757  static bool repeatBrief = Config_getBool(REPEAT_BRIEF);
1758  return ((!briefDescription().isEmpty() && repeatBrief) ||
1759  !documentation().isEmpty() ||
1760  !inbodyDocumentation().isEmpty()) &&
1761  (m_pages.size()!=numDocMembers());
1762 }

引用了 DefinitionMixin< GroupDef >::briefDescription(), Config_getBool, DefinitionMixin< GroupDef >::documentation(), DefinitionMixin< GroupDef >::inbodyDocumentation(), m_pages, numDocMembers() , 以及 LinkedRefMap< T, Hash, KeyEqual, Map >::size().

被这些函数引用 writeBriefDescription().

◆ hasGroupTitle()

virtual bool GroupDefImpl::hasGroupTitle ( ) const
inlinevirtual

实现了 GroupDef.

在文件 groupdef.cpp80 行定义.

94 { return m_subGrouping; }

◆ insertMember()

bool GroupDefImpl::insertMember ( const MemberDef def,
bool  docOnly = FALSE 
)
virtual

实现了 GroupDef.

在文件 groupdef.cpp322 行定义.

323 {
324  if (md->isHidden()) return FALSE;
325  updateLanguage(md);
326  //printf("GroupDef(%s)::insertMember(%s)\n", qPrint(title), qPrint(md->name()));
328  for (auto &srcMi : *mni)
329  {
330  const MemberDef *srcMd = srcMi->memberDef();
331  if (srcMd==md) return FALSE; // already added before!
332 
333  bool sameScope = srcMd->getOuterScope()==md->getOuterScope() || // same class or namespace
334  // both inside a file => definition and declaration do not have to be in the same file
336  md->getOuterScope()->definitionType()==Definition::TypeFile);
337 
338  const ArgumentList &srcMdAl = srcMd->argumentList();
339  const ArgumentList &mdAl = md->argumentList();
340  const ArgumentList &tSrcMdAl = srcMd->templateArguments();
341  const ArgumentList &tMdAl = md->templateArguments();
342 
343  if (srcMd->isFunction() && md->isFunction() && // both are a function
344  (tSrcMdAl.size()==tMdAl.size()) && // same number of template arguments
345  matchArguments2(srcMd->getOuterScope(),srcMd->getFileDef(),&srcMdAl,
346  md->getOuterScope(),md->getFileDef(),&mdAl,
347  TRUE
348  ) && // matching parameters
349  sameScope // both are found in the same scope
350  )
351  {
353  if (mdm && srcMd->getGroupAlias()==0)
354  {
355  mdm->setGroupAlias(srcMd);
356  }
357  else if (mdm && md!=srcMd->getGroupAlias())
358  {
359  mdm->setGroupAlias(srcMd->getGroupAlias());
360  }
361  return FALSE; // member is the same as one that is already added
362  }
363  }
364  mni->push_back(std::make_unique<MemberInfo>(md,md->protection(),md->virtualness(),FALSE));
365  //printf("Added member!\n");
367  switch(md->memberType())
368  {
369  case MemberType_Variable:
370  if (!docOnly)
371  {
373  }
375  break;
376  case MemberType_Function:
377  if (!docOnly)
378  {
380  }
382  break;
383  case MemberType_Typedef:
384  if (!docOnly)
385  {
387  }
389  break;
391  if (!docOnly)
392  {
394  }
396  break;
398  if (!docOnly)
399  {
401  }
403  break;
404  case MemberType_Define:
405  if (!docOnly)
406  {
408  }
410  break;
411  case MemberType_Signal:
412  if (!docOnly)
413  {
415  }
417  break;
418  case MemberType_Slot:
419  if (md->protection()==Public)
420  {
421  if (!docOnly)
422  {
424  }
426  }
427  else if (md->protection()==Protected)
428  {
429  if (!docOnly)
430  {
432  }
434  }
435  else
436  {
437  if (!docOnly)
438  {
440  }
442  }
443  break;
444  case MemberType_Event:
445  if (!docOnly)
446  {
448  }
450  break;
451  case MemberType_Property:
452  if (!docOnly)
453  {
455  }
457  break;
458  case MemberType_Friend:
459  if (!docOnly)
460  {
462  }
464  break;
465  default:
466  err("GroupDefImpl::insertMembers(): "
467  "member '%s' (typeid=%d) with scope '%s' inserted in group scope '%s'!\n",
468  qPrint(md->name()),md->memberType(),
469  md->getClassDef() ? qPrint(md->getClassDef()->name()) : "",
470  qPrint(name()));
471  }
472  return TRUE;
473 }

引用了 LinkedMap< T, Hash, KeyEqual, Map >::add(), addMemberToList(), MemberDef::argumentList(), Definition::definitionType(), err(), FALSE, MemberDef::getClassDef(), MemberDef::getFileDef(), MemberDef::getGroupAlias(), Definition::getOuterScope(), MemberDef::isFunction(), Definition::isHidden(), m_allMemberList, m_allMemberNameInfoLinkedMap, matchArguments2(), MemberListType_decDefineMembers, MemberListType_decEnumMembers, MemberListType_decEnumValMembers, MemberListType_decEventMembers, MemberListType_decFriendMembers, MemberListType_decFuncMembers, MemberListType_decPriSlotMembers, MemberListType_decPropMembers, MemberListType_decProSlotMembers, MemberListType_decPubSlotMembers, MemberListType_decSignalMembers, MemberListType_decTypedefMembers, MemberListType_decVarMembers, MemberListType_docDefineMembers, MemberListType_docEnumMembers, MemberListType_docEnumValMembers, MemberListType_docEventMembers, MemberListType_docFriendMembers, MemberListType_docFuncMembers, MemberListType_docPriSlotMembers, MemberListType_docPropMembers, MemberListType_docProSlotMembers, MemberListType_docPubSlotMembers, MemberListType_docSignalMembers, MemberListType_docTypedefMembers, MemberListType_docVarMembers, MemberDef::memberType(), MemberType_Define, MemberType_Enumeration, MemberType_EnumValue, MemberType_Event, MemberType_Friend, MemberType_Function, MemberType_Property, MemberType_Signal, MemberType_Slot, MemberType_Typedef, MemberType_Variable, Definition::name(), DefinitionMixin< GroupDef >::name(), Protected, MemberDef::protection(), Public, MemberVector::push_back(), qPrint(), MemberDefMutable::setGroupAlias(), ArgumentList::size(), MemberDef::templateArguments(), toMemberDefMutable(), TRUE, Definition::TypeFile, updateLanguage() , 以及 MemberDef::virtualness().

◆ isASubGroup()

bool GroupDefImpl::isASubGroup ( ) const
virtual

实现了 GroupDef.

在文件 groupdef.cpp574 行定义.

575 {
576  return !partOfGroups().empty();
577 }

引用了 DefinitionMixin< GroupDef >::partOfGroups().

◆ isLinkable()

bool GroupDefImpl::isLinkable ( ) const
virtual

Returns TRUE iff it is possible to link to this item. This can be a link to another project imported via a tag file.

实现了 GroupDef.

在文件 groupdef.cpp1740 行定义.

1741 {
1742  return hasUserDocumentation();
1743 }

引用了 DefinitionMixin< GroupDef >::hasUserDocumentation().

被这些函数引用 isLinkableInProject().

◆ isLinkableInProject()

bool GroupDefImpl::isLinkableInProject ( ) const
virtual

Returns TRUE iff it is possible to link to this item within this project.

实现了 GroupDef.

在文件 groupdef.cpp1735 行定义.

1736 {
1737  return !isReference() && isLinkable();
1738 }

引用了 isLinkable() , 以及 DefinitionMixin< GroupDef >::isReference().

◆ numDocMembers()

size_t GroupDefImpl::numDocMembers ( ) const
virtual

实现了 GroupDef.

在文件 groupdef.cpp593 行定义.

594 {
595  return m_fileList.size()+
596  m_classes.size()+
597  m_namespaces.size()+
598  m_groups.size()+
600  m_pages.size()+
601  m_examples.size();
602 }

引用了 m_allMemberList, m_classes, m_examples, m_fileList, m_groups, m_namespaces, m_pages, MemberVector::size() , 以及 LinkedRefMap< T, Hash, KeyEqual, Map >::size().

被这些函数引用 hasDetailedDescription() , 以及 writeDetailedDescription().

◆ removeMember()

void GroupDefImpl::removeMember ( MemberDef md)
virtual

实现了 GroupDef.

在文件 groupdef.cpp475 行定义.

476 {
477  // fprintf(stderr, "GroupDef(%s)::removeMember( %s )\n", qPrint(title), qPrint(md->name()));
479  if (mni)
480  {
482 
484  switch(md->memberType())
485  {
486  case MemberType_Variable:
489  break;
490  case MemberType_Function:
493  break;
494  case MemberType_Typedef:
497  break;
501  break;
505  break;
506  case MemberType_Define:
509  break;
510  case MemberType_Signal:
513  break;
514  case MemberType_Slot:
515  if (md->protection()==Public)
516  {
519  }
520  else if (md->protection()==Protected)
521  {
524  }
525  else
526  {
529  }
530  break;
531  case MemberType_Event:
534  break;
535  case MemberType_Property:
538  break;
539  case MemberType_Friend:
542  break;
543  default:
544  err("GroupDefImpl::removeMember(): unexpected member remove in file!\n");
545  }
546  }
547 }

引用了 LinkedMap< T, Hash, KeyEqual, Map >::del(), err(), LinkedMap< T, Hash, KeyEqual, Map >::find(), m_allMemberNameInfoLinkedMap, MemberListType_allMembersList, MemberListType_decDefineMembers, MemberListType_decEnumMembers, MemberListType_decEnumValMembers, MemberListType_decEventMembers, MemberListType_decFriendMembers, MemberListType_decFuncMembers, MemberListType_decPriSlotMembers, MemberListType_decPropMembers, MemberListType_decProSlotMembers, MemberListType_decPubSlotMembers, MemberListType_decSignalMembers, MemberListType_decTypedefMembers, MemberListType_decVarMembers, MemberListType_docDefineMembers, MemberListType_docEnumMembers, MemberListType_docEnumValMembers, MemberListType_docEventMembers, MemberListType_docFriendMembers, MemberListType_docFuncMembers, MemberListType_docPriSlotMembers, MemberListType_docPropMembers, MemberListType_docProSlotMembers, MemberListType_docPubSlotMembers, MemberListType_docSignalMembers, MemberListType_docTypedefMembers, MemberListType_docVarMembers, MemberDef::memberType(), MemberType_Define, MemberType_Enumeration, MemberType_EnumValue, MemberType_Event, MemberType_Friend, MemberType_Function, MemberType_Property, MemberType_Signal, MemberType_Slot, MemberType_Typedef, MemberType_Variable, Definition::name(), Protected, MemberDef::protection(), Public , 以及 removeMemberFromList().

◆ removeMemberFromList()

void GroupDefImpl::removeMemberFromList ( MemberListType  lt,
MemberDef md 
)
private

在文件 groupdef.cpp1721 行定义.

1722 {
1723  MemberList *ml = getMemberList(lt);
1724  if (ml) ml->remove(md);
1725 }

引用了 getMemberList() , 以及 MemberVector::remove().

被这些函数引用 removeMember().

◆ setGroupScope()

virtual void GroupDefImpl::setGroupScope ( Definition d)
inlinevirtual

实现了 GroupDef.

在文件 groupdef.cpp111 行定义.

111 { return m_dirList; }

引用了 m_dirList.

◆ setGroupTitle()

void GroupDefImpl::setGroupTitle ( const QCString newtitle)
virtual

实现了 GroupDef.

在文件 groupdef.cpp194 行定义.

195 {
196  if ( !t.isEmpty())
197  {
198  m_title = t;
199  m_titleSet = TRUE;
200  }
201  else
202  {
203  m_title = name();
204  m_title[0]=(char)toupper(m_title[0]);
205  m_titleSet = FALSE;
206  }
207 }

引用了 FALSE, QCString::isEmpty(), m_title, m_titleSet, DefinitionMixin< GroupDef >::name() , 以及 TRUE.

◆ sortMemberLists()

void GroupDefImpl::sortMemberLists ( )
virtual

实现了 GroupDef.

在文件 groupdef.cpp1655 行定义.

1656 {
1657  for (auto &ml : m_memberLists)
1658  {
1659  if (ml->needsSorting()) { ml->sort(); ml->setNeedsSorting(FALSE); }
1660  }
1661  if (Config_getBool(SORT_BRIEF_DOCS))
1662  {
1663  std::sort(m_dirList.begin(), m_dirList.end(), compareDirDefs);
1664 
1665  auto classComp = [](const ClassLinkedRefMap::Ptr &c1,const ClassLinkedRefMap::Ptr &c2)
1666  {
1667  return Config_getBool(SORT_BY_SCOPE_NAME) ?
1668  qstricmp(c1->name(), c2->name())<0 :
1669  qstricmp(c1->className(), c2->className())<0;
1670  };
1671  std::sort(m_classes.begin(), m_classes.end(), classComp);
1672 
1673  auto namespaceComp = [](const NamespaceLinkedRefMap::Ptr &n1,const NamespaceLinkedRefMap::Ptr &n2)
1674  {
1675  return qstricmp(n1->name(),n2->name())<0;
1676  };
1677 
1678  std::sort(m_namespaces.begin(),m_namespaces.end(),namespaceComp);
1679  }
1680  else
1681  {
1684  }
1685 }

引用了 LinkedRefMap< T, Hash, KeyEqual, Map >::begin(), ClassDef::className(), compareDirDefs(), Config_getBool, LinkedRefMap< T, Hash, KeyEqual, Map >::end(), FALSE, groupClassesWithSameScope(), m_classes, m_dirList, m_memberLists, m_namespaces, Definition::name() , 以及 qstricmp().

◆ sortSubGroups()

void GroupDefImpl::sortSubGroups ( )
virtual

实现了 GroupDef.

在文件 groupdef.cpp1727 行定义.

1728 {
1729  std::sort(m_groups.begin(),
1730  m_groups.end(),
1731  [](const auto &g1,const auto &g2)
1732  { return g1->groupTitle() < g2->groupTitle(); });
1733 }

引用了 m_groups.

◆ startMemberDeclarations()

void GroupDefImpl::startMemberDeclarations ( OutputList ol)
private

在文件 groupdef.cpp1005 行定义.

1006 {
1007  ol.startMemberSections();
1008 }

引用了 OutputList::startMemberSections().

被这些函数引用 writeDocumentation().

◆ startMemberDocumentation()

void GroupDefImpl::startMemberDocumentation ( OutputList ol)
private

在文件 groupdef.cpp1015 行定义.

1016 {
1017  //printf("** GroupDefImpl::startMemberDocumentation()\n");
1018  if (Config_getBool(SEPARATE_MEMBER_PAGES))
1019  {
1020  ol.pushGeneratorState();
1023  }
1024 }

引用了 Config_getBool, OutputList::disable(), OutputGenerator::Html, OutputList::pushGeneratorState(), Doxygen::suppressDocWarnings , 以及 TRUE.

被这些函数引用 writeDocumentation().

◆ subGrouping()

virtual bool GroupDefImpl::subGrouping ( ) const
inlinevirtual

实现了 GroupDef.

在文件 groupdef.cpp109 行定义.

109 { return m_groups; }

引用了 m_groups.

◆ updateLanguage()

void GroupDefImpl::updateLanguage ( const Definition d)
private

◆ writeAuthorSection()

◆ writeBriefDescription()

void GroupDefImpl::writeBriefDescription ( OutputList ol)
private

在文件 groupdef.cpp792 行定义.

793 {
794  if (hasBriefDescription())
795  {
796  std::unique_ptr<IDocParser> parser { createDocParser() };
797  std::unique_ptr<DocRoot> rootNode { validatingParseDoc(*parser.get(),
798  briefFile(),briefLine(),this,0,
800  QCString(),TRUE,FALSE,Config_getBool(MARKDOWN_SUPPORT)) };
801  if (rootNode && !rootNode->isEmpty())
802  {
803  ol.startParagraph();
804  ol.pushGeneratorState();
806  ol.writeString(" - ");
807  ol.popGeneratorState();
808  ol.writeDoc(rootNode.get(),this,0);
809  ol.pushGeneratorState();
811  ol.writeString(" \n");
813 
815  {
817  ol.startTextLink(QCString(),"details");
819  ol.endTextLink();
820  }
821  ol.popGeneratorState();
822  ol.endParagraph();
823  }
824  }
825  ol.writeSynopsis();
826 }

引用了 DefinitionMixin< GroupDef >::briefDescription(), DefinitionMixin< GroupDef >::briefFile(), DefinitionMixin< GroupDef >::briefLine(), Config_getBool, createDocParser(), OutputList::disable(), OutputList::disableAllBut(), OutputList::enable(), OutputList::endParagraph(), OutputList::endTextLink(), FALSE, DefinitionMixin< GroupDef >::hasBriefDescription(), hasDetailedDescription(), OutputGenerator::Html, OutputGenerator::Man, OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), OutputGenerator::RTF, OutputList::startParagraph(), OutputList::startTextLink(), theTranslator, Translator::trMore(), TRUE, validatingParseDoc(), OutputList::writeDoc(), OutputList::writeString() , 以及 OutputList::writeSynopsis().

被这些函数引用 writeDocumentation().

◆ writeClasses()

void GroupDefImpl::writeClasses ( OutputList ol,
const QCString title 
)
private

在文件 groupdef.cpp957 行定义.

958 {
959  // write list of classes
960  m_classes.writeDeclaration(ol,0,title,FALSE);
961 }

引用了 FALSE, m_classes , 以及 ClassLinkedRefMap::writeDeclaration().

被这些函数引用 writeDocumentation().

◆ writeConcepts()

void GroupDefImpl::writeConcepts ( OutputList ol,
const QCString title 
)
private

在文件 groupdef.cpp963 行定义.

964 {
965  // write list of concepts
967 }

引用了 FALSE, m_concepts , 以及 ConceptLinkedRefMap::writeDeclaration().

被这些函数引用 writeDocumentation().

◆ writeDetailedDescription()

void GroupDefImpl::writeDetailedDescription ( OutputList ol,
const QCString title 
)
private

在文件 groupdef.cpp728 行定义.

729 {
730  if ((!briefDescription().isEmpty() && Config_getBool(REPEAT_BRIEF))
731  || !documentation().isEmpty() || !inbodyDocumentation().isEmpty()
732  )
733  {
734  ol.pushGeneratorState();
735  if (m_pages.size()!=numDocMembers()) // not only pages -> classical layout
736  {
737  ol.pushGeneratorState();
739  ol.writeRuler();
740  ol.popGeneratorState();
741  ol.pushGeneratorState();
743  ol.writeAnchor(QCString(),"details");
744  ol.popGeneratorState();
745  }
746  else
747  {
748  ol.disableAllBut(OutputGenerator::Man); // always print title for man page
749  }
750  ol.startGroupHeader();
751  ol.parseText(title);
752  ol.endGroupHeader();
753  ol.popGeneratorState();
754 
755  // repeat brief description
756  if (!briefDescription().isEmpty() && Config_getBool(REPEAT_BRIEF))
757  {
759  QCString(),FALSE,FALSE,Config_getBool(MARKDOWN_SUPPORT));
760  }
761  // write separator between brief and details
762  if (!briefDescription().isEmpty() && Config_getBool(REPEAT_BRIEF) &&
763  !documentation().isEmpty())
764  {
765  ol.pushGeneratorState();
768  // ol.newParagraph(); // FIXME:PARA
769  ol.enableAll();
772  ol.writeString("\n\n");
773  ol.popGeneratorState();
774  }
775 
776  // write detailed documentation
777  if (!documentation().isEmpty())
778  {
779  ol.generateDoc(docFile(),docLine(),this,0,documentation()+"\n",TRUE,FALSE,
780  QCString(),FALSE,FALSE,Config_getBool(MARKDOWN_SUPPORT));
781  }
782 
783  // write inbody documentation
784  if (!inbodyDocumentation().isEmpty())
785  {
787  QCString(),FALSE,FALSE,Config_getBool(MARKDOWN_SUPPORT));
788  }
789  }
790 }

引用了 DefinitionMixin< GroupDef >::briefDescription(), DefinitionMixin< GroupDef >::briefFile(), DefinitionMixin< GroupDef >::briefLine(), Config_getBool, OutputList::disable(), OutputList::disableAllBut(), DefinitionMixin< GroupDef >::docFile(), DefinitionMixin< GroupDef >::docLine(), DefinitionMixin< GroupDef >::documentation(), OutputList::enable(), OutputList::enableAll(), OutputList::endGroupHeader(), FALSE, OutputList::generateDoc(), OutputGenerator::Html, DefinitionMixin< GroupDef >::inbodyDocumentation(), DefinitionMixin< GroupDef >::inbodyFile(), DefinitionMixin< GroupDef >::inbodyLine(), OutputGenerator::Latex, m_pages, OutputGenerator::Man, numDocMembers(), OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), OutputGenerator::RTF, LinkedRefMap< T, Hash, KeyEqual, Map >::size(), OutputList::startGroupHeader(), TRUE, OutputList::writeAnchor(), OutputList::writeRuler() , 以及 OutputList::writeString().

被这些函数引用 writeDocumentation().

◆ writeDirs()

void GroupDefImpl::writeDirs ( OutputList ol,
const QCString title 
)
private

在文件 groupdef.cpp925 行定义.

926 {
927  // write list of directories
928  if (!m_dirList.empty())
929  {
930  ol.startMemberHeader("dirs");
931  ol.parseText(title);
932  ol.endMemberHeader();
933  ol.startMemberList();
934  for(const auto dd : m_dirList)
935  {
936  if (!dd->hasDocumentation()) continue;
938  ol.startMemberItem(dd->getOutputFileBase(),0);
940  ol.insertMemberAlign();
941  ol.writeObjectLink(dd->getReference(),dd->getOutputFileBase(),QCString(),dd->shortName());
942  ol.endMemberItem();
943  if (!dd->briefDescription().isEmpty() && Config_getBool(BRIEF_MEMBER_DESC))
944  {
945  ol.startMemberDescription(dd->getOutputFileBase());
946  ol.generateDoc(briefFile(),briefLine(),dd,0,dd->briefDescription(),FALSE,FALSE,
947  QCString(),TRUE,FALSE,Config_getBool(MARKDOWN_SUPPORT));
949  }
951  }
952 
953  ol.endMemberList();
954  }
955 }

引用了 DefinitionMixin< GroupDef >::briefFile(), DefinitionMixin< GroupDef >::briefLine(), Config_getBool, OutputList::endMemberDeclaration(), OutputList::endMemberDescription(), OutputList::endMemberHeader(), OutputList::endMemberItem(), OutputList::endMemberList(), FALSE, OutputList::generateDoc(), OutputList::insertMemberAlign(), m_dirList, OutputList::parseText(), OutputList::startMemberDeclaration(), OutputList::startMemberDescription(), OutputList::startMemberHeader(), OutputList::startMemberItem(), OutputList::startMemberList(), theTranslator, Translator::trDir(), TRUE , 以及 OutputList::writeObjectLink().

被这些函数引用 writeDocumentation().

◆ writeDocumentation()

void GroupDefImpl::writeDocumentation ( OutputList ol)
virtual

实现了 GroupDef.

在文件 groupdef.cpp1092 行定义.

1093 {
1094  //static bool generateTreeView = Config_getBool(GENERATE_TREEVIEW);
1095  ol.pushGeneratorState();
1097 
1098  ol.startHeaderSection();
1099  writeSummaryLinks(ol);
1101  ol.pushGeneratorState();
1103  ol.parseText(m_title);
1104  ol.popGeneratorState();
1105  addGroupListToTitle(ol,this);
1106  ol.pushGeneratorState();
1109  ol.popGeneratorState();
1110  ol.pushGeneratorState();
1113  if (!m_title.isEmpty())
1114  {
1115  ol.writeString(" - ");
1116  ol.parseText(m_title);
1117  }
1118  ol.popGeneratorState();
1119  ol.endHeaderSection();
1120  ol.startContents();
1121 
1122  //---------------------------------------- start flexible part -------------------------------
1123 
1124  SrcLangExt lang=getLanguage();
1125  for (const auto &lde : LayoutDocManager::instance().docEntries(LayoutDocManager::Group))
1126  {
1127  switch (lde->kind())
1128  {
1131  break;
1134  break;
1136  {
1137  const LayoutDocEntrySection *ls = (const LayoutDocEntrySection*)lde.get();
1138  writeClasses(ol,ls->title(lang));
1139  }
1140  break;
1142  {
1143  const LayoutDocEntrySection *ls = (const LayoutDocEntrySection*)lde.get();
1144  writeConcepts(ol,ls->title(lang));
1145  }
1146  break;
1148  {
1149  writeInlineClasses(ol);
1150  }
1151  break;
1153  {
1154  const LayoutDocEntrySection *ls = (const LayoutDocEntrySection*)lde.get();
1155  writeNamespaces(ol,ls->title(lang));
1156  }
1157  break;
1159  writeMemberGroups(ol);
1160  break;
1162  {
1163  const LayoutDocEntryMemberDecl *lmd = (const LayoutDocEntryMemberDecl*)lde.get();
1164  writeMemberDeclarations(ol,lmd->type,lmd->title(lang));
1165  }
1166  break;
1169  break;
1171  {
1172  const LayoutDocEntrySection *ls = (const LayoutDocEntrySection*)lde.get();
1173  writeDetailedDescription(ol,ls->title(lang));
1174  }
1175  break;
1178  break;
1180  {
1181  const LayoutDocEntryMemberDef *lmd = (const LayoutDocEntryMemberDef*)lde.get();
1182  writeMemberDocumentation(ol,lmd->type,lmd->title(lang));
1183  }
1184  break;
1187  break;
1189  {
1190  const LayoutDocEntrySection *ls = (const LayoutDocEntrySection*)lde.get();
1191  writeNestedGroups(ol,ls->title(lang));
1192  }
1193  break;
1196  break;
1198  {
1199  const LayoutDocEntrySection *ls = (const LayoutDocEntrySection*)lde.get();
1200  writeDirs(ol,ls->title(lang));
1201  }
1202  break;
1204  {
1205  const LayoutDocEntrySection *ls = (const LayoutDocEntrySection*)lde.get();
1206  writeFiles(ol,ls->title(lang));
1207  }
1208  break;
1210  writeGroupGraph(ol);
1211  break;
1213  writeAuthorSection(ol);
1214  break;
1246  err("Internal inconsistency: member %d should not be part of "
1247  "LayoutDocManager::Group entry list\n",lde->kind());
1248  break;
1249  }
1250  }
1251 
1252  //---------------------------------------- end flexible part -------------------------------
1253 
1254  endFile(ol);
1255 
1256  ol.popGeneratorState();
1257 
1258  if (Config_getBool(SEPARATE_MEMBER_PAGES))
1259  {
1261  writeMemberPages(ol);
1262  }
1263 
1264 }

引用了 addGroupListToTitle(), LayoutDocEntry::AuthorSection, LayoutDocEntry::BriefDesc, LayoutDocEntry::ClassAllMembersLink, LayoutDocEntry::ClassCollaborationGraph, LayoutDocEntry::ClassIncludes, LayoutDocEntry::ClassInheritanceGraph, LayoutDocEntry::ClassInlineClasses, LayoutDocEntry::ClassNestedClasses, LayoutDocEntry::ClassUsedFiles, LayoutDocEntry::ConceptDefinition, Config_getBool, LayoutDocEntry::DetailedDesc, LayoutDocEntry::DirFiles, LayoutDocEntry::DirGraph, LayoutDocEntry::DirSubDirs, OutputList::disable(), OutputList::disableAllBut(), endFile(), OutputList::endHeaderSection(), endMemberDeclarations(), endMemberDocumentation(), OutputList::endTitleHead(), err(), LayoutDocEntry::FileClasses, LayoutDocEntry::FileConcepts, LayoutDocEntry::FileConstantGroups, LayoutDocEntry::FileExceptions, LayoutDocEntry::FileIncludedByGraph, LayoutDocEntry::FileIncludeGraph, LayoutDocEntry::FileIncludes, LayoutDocEntry::FileInlineClasses, LayoutDocEntry::FileInterfaces, LayoutDocEntry::FileNamespaces, LayoutDocEntry::FileSourceLink, LayoutDocEntry::FileStructs, DefinitionMixin< GroupDef >::getLanguage(), getOutputFileBase(), LayoutDocManager::Group, LayoutDocEntry::GroupClasses, LayoutDocEntry::GroupConcepts, LayoutDocEntry::GroupDirs, LayoutDocEntry::GroupFiles, LayoutDocEntry::GroupGraph, LayoutDocEntry::GroupInlineClasses, LayoutDocEntry::GroupNamespaces, LayoutDocEntry::GroupNestedGroups, LayoutDocEntry::GroupPageDocs, HLI_Modules, LayoutDocManager::instance(), QCString::isEmpty(), m_allMemberList, m_title, OutputGenerator::Man, LayoutDocEntry::MemberDecl, LayoutDocEntry::MemberDeclEnd, LayoutDocEntry::MemberDeclStart, LayoutDocEntry::MemberDef, LayoutDocEntry::MemberDefEnd, LayoutDocEntry::MemberDefStart, LayoutDocEntry::MemberGroups, DefinitionMixin< GroupDef >::name(), LayoutDocEntry::NamespaceClasses, LayoutDocEntry::NamespaceConcepts, LayoutDocEntry::NamespaceExceptions, LayoutDocEntry::NamespaceInlineClasses, LayoutDocEntry::NamespaceInterfaces, LayoutDocEntry::NamespaceNestedConstantGroups, LayoutDocEntry::NamespaceNestedNamespaces, LayoutDocEntry::NamespaceStructs, OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), MemberVector::sort(), OutputList::startContents(), startFile(), OutputList::startHeaderSection(), startMemberDeclarations(), startMemberDocumentation(), OutputList::startTitleHead(), LayoutDocEntrySection::title(), LayoutDocEntryMemberDecl::title(), LayoutDocEntryMemberDef::title(), LayoutDocEntryMemberDecl::type, LayoutDocEntryMemberDef::type, writeAuthorSection(), writeBriefDescription(), writeClasses(), writeConcepts(), writeDetailedDescription(), writeDirs(), writeFiles(), writeGroupGraph(), writeInlineClasses(), writeMemberDeclarations(), writeMemberDocumentation(), writeMemberGroups(), writeMemberPages(), writeNamespaces(), writeNestedGroups(), writePageDocumentation(), OutputList::writeString() , 以及 writeSummaryLinks().

◆ writeFiles()

void GroupDefImpl::writeFiles ( OutputList ol,
const QCString title 
)
private

在文件 groupdef.cpp848 行定义.

849 {
850  // write list of files
851  if (!m_fileList.empty())
852  {
853  ol.startMemberHeader("files");
854  ol.parseText(title);
855  ol.endMemberHeader();
856  ol.startMemberList();
857  for (const auto &fd : m_fileList)
858  {
859  if (!fd->hasDocumentation()) continue;
861  ol.startMemberItem(fd->getOutputFileBase(),0);
863  ol.insertMemberAlign();
864  ol.writeObjectLink(fd->getReference(),fd->getOutputFileBase(),QCString(),fd->name());
865  ol.endMemberItem();
866  if (!fd->briefDescription().isEmpty() && Config_getBool(BRIEF_MEMBER_DESC))
867  {
868  ol.startMemberDescription(fd->getOutputFileBase());
869  ol.generateDoc(briefFile(),briefLine(),fd,0,fd->briefDescription(),FALSE,FALSE,
870  QCString(),TRUE,FALSE,Config_getBool(MARKDOWN_SUPPORT));
872  }
874  }
875  ol.endMemberList();
876  }
877 }

引用了 DefinitionMixin< GroupDef >::briefFile(), DefinitionMixin< GroupDef >::briefLine(), Config_getBool, OutputList::docify(), OutputList::endMemberDeclaration(), OutputList::endMemberDescription(), OutputList::endMemberHeader(), OutputList::endMemberItem(), OutputList::endMemberList(), FALSE, OutputList::generateDoc(), OutputList::insertMemberAlign(), m_fileList, OutputList::parseText(), OutputList::startMemberDeclaration(), OutputList::startMemberDescription(), OutputList::startMemberHeader(), OutputList::startMemberItem(), OutputList::startMemberList(), theTranslator, Translator::trFile(), TRUE , 以及 OutputList::writeObjectLink().

被这些函数引用 writeDocumentation().

◆ writeGroupGraph()

void GroupDefImpl::writeGroupGraph ( OutputList ol)
private

在文件 groupdef.cpp828 行定义.

829 {
830  if (Config_getBool(HAVE_DOT) /*&& Config_getBool(GROUP_GRAPHS)*/ )
831  {
832  DotGroupCollaboration graph(this);
833  if (!graph.isTrivial())
834  {
835  msg("Generating dependency graph for group %s\n",qPrint(qualifiedName()));
836  ol.pushGeneratorState();
838  //ol.startParagraph();
841  ol.endGroupCollaboration(graph);
842  //ol.endParagraph();
843  ol.popGeneratorState();
844  }
845  }
846 }

引用了 Config_getBool, OutputList::disable(), OutputList::endGroupCollaboration(), DotGroupCollaboration::isTrivial(), m_title, OutputGenerator::Man, msg(), OutputList::parseText(), OutputList::popGeneratorState(), OutputList::pushGeneratorState(), qPrint(), DefinitionMixin< GroupDef >::qualifiedName(), OutputList::startGroupCollaboration(), theTranslator , 以及 Translator::trCollaborationDiagram().

被这些函数引用 writeDocumentation().

◆ writeInlineClasses()

void GroupDefImpl::writeInlineClasses ( OutputList ol)
private

在文件 groupdef.cpp969 行定义.

970 {
972 }

引用了 m_classes , 以及 ClassLinkedRefMap::writeDocumentation().

被这些函数引用 writeDocumentation().

◆ writeMemberDeclarations()

void GroupDefImpl::writeMemberDeclarations ( OutputList ol,
MemberListType  lt,
const QCString title 
)
private

在文件 groupdef.cpp1699 行定义.

1700 {
1701  static bool optimizeVhdl = Config_getBool(OPTIMIZE_OUTPUT_VHDL);
1702 
1703  MemberList * ml = getMemberList(lt);
1704  if (optimizeVhdl && ml)
1705  {
1706  VhdlDocGen::writeVhdlDeclarations(ml,ol,this,0,0,0);
1707  return;
1708  }
1709  if (ml)
1710  {
1711  ml->writeDeclarations(ol,0,0,0,this,title,QCString());
1712  }
1713 }

引用了 Config_getBool, getMemberList(), MemberList::writeDeclarations() , 以及 VhdlDocGen::writeVhdlDeclarations().

被这些函数引用 writeDocumentation().

◆ writeMemberDocumentation()

void GroupDefImpl::writeMemberDocumentation ( OutputList ol,
MemberListType  lt,
const QCString title 
)
private

在文件 groupdef.cpp1715 行定义.

1716 {
1717  MemberList * ml = getMemberList(lt);
1718  if (ml) ml->writeDocumentation(ol,name(),this,title);
1719 }

引用了 getMemberList(), DefinitionMixin< GroupDef >::name() , 以及 MemberList::writeDocumentation().

被这些函数引用 writeDocumentation().

◆ writeMemberGroups()

void GroupDefImpl::writeMemberGroups ( OutputList ol)
private

在文件 groupdef.cpp996 行定义.

997 {
998  /* write user defined member groups */
999  for (const auto &mg : m_memberGroups)
1000  {
1001  mg->writeDeclarations(ol,0,0,0,this);
1002  }
1003 }

引用了 m_memberGroups.

被这些函数引用 writeDocumentation().

◆ writeMemberPages()

void GroupDefImpl::writeMemberPages ( OutputList ol)
virtual

实现了 GroupDef.

在文件 groupdef.cpp1266 行定义.

1267 {
1268  ol.pushGeneratorState();
1270 
1271  for (const auto &ml : m_memberLists)
1272  {
1273  if (ml->listType()&MemberListType_documentationLists)
1274  {
1275  ml->writeDocumentationPage(ol,name(),this);
1276  }
1277  }
1278 
1279  ol.popGeneratorState();
1280 }

引用了 OutputList::disableAllBut(), OutputGenerator::Html, m_memberLists, MemberListType_documentationLists, DefinitionMixin< GroupDef >::name(), OutputList::popGeneratorState() , 以及 OutputList::pushGeneratorState().

被这些函数引用 writeDocumentation().

◆ writeNamespaces()

void GroupDefImpl::writeNamespaces ( OutputList ol,
const QCString title 
)
private

在文件 groupdef.cpp879 行定义.

880 {
881  // write list of namespaces
882  m_namespaces.writeDeclaration(ol,title);
883 }

引用了 m_namespaces , 以及 NamespaceLinkedRefMap::writeDeclaration().

被这些函数引用 writeDocumentation().

◆ writeNestedGroups()

void GroupDefImpl::writeNestedGroups ( OutputList ol,
const QCString title 
)
private

在文件 groupdef.cpp885 行定义.

886 {
887  // write list of groups
888  int count=0;
889  for (const auto &gd : m_groups)
890  {
891  if (gd->isVisible()) count++;
892  }
893  if (count>0)
894  {
895  ol.startMemberHeader("groups");
896  ol.parseText(title);
897  ol.endMemberHeader();
898  ol.startMemberList();
899  for (const auto &gd : m_groups)
900  {
901  if (gd->isVisible())
902  {
903  if (!gd->hasDocumentation()) continue;
905  ol.startMemberItem(gd->getOutputFileBase(),0);
906  //ol.docify(theTranslator->trGroup(FALSE,TRUE));
907  //ol.docify(" ");
908  ol.insertMemberAlign();
909  ol.writeObjectLink(gd->getReference(),gd->getOutputFileBase(),QCString(),gd->groupTitle());
910  ol.endMemberItem();
911  if (!gd->briefDescription().isEmpty() && Config_getBool(BRIEF_MEMBER_DESC))
912  {
913  ol.startMemberDescription(gd->getOutputFileBase());
914  ol.generateDoc(briefFile(),briefLine(),gd,0,gd->briefDescription(),FALSE,FALSE,
915  QCString(),TRUE,FALSE,Config_getBool(MARKDOWN_SUPPORT));
917  }
919  }
920  }
921  ol.endMemberList();
922  }
923 }

引用了 DefinitionMixin< GroupDef >::briefFile(), DefinitionMixin< GroupDef >::briefLine(), Config_getBool, OutputList::endMemberDeclaration(), OutputList::endMemberDescription(), OutputList::endMemberHeader(), OutputList::endMemberItem(), OutputList::endMemberList(), FALSE, OutputList::generateDoc(), OutputList::insertMemberAlign(), m_groups, OutputList::parseText(), OutputList::startMemberDeclaration(), OutputList::startMemberDescription(), OutputList::startMemberHeader(), OutputList::startMemberItem(), OutputList::startMemberList(), TRUE , 以及 OutputList::writeObjectLink().

被这些函数引用 writeDocumentation().

◆ writePageDocumentation()

void GroupDefImpl::writePageDocumentation ( OutputList ol)
private

在文件 groupdef.cpp974 行定义.

975 {
976  for (const auto *pd : m_pages)
977  {
978  if (!pd->isReference())
979  {
980  const SectionInfo *si=0;
981  if (pd->hasTitle() && !pd->name().isEmpty() &&
982  (si=SectionManager::instance().find(pd->name()))!=0)
983  {
985  ol.docify(si->title());
987  }
988  ol.startTextBlock();
989  ol.generateDoc(pd->docFile(),pd->docLine(),pd,0,(pd->documentation()+pd->inbodyDocumentation()),TRUE,FALSE,
990  QCString(),TRUE,FALSE,Config_getBool(MARKDOWN_SUPPORT));
991  ol.endTextBlock();
992  }
993  }
994 }

引用了 Config_getBool, OutputList::docify(), OutputList::endSection(), OutputList::endTextBlock(), FALSE, LinkedMap< T, Hash, KeyEqual, Map >::find(), OutputList::generateDoc(), SectionManager::instance(), SectionInfo::label(), m_pages, OutputList::startSection(), OutputList::startTextBlock(), Subsection, SectionInfo::title() , 以及 TRUE.

被这些函数引用 writeDocumentation().

◆ writeQuickMemberLinks()

void GroupDefImpl::writeQuickMemberLinks ( OutputList ol,
const MemberDef currentMd 
) const
virtual

重载 DefinitionMixin< GroupDef > .

在文件 groupdef.cpp1282 行定义.

1283 {
1284  static bool createSubDirs=Config_getBool(CREATE_SUBDIRS);
1285 
1286  ol.writeString(" <div class=\"navtab\">\n");
1287  ol.writeString(" <table>\n");
1288 
1289  for (const auto *md : m_allMemberList)
1290  {
1291  if (md->getGroupDef()==this && md->isLinkable() && !md->isEnumValue())
1292  {
1293  if (md->isLinkableInProject())
1294  {
1295  if (md==currentMd) // selected item => highlight
1296  {
1297  ol.writeString(" <tr><td class=\"navtabHL\">");
1298  }
1299  else
1300  {
1301  ol.writeString(" <tr><td class=\"navtab\">");
1302  }
1303  ol.writeString("<a class=\"navtab\" ");
1304  ol.writeString("href=\"");
1305  if (createSubDirs) ol.writeString("../../");
1306  ol.writeString(addHtmlExtensionIfMissing(md->getOutputFileBase())+"#"+md->anchor());
1307  ol.writeString("\">");
1308  ol.writeString(convertToHtml(md->localName()));
1309  ol.writeString("</a>");
1310  ol.writeString("</td></tr>\n");
1311  }
1312  }
1313  }
1314  ol.writeString(" </table>\n");
1315  ol.writeString(" </div>\n");
1316 }

引用了 addHtmlExtensionIfMissing(), Config_getBool, convertToHtml(), createSubDirs(), m_allMemberList , 以及 OutputList::writeString().

◆ writeSummaryLinks()

void GroupDefImpl::writeSummaryLinks ( OutputList ol) const
privatevirtual

重载 DefinitionMixin< GroupDef > .

在文件 groupdef.cpp1048 行定义.

1049 {
1050  ol.pushGeneratorState();
1052  bool first=TRUE;
1053  SrcLangExt lang = getLanguage();
1054  for (const auto &lde : LayoutDocManager::instance().docEntries(LayoutDocManager::Group))
1055  {
1056  if ((lde->kind()==LayoutDocEntry::GroupClasses && m_classes.declVisible()) ||
1058  (lde->kind()==LayoutDocEntry::GroupNamespaces && m_namespaces.declVisible(false)) ||
1059  (lde->kind()==LayoutDocEntry::GroupFiles && !m_fileList.empty()) ||
1060  (lde->kind()==LayoutDocEntry::GroupNestedGroups && !m_groups.empty()) ||
1061  (lde->kind()==LayoutDocEntry::GroupDirs && !m_dirList.empty())
1062  )
1063  {
1064  const LayoutDocEntrySection *ls = (const LayoutDocEntrySection*)lde.get();
1065  QCString label = lde->kind()==LayoutDocEntry::GroupClasses ? "nested-classes" :
1066  lde->kind()==LayoutDocEntry::GroupConcepts ? "concepts" :
1067  lde->kind()==LayoutDocEntry::GroupNamespaces ? "namespaces" :
1068  lde->kind()==LayoutDocEntry::GroupFiles ? "files" :
1069  lde->kind()==LayoutDocEntry::GroupNestedGroups ? "groups" :
1070  "dirs";
1071  ol.writeSummaryLink(QCString(),label,ls->title(lang),first);
1072  first=FALSE;
1073  }
1074  else if (lde->kind()==LayoutDocEntry::MemberDecl)
1075  {
1076  const LayoutDocEntryMemberDecl *lmd = (const LayoutDocEntryMemberDecl*)lde.get();
1077  MemberList * ml = getMemberList(lmd->type);
1078  if (ml && ml->declVisible())
1079  {
1081  first=FALSE;
1082  }
1083  }
1084  }
1085  if (!first)
1086  {
1087  ol.writeString(" </div>\n");
1088  }
1089  ol.popGeneratorState();
1090 }

引用了 ClassLinkedRefMap::declVisible(), NamespaceLinkedRefMap::declVisible(), ConceptLinkedRefMap::declVisible(), MemberList::declVisible(), OutputList::disableAllBut(), FALSE, DefinitionMixin< GroupDef >::getLanguage(), getMemberList(), LayoutDocManager::Group, LayoutDocEntry::GroupClasses, LayoutDocEntry::GroupConcepts, LayoutDocEntry::GroupDirs, LayoutDocEntry::GroupFiles, LayoutDocEntry::GroupNamespaces, LayoutDocEntry::GroupNestedGroups, OutputGenerator::Html, LayoutDocManager::instance(), MemberList::listType(), MemberList::listTypeAsString(), m_classes, m_concepts, m_dirList, m_fileList, m_groups, m_namespaces, LayoutDocEntry::MemberDecl, OutputList::popGeneratorState(), OutputList::pushGeneratorState(), LayoutDocEntrySection::title(), LayoutDocEntryMemberDecl::title(), TRUE, LayoutDocEntryMemberDecl::type, OutputList::writeString() , 以及 OutputList::writeSummaryLink().

被这些函数引用 writeDocumentation().

◆ writeTagFile()

void GroupDefImpl::writeTagFile ( TextStream tagFile)
virtual

实现了 GroupDef.

在文件 groupdef.cpp611 行定义.

612 {
613  tagFile << " <compound kind=\"group\">\n";
614  tagFile << " <name>" << convertToXML(name()) << "</name>\n";
615  tagFile << " <title>" << convertToXML(m_title) << "</title>\n";
616  tagFile << " <filename>" << addHtmlExtensionIfMissing(getOutputFileBase()) << "</filename>\n";
617  for (const auto &lde : LayoutDocManager::instance().docEntries(LayoutDocManager::Group))
618  {
619  switch (lde->kind())
620  {
622  {
623  for (const auto &cd : m_classes)
624  {
625  if (cd->isLinkableInProject())
626  {
627  tagFile << " <class kind=\"" << cd->compoundTypeString()
628  << "\">" << convertToXML(cd->name()) << "</class>\n";
629  }
630  }
631  }
632  break;
634  {
635  for (const auto &cd : m_concepts)
636  {
637  if (cd->isLinkableInProject())
638  {
639  tagFile << " <concept>" << convertToXML(cd->name())
640  << "</concept>\n";
641  }
642  }
643  }
644  break;
646  {
647  for (const auto &nd : m_namespaces)
648  {
649  if (nd->isLinkableInProject())
650  {
651  tagFile << " <namespace>" << convertToXML(nd->name())
652  << "</namespace>\n";
653  }
654  }
655  }
656  break;
658  {
659  for (const auto &fd : m_fileList)
660  {
661  if (fd->isLinkableInProject())
662  {
663  tagFile << " <file>" << convertToXML(fd->name()) << "</file>\n";
664  }
665  }
666  }
667  break;
669  {
670  for (const auto &pd : m_pages)
671  {
672  QCString pageName = pd->getOutputFileBase();
673  if (pd->isLinkableInProject())
674  {
675  tagFile << " <page>" << convertToXML(pageName) << "</page>\n";
676  }
677  }
678  }
679  break;
681  {
682  for (const auto &dd : m_dirList)
683  {
684  if (dd->isLinkableInProject())
685  {
686  tagFile << " <dir>" << convertToXML(dd->displayName()) << "</dir>\n";
687  }
688  }
689  }
690  break;
692  {
693  for (const auto &gd : m_groups)
694  {
695  if (gd->isVisible())
696  {
697  tagFile << " <subgroup>" << convertToXML(gd->name()) << "</subgroup>\n";
698  }
699  }
700  }
701  break;
703  {
704  const LayoutDocEntryMemberDecl *lmd = (const LayoutDocEntryMemberDecl*)lde.get();
705  MemberList * ml = getMemberList(lmd->type);
706  if (ml)
707  {
708  ml->writeTagFile(tagFile);
709  }
710  }
711  break;
713  {
714  for (const auto &mg : m_memberGroups)
715  {
716  mg->writeTagFile(tagFile);
717  }
718  }
719  break;
720  default:
721  break;
722  }
723  }
724  writeDocAnchorsToTagFile(tagFile);
725  tagFile << " </compound>\n";
726 }

引用了 addHtmlExtensionIfMissing(), convertToXML(), getMemberList(), getOutputFileBase(), LayoutDocManager::Group, LayoutDocEntry::GroupClasses, LayoutDocEntry::GroupConcepts, LayoutDocEntry::GroupDirs, LayoutDocEntry::GroupFiles, LayoutDocEntry::GroupNamespaces, LayoutDocEntry::GroupNestedGroups, LayoutDocEntry::GroupPageDocs, LayoutDocManager::instance(), m_classes, m_concepts, m_dirList, m_fileList, m_groups, m_memberGroups, m_namespaces, m_pages, m_title, LayoutDocEntry::MemberDecl, LayoutDocEntry::MemberGroups, DefinitionMixin< GroupDef >::name(), LayoutDocEntryMemberDecl::type, DefinitionMixin< GroupDef >::writeDocAnchorsToTagFile() , 以及 MemberList::writeTagFile().

类成员变量说明

◆ m_allMemberList

MemberList GroupDefImpl::m_allMemberList
private

◆ m_allMemberNameInfoLinkedMap

MemberNameInfoLinkedMap GroupDefImpl::m_allMemberNameInfoLinkedMap
private

在文件 groupdef.cpp169 行定义.

被这些函数引用 insertMember() , 以及 removeMember().

◆ m_classes

ClassLinkedRefMap GroupDefImpl::m_classes
private

◆ m_concepts

ConceptLinkedRefMap GroupDefImpl::m_concepts
private

在文件 groupdef.cpp162 行定义.

被这些函数引用 addConcept(), writeConcepts(), writeSummaryLinks() , 以及 writeTagFile().

◆ m_dirList

DirList GroupDefImpl::m_dirList
private

在文件 groupdef.cpp167 行定义.

被这些函数引用 addDir(), setGroupScope(), sortMemberLists(), writeDirs(), writeSummaryLinks() , 以及 writeTagFile().

◆ m_examples

PageLinkedRefMap GroupDefImpl::m_examples
private

在文件 groupdef.cpp166 行定义.

被这些函数引用 addExample(), getGroupScope() , 以及 numDocMembers().

◆ m_fileList

FileList GroupDefImpl::m_fileList
private

在文件 groupdef.cpp160 行定义.

被这些函数引用 addFile(), numDocMembers(), writeFiles(), writeSummaryLinks() , 以及 writeTagFile().

◆ m_fileName

QCString GroupDefImpl::m_fileName
private

在文件 groupdef.cpp159 行定义.

被这些函数引用 getOutputFileBase().

◆ m_groups

GroupList GroupDefImpl::m_groups
private

◆ m_groupScope

Definition* GroupDefImpl::m_groupScope
private

在文件 groupdef.cpp170 行定义.

◆ m_memberGroups

◆ m_memberLists

◆ m_namespaces

NamespaceLinkedRefMap GroupDefImpl::m_namespaces
private

◆ m_pages

PageLinkedRefMap GroupDefImpl::m_pages
private

◆ m_subGrouping

bool GroupDefImpl::m_subGrouping
private

在文件 groupdef.cpp173 行定义.

◆ m_title

QCString GroupDefImpl::m_title
private

在文件 groupdef.cpp157 行定义.

被这些函数引用 setGroupTitle(), writeDocumentation(), writeGroupGraph() , 以及 writeTagFile().

◆ m_titleSet

bool GroupDefImpl::m_titleSet
private

在文件 groupdef.cpp158 行定义.

被这些函数引用 setGroupTitle().


该类的文档由以下文件生成:
DefinitionMixin< GroupDef >::briefFile
virtual QCString briefFile() const
Definition: definitionimpl.h:171
LayoutDocEntry::GroupPageDocs
@ GroupPageDocs
Definition: layout.h:65
LinkedRefMap::add
bool add(const char *k, T *obj)
Adds an object reference to the ordered vector if it was not added already.
Definition: linkedmap.h:284
DefinitionMixin< GroupDef >::hasUserDocumentation
virtual bool hasUserDocumentation() const
Definition: definitionimpl.h:177
OutputList::disableAllBut
void disableAllBut(OutputGenerator::OutputType o)
Definition: outputlist.cpp:76
DefinitionMixin< GroupDef >::isReference
virtual bool isReference() const
Definition: definitionimpl.h:183
SrcLangExt_Unknown
@ SrcLangExt_Unknown
Definition: types.h:43
OutputList::startMemberDescription
void startMemberDescription(const QCString &anchor, const QCString &inheritId=QCString(), bool typ=false)
Definition: outputlist.h:306
OutputList::endGroupHeader
void endGroupHeader(int extraLevels=0)
Definition: outputlist.h:171
MemberListType_decEnumValMembers
@ MemberListType_decEnumValMembers
Definition: types.h:155
LayoutDocEntryMemberDecl::type
MemberListType type
Definition: layout.h:101
OutputList::startMemberList
void startMemberList()
Definition: outputlist.h:197
LayoutDocEntryMemberDecl
Represents of a member declaration list with configurable title and subtitle.
Definition: layout.h:94
LayoutDocEntry::NamespaceNestedNamespaces
@ NamespaceNestedNamespaces
Definition: layout.h:52
GroupDefImpl::writeMemberDeclarations
void writeMemberDeclarations(OutputList &ol, MemberListType lt, const QCString &title)
Definition: groupdef.cpp:1699
MemberType_Variable
@ MemberType_Variable
Definition: types.h:278
ConceptLinkedRefMap::writeDeclaration
void writeDeclaration(OutputList &ol, const QCString &header, bool localNames) const
Definition: conceptdef.cpp:662
GroupDefImpl::endMemberDocumentation
void endMemberDocumentation(OutputList &ol)
Definition: groupdef.cpp:1026
toMemberDefMutable
MemberDefMutable * toMemberDefMutable(Definition *d)
Definition: memberdef.cpp:6125
OutputList::endMemberDeclaration
void endMemberDeclaration(const QCString &anchor, const QCString &inheritId)
Definition: outputlist.h:312
MemberListType_decEventMembers
@ MemberListType_decEventMembers
Definition: types.h:160
GroupDefImpl::m_fileName
QCString m_fileName
Definition: groupdef.cpp:159
GroupDefImpl::getOutputFileBase
virtual QCString getOutputFileBase() const
Definition: groupdef.cpp:1554
LayoutDocEntry::GroupConcepts
@ GroupConcepts
Definition: layout.h:63
MemberListType_docProSlotMembers
@ MemberListType_docProSlotMembers
Definition: types.h:172
MemberListType_docEnumMembers
@ MemberListType_docEnumMembers
Definition: types.h:167
LayoutDocEntry::GroupFiles
@ GroupFiles
Definition: layout.h:64
DefinitionMixin< GroupDef >::xrefListItems
virtual const RefItemVector & xrefListItems() const
Definition: definitionimpl.h:192
LayoutDocEntry::NamespaceInlineClasses
@ NamespaceInlineClasses
Definition: layout.h:54
NamespaceDef
An abstract interface of a namespace symbol.
Definition: namespacedef.h:54
MemberType_EnumValue
@ MemberType_EnumValue
Definition: types.h:281
LayoutDocEntry::MemberDef
@ MemberDef
Definition: layout.h:38
GroupDefImpl::writeConcepts
void writeConcepts(OutputList &ol, const QCString &title)
Definition: groupdef.cpp:963
LayoutDocEntry::FileClasses
@ FileClasses
Definition: layout.h:57
MemberListType_decProSlotMembers
@ MemberListType_decProSlotMembers
Definition: types.h:157
HLI_Modules
@ HLI_Modules
Definition: index.h:144
MemberType_Signal
@ MemberType_Signal
Definition: types.h:282
ClassLinkedRefMap::writeDeclaration
void writeDeclaration(OutputList &ol, const ClassDef::CompoundType *filter, const QCString &header, bool localNames) const
Definition: classlist.cpp:53
OutputList::docify
void docify(const QCString &s)
Definition: outputlist.h:137
LayoutDocEntry::ConceptDefinition
@ ConceptDefinition
Definition: layout.h:49
DefinitionMixin< GroupDef >::writeDocAnchorsToTagFile
virtual void writeDocAnchorsToTagFile(TextStream &fs) const
Definition: definitionimpl.h:268
OutputList::endTitleHead
void endTitleHead(const QCString &fileName, const QCString &name)
Definition: outputlist.h:101
ArgumentList
This class represents an function or template argument list.
Definition: arguments.h:59
OutputList::endMemberDescription
void endMemberDescription()
Definition: outputlist.h:308
GroupDefImpl::m_titleSet
bool m_titleSet
Definition: groupdef.cpp:158
MemberLists::get
const std::unique_ptr< MemberList > & get(MemberListType lt, MemberListContainer con)
Definition: memberlist.h:142
DefinitionMixin< GroupDef >::docFile
virtual QCString docFile() const
Definition: definitionimpl.h:164
GroupDefImpl::startMemberDeclarations
void startMemberDeclarations(OutputList &ol)
Definition: groupdef.cpp:1005
QCString::isEmpty
bool isEmpty() const
Returns TRUE iff the string is empty
Definition: qcstring.h:144
MemberListType_allMembersList
@ MemberListType_allMembersList
Definition: types.h:147
GroupDefImpl::writeMemberDocumentation
void writeMemberDocumentation(OutputList &ol, MemberListType lt, const QCString &title)
Definition: groupdef.cpp:1715
GroupDefImpl::removeMemberFromList
void removeMemberFromList(MemberListType lt, MemberDef *md)
Definition: groupdef.cpp:1721
DefinitionMixin< GroupDef >::partOfGroups
virtual const GroupList & partOfGroups() const
Definition: definitionimpl.h:190
OutputList::startMemberSections
void startMemberSections()
Definition: outputlist.h:177
OutputList::writeString
void writeString(const QCString &text)
Definition: outputlist.h:111
GroupDefImpl::hasDetailedDescription
virtual bool hasDetailedDescription() const
Definition: groupdef.cpp:1755
LayoutDocEntryMemberDef::title
QCString title(SrcLangExt lang) const
Definition: layout.cpp:1680
OutputList::insertMemberAlign
void insertMemberAlign(bool templ=FALSE)
Definition: outputlist.h:233
OutputList::endGroupCollaboration
void endGroupCollaboration(DotGroupCollaboration &g)
Definition: outputlist.h:405
VhdlDocGen::writeVhdlDeclarations
static void writeVhdlDeclarations(const MemberList *, OutputList &, const GroupDef *, const ClassDef *, const FileDef *, const NamespaceDef *)
Definition: vhdldocgen.cpp:1539
MemberVector::sort
void sort()
Definition: memberlist.h:58
LinkedMap::del
bool del(const QCString &key)
Removes an object from the container and deletes it.
Definition: linkedmap.h:196
LayoutDocEntry::ClassInheritanceGraph
@ ClassInheritanceGraph
Definition: layout.h:44
MemberVector::push_back
void push_back(const MemberDef *md)
Definition: memberlist.h:42
SrcLangExt
SrcLangExt
Language as given by extension
Definition: types.h:41
LayoutDocEntry::MemberDeclStart
@ MemberDeclStart
Definition: layout.h:37
MemberType_Friend
@ MemberType_Friend
Definition: types.h:284
LinkedMap::add
T * add(const char *k, Args &&... args)
Adds a new object to the ordered vector if it was not added already.
Definition: linkedmap.h:103
ClassLinkedRefMap::writeDocumentation
void writeDocumentation(OutputList &ol, const Definition *container=0) const
Definition: classlist.cpp:74
MemberType_Enumeration
@ MemberType_Enumeration
Definition: types.h:280
groupClassesWithSameScope
static void groupClassesWithSameScope(Vec &vec)
Definition: groupdef.cpp:1597
MemberType_Typedef
@ MemberType_Typedef
Definition: types.h:279
DefinitionMixin< GroupDef >::makePartOfGroup
virtual void makePartOfGroup(const GroupDef *gd)
Definition: definitionimpl.h:256
Definition::isHidden
virtual bool isHidden() const =0
OutputList::startGroupCollaboration
void startGroupCollaboration()
Definition: outputlist.h:403
LayoutDocEntry::NamespaceClasses
@ NamespaceClasses
Definition: layout.h:53
MemberListType_docDefineMembers
@ MemberListType_docDefineMembers
Definition: types.h:164
LayoutDocEntry::GroupClasses
@ GroupClasses
Definition: layout.h:63
Public
@ Public
Definition: types.h:26
DefinitionMixin< GroupDef >::getLanguage
virtual SrcLangExt getLanguage() const
Definition: definitionimpl.h:189
GroupDefImpl::m_examples
PageLinkedRefMap m_examples
Definition: groupdef.cpp:166
err
void err(const char *fmt,...)
Definition: message.cpp:203
DefinitionMixin< GroupDef >::name
virtual QCString name() const
Definition: definitionimpl.h:155
LayoutDocEntry::ClassIncludes
@ ClassIncludes
Definition: layout.h:43
LayoutDocEntry::FileNamespaces
@ FileNamespaces
Definition: layout.h:57
GroupDefImpl::writeInlineClasses
void writeInlineClasses(OutputList &ol)
Definition: groupdef.cpp:969
LayoutDocEntryMemberDef::type
MemberListType type
Definition: layout.h:116
MemberDef::getGroupAlias
virtual const MemberDef * getGroupAlias() const =0
GroupDefImpl::getMemberList
virtual MemberList * getMemberList(MemberListType lt) const
Definition: groupdef.cpp:1687
MemberDefMutable
Definition: memberdef.h:296
LayoutDocEntry::FileConcepts
@ FileConcepts
Definition: layout.h:57
DefinitionMixin< GroupDef >::briefLine
virtual int briefLine() const
Definition: definitionimpl.h:167
compareDirDefs
bool compareDirDefs(const DirDef *item1, const DirDef *item2)
Definition: dirdef.cpp:1115
LayoutDocEntry::MemberDefEnd
@ MemberDefEnd
Definition: layout.h:38
GroupDefImpl::startMemberDocumentation
void startMemberDocumentation(OutputList &ol)
Definition: groupdef.cpp:1015
LayoutDocEntry::DirSubDirs
@ DirSubDirs
Definition: layout.h:68
GroupDefImpl::m_concepts
ConceptLinkedRefMap m_concepts
Definition: groupdef.cpp:162
DefinitionMixin< GroupDef >::hasBriefDescription
virtual bool hasBriefDescription() const
Definition: definitionimpl.h:199
OutputList::writeDoc
void writeDoc(DocRoot *root, const Definition *ctx, const MemberDef *md, int id=0)
Definition: outputlist.cpp:169
GroupDefImpl::updateLanguage
void updateLanguage(const Definition *)
Definition: groupdef.cpp:1747
MemberList::declVisible
bool declVisible() const
Definition: memberlist.cpp:279
SectionInfo::label
QCString label() const
Definition: section.h:65
GroupDefImpl::endMemberDeclarations
void endMemberDeclarations(OutputList &ol)
Definition: groupdef.cpp:1010
Definition::getLanguage
virtual SrcLangExt getLanguage() const =0
Returns the programming language this definition was written in.
GroupDefImpl::m_classes
ClassLinkedRefMap m_classes
Definition: groupdef.cpp:161
MemberDefMutable::setGroupAlias
virtual void setGroupAlias(const MemberDef *md)=0
LayoutDocEntry::NamespaceNestedConstantGroups
@ NamespaceNestedConstantGroups
Definition: layout.h:52
DefinitionMixin< GroupDef >::inbodyLine
virtual int inbodyLine() const
Definition: definitionimpl.h:170
GroupDefImpl::writeSummaryLinks
void writeSummaryLinks(OutputList &ol) const
Definition: groupdef.cpp:1048
LayoutDocEntry::GroupInlineClasses
@ GroupInlineClasses
Definition: layout.h:63
GroupDefImpl::numDocMembers
virtual size_t numDocMembers() const
Definition: groupdef.cpp:593
OutputList::writeSummaryLink
void writeSummaryLink(const QCString &file, const QCString &anchor, const QCString &title, bool first)
Definition: outputlist.h:359
OutputList::endTextBlock
void endTextBlock(bool paraBreak=FALSE)
Definition: outputlist.h:411
MemberListType_declarationLists
@ MemberListType_declarationLists
Definition: types.h:104
GroupDefImpl::m_dirList
DirList m_dirList
Definition: groupdef.cpp:167
OutputGenerator::RTF
@ RTF
Definition: outputgen.h:333
MemberListType_decFriendMembers
@ MemberListType_decFriendMembers
Definition: types.h:161
PageDef
A model of a page symbol.
Definition: pagedef.h:25
LayoutDocManager::Group
@ Group
Definition: layout.h:203
GroupDefImpl::m_groupScope
Definition * m_groupScope
Definition: groupdef.cpp:170
ConceptLinkedRefMap::declVisible
bool declVisible() const
Definition: conceptdef.cpp:648
LayoutDocEntry::ClassCollaborationGraph
@ ClassCollaborationGraph
Definition: layout.h:45
DefinitionMixin< GroupDef >::qualifiedName
virtual QCString qualifiedName() const
Definition: definitionimpl.h:158
LayoutDocEntryMemberDecl::title
QCString title(SrcLangExt lang) const
Definition: layout.cpp:1668
MemberList::listTypeAsString
static QCString listTypeAsString(MemberListType type)
Definition: memberlist.cpp:882
LayoutDocEntry::FileStructs
@ FileStructs
Definition: layout.h:57
MemberListType_docFriendMembers
@ MemberListType_docFriendMembers
Definition: types.h:176
LayoutDocEntryMemberDef
Represents of a member definition list with configurable title.
Definition: layout.h:110
addHtmlExtensionIfMissing
QCString addHtmlExtensionIfMissing(const QCString &fName)
Definition: util.cpp:5275
MemberType_Function
@ MemberType_Function
Definition: types.h:277
MemberDef
A model of a class/file/namespace member symbol.
Definition: memberdef.h:45
MemberList::writeTagFile
void writeTagFile(TextStream &)
Definition: memberlist.cpp:940
LayoutDocEntry::FileIncludes
@ FileIncludes
Definition: layout.h:58
OutputGenerator::Latex
@ Latex
Definition: outputgen.h:333
MemberListType_decPropMembers
@ MemberListType_decPropMembers
Definition: types.h:162
DefinitionMixin< GroupDef >::briefDescription
virtual QCString briefDescription(bool abbreviate=FALSE) const
Definition: definitionimpl.h:165
MemberListType_decVarMembers
@ MemberListType_decVarMembers
Definition: types.h:154
MemberType_Slot
@ MemberType_Slot
Definition: types.h:283
OutputList::startTextBlock
void startTextBlock(bool dense=FALSE)
Definition: outputlist.h:409
OutputList::startMemberItem
void startMemberItem(const QCString &anchor, int i1, const QCString &id=QCString())
Definition: outputlist.h:209
OutputList::disable
void disable(OutputGenerator::OutputType o)
Definition: outputlist.cpp:100
OutputList::startMemberHeader
void startMemberHeader(const QCString &anchor, int typ=2)
Definition: outputlist.h:185
MemberNameInfo
Definition: membername.h:98
GroupDefImpl::writeNamespaces
void writeNamespaces(OutputList &ol, const QCString &title)
Definition: groupdef.cpp:879
GroupDefImpl::m_subGrouping
bool m_subGrouping
Definition: groupdef.cpp:173
MemberList::listType
MemberListType listType() const
Definition: memberlist.h:86
DefinitionMixin< GroupDef >::inbodyDocumentation
virtual QCString inbodyDocumentation() const
Definition: definitionimpl.h:168
LayoutDocEntrySection
Definition: layout.h:84
LayoutDocEntry::MemberDeclEnd
@ MemberDeclEnd
Definition: layout.h:37
OutputList::writeAnchor
void writeAnchor(const QCString &fileName, const QCString &name)
Definition: outputlist.h:239
Translator::trMore
virtual QCString trMore()=0
MemberListType_decPriSlotMembers
@ MemberListType_decPriSlotMembers
Definition: types.h:158
GroupDefImpl::writeGroupGraph
void writeGroupGraph(OutputList &ol)
Definition: groupdef.cpp:828
Definition::TypeFile
@ TypeFile
Definition: definition.h:88
GroupDefImpl::m_fileList
FileList m_fileList
Definition: groupdef.cpp:160
OutputList::startHeaderSection
void startHeaderSection()
Definition: outputlist.h:181
LayoutDocEntry::MemberDefStart
@ MemberDefStart
Definition: layout.h:38
GroupDefImpl::addMemberListToGroup
void addMemberListToGroup(MemberList *, bool(MemberDef::*)() const)
qstricmp
int qstricmp(const char *str1, const char *str2)
Definition: qcstring.cpp:433
LayoutDocEntry::DirFiles
@ DirFiles
Definition: layout.h:68
theTranslator
Translator * theTranslator
Definition: language.cpp:156
Definition::name
virtual QCString name() const =0
MemberVector::remove
void remove(const MemberDef *md)
Definition: memberlist.h:66
MemberListType_decPubSlotMembers
@ MemberListType_decPubSlotMembers
Definition: types.h:156
LayoutDocEntry::NamespaceExceptions
@ NamespaceExceptions
Definition: layout.h:53
OutputList::writeRuler
void writeRuler()
Definition: outputlist.h:237
LayoutDocEntry::FileConstantGroups
@ FileConstantGroups
Definition: layout.h:57
MemberListType_docSignalMembers
@ MemberListType_docSignalMembers
Definition: types.h:174
Translator::trGeneratedAutomatically
virtual QCString trGeneratedAutomatically(const QCString &s)=0
validatingParseDoc
DocRoot * 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)
Definition: docparser.cpp:7495
GroupDefImpl::writeBriefDescription
void writeBriefDescription(OutputList &ol)
Definition: groupdef.cpp:792
MemberListType_docFuncMembers
@ MemberListType_docFuncMembers
Definition: types.h:168
LayoutDocEntry::GroupGraph
@ GroupGraph
Definition: layout.h:65
MemberDef::isFunction
virtual bool isFunction() const =0
LayoutDocEntry::NamespaceStructs
@ NamespaceStructs
Definition: layout.h:53
OutputList::endParagraph
void endParagraph()
Definition: outputlist.h:109
startFile
void startFile(OutputList &ol, const QCString &name, const QCString &manName, const QCString &title, HighlightedItem hli, bool additionalIndices, const QCString &altSidebarName)
Definition: index.cpp:235
TRUE
#define TRUE
Definition: qcstring.h:36
OutputList::endMemberList
void endMemberList()
Definition: outputlist.h:199
GroupDefImpl::m_memberLists
MemberLists m_memberLists
Definition: groupdef.cpp:171
GroupDefImpl::m_allMemberList
MemberList m_allMemberList
Definition: groupdef.cpp:168
LayoutDocEntry::GroupNestedGroups
@ GroupNestedGroups
Definition: layout.h:64
MemberList::writeDeclarations
void writeDeclarations(OutputList &ol, const ClassDef *cd, const NamespaceDef *nd, const FileDef *fd, const GroupDef *gd, const QCString &title, const QCString &subtitle, bool showEnumValues=FALSE, bool showInline=FALSE, const ClassDef *inheritedFrom=0, MemberListType lt=MemberListType_pubMethods) const
Writes the list of members to the output.
Definition: memberlist.cpp:526
OutputList::endMemberItem
void endMemberItem()
Definition: outputlist.h:211
GroupDefImpl::writeAuthorSection
void writeAuthorSection(OutputList &ol)
Definition: groupdef.cpp:1036
OutputGenerator::Html
@ Html
Definition: outputgen.h:333
MemberDef::protection
virtual Protection protection() const =0
LinkedMap::find
const T * find(const std::string &key) const
Find an object given the key.
Definition: linkedmap.h:60
OutputList::enableAll
void enableAll()
Definition: outputlist.cpp:84
MemberListType_decEnumMembers
@ MemberListType_decEnumMembers
Definition: types.h:152
SectionInfo::title
QCString title() const
Definition: section.h:66
LinkedRefMap::begin
iterator begin()
Definition: linkedmap.h:366
SectionType::Subsection
@ Subsection
addRefItem
void addRefItem(const RefItemVector &sli, const QCString &key, const QCString &prefix, const QCString &name, const QCString &title, const QCString &args, const Definition *scope)
Definition: util.cpp:4880
DefinitionMixin< GroupDef >::docLine
virtual int docLine() const
Definition: definitionimpl.h:163
OutputList::startContents
void startContents()
Definition: outputlist.h:361
Definition::definitionType
virtual DefType definitionType() const =0
OutputList::startGroupHeader
void startGroupHeader(int extraLevels=0)
Definition: outputlist.h:169
MemberType_Property
@ MemberType_Property
Definition: types.h:286
DefinitionMixin< GroupDef >::inbodyFile
virtual QCString inbodyFile() const
Definition: definitionimpl.h:169
MemberListType_decDefineMembers
@ MemberListType_decDefineMembers
Definition: types.h:149
OutputList::endMemberSections
void endMemberSections()
Definition: outputlist.h:179
OutputList::popGeneratorState
void popGeneratorState()
Definition: outputlist.cpp:134
OutputList::startTextLink
void startTextLink(const QCString &file, const QCString &anchor)
Definition: outputlist.h:152
GroupDefImpl::writeClasses
void writeClasses(OutputList &ol, const QCString &title)
Definition: groupdef.cpp:957
ArgumentList::size
size_t size() const
Definition: arguments.h:93
docFindSections
void docFindSections(const QCString &input, const Definition *d, const QCString &fileName)
Definition: docparser.cpp:7681
GroupDefImpl::writeMemberGroups
void writeMemberGroups(OutputList &ol)
Definition: groupdef.cpp:996
GroupDefImpl::isLinkable
virtual bool isLinkable() const
Definition: groupdef.cpp:1740
MemberListType_decFuncMembers
@ MemberListType_decFuncMembers
Definition: types.h:153
MemberVector::size
size_t size() const
Definition: memberlist.h:48
DefinitionMixin< GroupDef >::documentation
virtual QCString documentation() const
Definition: definitionimpl.h:162
MemberListType_docPubSlotMembers
@ MemberListType_docPubSlotMembers
Definition: types.h:171
OutputList::endHeaderSection
void endHeaderSection()
Definition: outputlist.h:183
OutputList::endSection
void endSection(const QCString &lab, SectionType t)
Definition: outputlist.h:333
GroupDefImpl::m_title
QCString m_title
Definition: groupdef.cpp:157
Protected
@ Protected
Definition: types.h:26
DefinitionMixin< GroupDef >::DefinitionMixin
DefinitionMixin(const QCString &defFileName, int defLine, int defColumn, const QCString &name, const char *b=0, const char *d=0, bool isSymbol=TRUE)
Definition: definitionimpl.h:146
GroupDefImpl::writeNestedGroups
void writeNestedGroups(OutputList &ol, const QCString &title)
Definition: groupdef.cpp:885
OutputList::endMemberHeader
void endMemberHeader()
Definition: outputlist.h:187
MemberDef::templateArguments
virtual const ArgumentList & templateArguments() const =0
RefItemVector
std::vector< RefItem * > RefItemVector
Definition: reflist.h:132
MemberList::setAnchors
void setAnchors()
Definition: memberlist.cpp:975
LayoutDocEntry::ClassAllMembersLink
@ ClassAllMembersLink
Definition: layout.h:45
OutputList::startTitleHead
void startTitleHead(const QCString &fileName)
Definition: outputlist.h:99
Config_getBool
#define Config_getBool(name)
Definition: config.h:33
LayoutDocEntry::GroupDirs
@ GroupDirs
Definition: layout.h:64
Translator::trFile
virtual QCString trFile(bool first_capital, bool singular)=0
SectionManager::instance
static SectionManager & instance()
returns a reference to the singleton
Definition: section.h:172
MemberList::writeDocumentation
void writeDocumentation(OutputList &ol, const QCString &scopeName, const Definition *container, const QCString &title, bool showEnumValues=FALSE, bool showInline=FALSE) const
Definition: memberlist.cpp:658
LayoutDocEntry::DetailedDesc
@ DetailedDesc
Definition: layout.h:39
OutputList::startSection
void startSection(const QCString &lab, const QCString &title, SectionType t)
Definition: outputlist.h:331
msg
void msg(const char *fmt,...)
Definition: message.cpp:53
MemberListType_documentationLists
@ MemberListType_documentationLists
Definition: types.h:105
MemberListType_docVarMembers
@ MemberListType_docVarMembers
Definition: types.h:169
LayoutDocManager::instance
static LayoutDocManager & instance()
Returns a reference to this singleton.
Definition: layout.cpp:1574
LayoutDocEntry::FileInterfaces
@ FileInterfaces
Definition: layout.h:57
MemberType_Event
@ MemberType_Event
Definition: types.h:287
Definition::getOuterScope
virtual Definition * getOuterScope() const =0
OutputList::writeSynopsis
void writeSynopsis()
Definition: outputlist.h:337
MemberListType_decTypedefMembers
@ MemberListType_decTypedefMembers
Definition: types.h:151
Translator::trCollaborationDiagram
virtual QCString trCollaborationDiagram(const QCString &clName)=0
OutputList::parseText
void parseText(const QCString &textStr)
Definition: outputlist.cpp:179
NamespaceLinkedRefMap::declVisible
bool declVisible(bool isContantGroup) const
Definition: namespacedef.cpp:1284
qPrint
const char * qPrint(const char *s)
Definition: qcstring.h:589
GroupDefImpl::m_allMemberNameInfoLinkedMap
MemberNameInfoLinkedMap m_allMemberNameInfoLinkedMap
Definition: groupdef.cpp:169
MemberDef::getFileDef
virtual const FileDef * getFileDef() const =0
LayoutDocEntry::MemberGroups
@ MemberGroups
Definition: layout.h:36
Config_getString
#define Config_getString(name)
Definition: config.h:32
LayoutDocEntry::ClassInlineClasses
@ ClassInlineClasses
Definition: layout.h:43
LinkedRefMap::end
iterator end()
Definition: linkedmap.h:367
SectionInfo
class that provide information about a section.
Definition: section.h:49
OutputList::generateDoc
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)
Definition: outputlist.cpp:142
addGroupListToTitle
void addGroupListToTitle(OutputList &ol, const Definition *d)
Definition: util.cpp:4929
MemberDef::argumentList
virtual const ArgumentList & argumentList() const =0
convertNameToFile
QCString convertNameToFile(const QCString &name, bool allowDots, bool allowUnderscore)
Definition: util.cpp:3604
MemberListType_decSignalMembers
@ MemberListType_decSignalMembers
Definition: types.h:159
MemberListType_docPriSlotMembers
@ MemberListType_docPriSlotMembers
Definition: types.h:173
ClassLinkedRefMap::declVisible
bool declVisible(const ClassDef::CompoundType *filter=0) const
Definition: classlist.cpp:29
DotGroupCollaboration
Representation of a group collaboration graph
Definition: dotgroupcollaboration.h:28
OutputList::pushGeneratorState
void pushGeneratorState()
Definition: outputlist.cpp:126
convertToXML
QCString convertToXML(const QCString &s, bool keepEntities)
Definition: util.cpp:3948
MemberListType_docEnumValMembers
@ MemberListType_docEnumValMembers
Definition: types.h:170
MemberType_Define
@ MemberType_Define
Definition: types.h:276
LayoutDocEntry::BriefDesc
@ BriefDesc
Definition: layout.h:39
LayoutDocEntry::NamespaceConcepts
@ NamespaceConcepts
Definition: layout.h:53
GroupDefImpl::m_memberGroups
MemberGroupList m_memberGroups
Definition: groupdef.cpp:172
stripExtension
QCString stripExtension(const QCString &fName)
Definition: util.cpp:5295
LayoutDocEntry::DirGraph
@ DirGraph
Definition: layout.h:68
MemberListContainer::Group
@ Group
LayoutDocEntry::FileIncludeGraph
@ FileIncludeGraph
Definition: layout.h:58
LayoutDocEntry::FileIncludedByGraph
@ FileIncludedByGraph
Definition: layout.h:59
GroupDefImpl::m_namespaces
NamespaceLinkedRefMap m_namespaces
Definition: groupdef.cpp:163
Doxygen::suppressDocWarnings
static bool suppressDocWarnings
Definition: doxygen.h:112
OutputList::writeObjectLink
void writeObjectLink(const QCString &ref, const QCString &file, const QCString &anchor, const QCString &name)
Definition: outputlist.h:141
GroupDefImpl::writePageDocumentation
void writePageDocumentation(OutputList &ol)
Definition: groupdef.cpp:974
GroupDefImpl::addMembersToMemberGroup
virtual void addMembersToMemberGroup()
Definition: groupdef.cpp:310
LayoutDocEntry::ClassUsedFiles
@ ClassUsedFiles
Definition: layout.h:46
LayoutDocEntry::FileSourceLink
@ FileSourceLink
Definition: layout.h:59
OutputList::startMemberDeclaration
void startMemberDeclaration()
Definition: outputlist.h:310
LinkedRefMap::find
const T * find(const std::string &key) const
find an object given the key.
Definition: linkedmap.h:243
LinkedRefMap< const ClassDef >::Ptr
const ClassDef * Ptr
Definition: linkedmap.h:234
GroupDefImpl::m_groups
GroupList m_groups
Definition: groupdef.cpp:164
LayoutDocEntry::ClassNestedClasses
@ ClassNestedClasses
Definition: layout.h:44
GroupDefImpl::addMemberToList
void addMemberToList(MemberListType lt, const MemberDef *md)
Definition: groupdef.cpp:1584
GroupDefImpl::writeDirs
void writeDirs(OutputList &ol, const QCString &title)
Definition: groupdef.cpp:925
createSubDirs
void createSubDirs(const Dir &d)
Definition: util.cpp:3677
LayoutDocEntry::FileExceptions
@ FileExceptions
Definition: layout.h:57
OutputList::enable
void enable(OutputGenerator::OutputType o)
Definition: outputlist.cpp:108
NamespaceLinkedRefMap::writeDeclaration
void writeDeclaration(OutputList &ol, const QCString &title, bool isConstantGroup=false, bool localName=FALSE)
Definition: namespacedef.cpp:1314
Translator::trDir
virtual QCString trDir(bool first_capital, bool singular)=0
LayoutDocEntry::NamespaceInterfaces
@ NamespaceInterfaces
Definition: layout.h:53
DefinitionMixin< GroupDef >::setLanguage
virtual void setLanguage(SrcLangExt lang)
Definition: definitionimpl.h:242
MemberList
A list of MemberDef objects as shown in documentation sections.
Definition: memberlist.h:81
LayoutDocEntry::FileInlineClasses
@ FileInlineClasses
Definition: layout.h:60
matchArguments2
bool matchArguments2(const Definition *srcScope, const FileDef *srcFileScope, const ArgumentList *srcAl, const Definition *dstScope, const FileDef *dstFileScope, const ArgumentList *dstAl, bool checkCV)
Definition: util.cpp:1919
LayoutDocEntry::GroupNamespaces
@ GroupNamespaces
Definition: layout.h:63
GroupDefImpl::writeFiles
void writeFiles(OutputList &ol, const QCString &title)
Definition: groupdef.cpp:848
LinkedRefMap::size
size_t size() const
Definition: linkedmap.h:375
GroupDefImpl::m_pages
PageLinkedRefMap m_pages
Definition: groupdef.cpp:165
MemberListType_docEventMembers
@ MemberListType_docEventMembers
Definition: types.h:175
GroupDefImpl::writeDetailedDescription
void writeDetailedDescription(OutputList &ol, const QCString &title)
Definition: groupdef.cpp:728
MemberListType_docTypedefMembers
@ MemberListType_docTypedefMembers
Definition: types.h:166
MemberListType_docPropMembers
@ MemberListType_docPropMembers
Definition: types.h:177
OutputList::endTextLink
void endTextLink()
Definition: outputlist.h:154
MemberDef::memberType
virtual MemberType memberType() const =0
GroupDefImpl::setGroupTitle
virtual void setGroupTitle(const QCString &newtitle)
Definition: groupdef.cpp:194
convertToHtml
QCString convertToHtml(const QCString &s, bool keepEntities)
Definition: util.cpp:4063
LayoutDocEntry::MemberDecl
@ MemberDecl
Definition: layout.h:37
OutputList::startParagraph
void startParagraph(const QCString &classDef=QCString())
Definition: outputlist.h:107
GroupDefImpl::writeMemberPages
virtual void writeMemberPages(OutputList &ol)
Definition: groupdef.cpp:1266
endFile
void endFile(OutputList &ol, bool skipNavIndex, bool skipEndContents, const QCString &navPath)
Definition: index.cpp:254
LayoutDocEntry::AuthorSection
@ AuthorSection
Definition: layout.h:40
LayoutDocEntrySection::title
QCString title(SrcLangExt lang) const
Definition: layout.cpp:1661
createDocParser
std::unique_ptr< IDocParser > createDocParser()
Definition: docparser.cpp:179
Translator::trGroup
virtual QCString trGroup(bool first_capital, bool singular)=0
FALSE
#define FALSE
Definition: qcstring.h:33
Translator::trAuthor
virtual QCString trAuthor(bool first_capital, bool singular)=0
OutputGenerator::Man
@ Man
Definition: outputgen.h:333
QCString
This is an alternative implementation of QCString.
Definition: qcstring.h:108