The MemberList
Class Reference
A list of MemberDef objects as shown in documentation sections. More...
Declaration
Included Headers
Base class
class | MemberVector |
Public Constructors Index
MemberList (MemberListType lt, MemberListContainer container) | |
Public Destructor Index
~MemberList () | |
Public Member Functions Index
MemberListType | listType () const |
MemberListContainer | container () const |
int | numDecMembers (const ClassDef *inheritedFrom) const |
int | numDecMembers () const |
int | numDecEnumValues () const |
int | numDocMembers () const |
int | numDocEnumValues () const |
bool | needsSorting () const |
void | countDecMembers () const |
std::pair< int, int > | countDecMembers (const ClassDef *inheritedFrom) const |
void | countDocMembers () |
int | countInheritableMembers (const ClassDef *inheritedFrom) const |
void | writePlainDeclarations (OutputList &ol, bool inGroup, const ClassDef *cd, const NamespaceDef *nd, const FileDef *fd, const GroupDef *gd, const ModuleDef *mod, int indentLevel, const ClassDef *inheritedFrom, const QCString &inheritId) const |
void | writeDeclarations (OutputList &ol, const ClassDef *cd, const NamespaceDef *nd, const FileDef *fd, const GroupDef *gd, const ModuleDef *mod, const QCString &title, const QCString &subtitle, bool showEnumValues=FALSE, bool showInline=FALSE, const ClassDef *inheritedFrom=nullptr, MemberListType lt=MemberListType::PubMethods(), bool showSectionTitle=true) const |
Writes the list of members to the output. More... | |
void | writeDocumentation (OutputList &ol, const QCString &scopeName, const Definition *container, const QCString &title, const QCString &anchor, bool showEnumValues=FALSE, bool showInline=FALSE) const |
void | writeSimpleDocumentation (OutputList &ol, const Definition *container) const |
void | writeDocumentationPage (OutputList &ol, const QCString &scopeName, const DefinitionMutable *container, int hierarchyLevel=0) const |
void | writeTagFile (TextStream &, bool useQualifiedName=false, bool showNamespaceMembers=true) |
bool | declVisible () const |
void | addMemberGroup (MemberGroup *mg) |
void | addListReferences (Definition *def) |
void | findSectionsInDocumentation (const Definition *d) |
void | setNeedsSorting (bool b) |
const MemberGroupRefList & | getMemberGroupList () const |
void | setAnonymousEnumType () |
void | setAnchors () |
Private Member Functions Index
int | countEnumValues (const MemberDef *md) const |
Private Member Attributes Index
int | m_numDecMembers |
int | m_numDecEnumValues |
int | m_numDocMembers |
int | m_numDocEnumValues |
MemberGroupRefList | m_memberGroupRefList |
MemberListContainer | m_container |
MemberListType | m_listType |
bool | m_needsSorting |
Description
A list of MemberDef objects as shown in documentation sections.
Definition at line 108 of file memberlist.h.
Public Constructors
MemberList()
|
Declaration at line 111 of file memberlist.h, definition at line 34 of file memberlist.cpp.
References FALSE, m_container, m_listType, m_needsSorting, m_numDecEnumValues, m_numDecMembers, m_numDocEnumValues and m_numDocMembers.
Public Destructor
~MemberList()
|
Declaration at line 112 of file memberlist.h, definition at line 44 of file memberlist.cpp.
Public Member Functions
addListReferences()
|
Declaration at line 146 of file memberlist.h, definition at line 794 of file memberlist.cpp.
References MemberDefMutable::addListReference, Definition::definitionType, MemberVector::empty, Enumeration, MemberDef::enumFieldList, MemberDef::getGroupDef, Definition::isAlias, m_memberGroupRefList, MemberVector::m_members, MemberDef::memberType, toMemberDefMutable and Definition::TypeGroup.
addMemberGroup()
|
Declaration at line 145 of file memberlist.h, definition at line 789 of file memberlist.cpp.
Reference m_memberGroupRefList.
container()
| inline |
Definition at line 115 of file memberlist.h.
Reference m_container.
Referenced by addMembersToMemberGroup, writeDocumentation, writeDocumentationPage and writeSimpleDocumentation.
countDecMembers()
|
Declaration at line 125 of file memberlist.h, definition at line 184 of file memberlist.cpp.
References countDecMembers, m_numDecEnumValues and m_numDecMembers.
Referenced by MemberGroup::addGroupedInheritedMembers, countDecMembers and numDecMembers.
countDecMembers()
|
Count the number of members in this list that are visible in the declaration part of a compound's documentation page.
Declaration at line 126 of file memberlist.h, definition at line 122 of file memberlist.cpp.
References Config_getBool, DCOP, Define, Dictionary, Enumeration, EnumValue, err, Event, Friend, Function, Interface, m_memberGroupRefList, MemberVector::m_members, numDecEnumValues, numDecMembers, Property, Sequence, Service, Signal, Slot, Typedef and Variable.
countDocMembers()
|
Declaration at line 127 of file memberlist.h, definition at line 190 of file memberlist.cpp.
References EnumValue, m_container, m_memberGroupRefList, MemberVector::m_members, m_numDocEnumValues and m_numDocMembers.
countInheritableMembers()
|
Declaration at line 128 of file memberlist.h, definition at line 85 of file memberlist.cpp.
References EnumValue, Friend, Function, m_memberGroupRefList and MemberVector::m_members.
Referenced by ClassDefImpl::countMembersIncludingGrouped.
declVisible()
|
Declaration at line 144 of file memberlist.h, definition at line 268 of file memberlist.cpp.
References countEnumValues, DCOP, Define, Dictionary, Enumeration, EnumValue, Event, FALSE, Friend, Function, Group, Interface, m_container, MemberVector::m_members, Property, Sequence, Service, Signal, Slot, TRUE, Typedef and Variable.
Referenced by ClassDefImpl::writeSummaryLinks, FileDefImpl::writeSummaryLinks, GroupDefImpl::writeSummaryLinks, ModuleDefImpl::writeSummaryLinks and NamespaceDefImpl::writeSummaryLinks.
findSectionsInDocumentation()
|
Declaration at line 147 of file memberlist.h, definition at line 824 of file memberlist.cpp.
References MemberDefMutable::findSectionsInDocumentation, m_memberGroupRefList, MemberVector::m_members and toMemberDefMutable.
getMemberGroupList()
| inline |
Definition at line 149 of file memberlist.h.
Reference m_memberGroupRefList.
Referenced by membersHaveSpecificType and VhdlDocGen::writeVHDLDeclarations.
listType()
| inline |
Definition at line 114 of file memberlist.h.
References listType and m_listType.
Referenced by MemberGroup::addGroupedInheritedMembers, MemberGroup::countGroupedInheritedMembers, generateSqlite3ForClass, generateSqlite3ForFile, generateSqlite3ForGroup, generateSqlite3ForModule, generateSqlite3ForNamespace, generateXMLForClass, generateXMLForFile, generateXMLForGroup, generateXMLForModule, generateXMLForNamespace, listType, writeDeclarations, ClassDefImpl::writeMemberDocumentation, FileDefImpl::writeMemberDocumentation, GroupDefImpl::writeMemberDocumentation, ModuleDefImpl::writeMemberDocumentation, NamespaceDefImpl::writeMemberDocumentation, ClassDefImpl::writeSummaryLinks, FileDefImpl::writeSummaryLinks, GroupDefImpl::writeSummaryLinks, ModuleDefImpl::writeSummaryLinks, NamespaceDefImpl::writeSummaryLinks and VhdlDocGen::writeVHDLDeclarations.
needsSorting()
| inline |
Definition at line 124 of file memberlist.h.
Reference m_needsSorting.
Referenced by FileDefImpl::sortMemberLists.
numDecEnumValues()
| inline |
Definition at line 121 of file memberlist.h.
Reference m_numDecEnumValues.
Referenced by countDecMembers, writeDeclarations and writePlainDeclarations.
numDecMembers()
| inline |
Definition at line 117 of file memberlist.h.
Reference countDecMembers.
Referenced by countDecMembers, ClassDefImpl::countMemberDeclarations and FileDefImpl::numDecMembers.
numDecMembers()
| inline |
Definition at line 119 of file memberlist.h.
References ASSERT and m_numDecMembers.
Referenced by writeDeclarations and writePlainDeclarations.
numDocEnumValues()
| inline |
Definition at line 123 of file memberlist.h.
Reference m_numDocEnumValues.
Referenced by writeDocumentation and writeSimpleDocumentation.
numDocMembers()
| inline |
Definition at line 122 of file memberlist.h.
References ASSERT and m_numDocMembers.
Referenced by FileDefImpl::numDocMembers, NamespaceDefImpl::numDocMembers, writeDocumentation and writeSimpleDocumentation.
setAnchors()
|
Declaration at line 151 of file memberlist.h, definition at line 880 of file memberlist.cpp.
References Definition::isReference, MemberVector::m_members, MemberDefMutable::setAnchor and toMemberDefMutable.
Referenced by FileDefImpl::computeAnchors and NamespaceDefImpl::computeAnchors.
setAnonymousEnumType()
|
Declaration at line 150 of file memberlist.h, definition at line 215 of file memberlist.cpp.
References Enumeration, QCString::find, QCString::findRev, QCString::length, m_memberGroupRefList, MemberVector::m_members, QCString::right, MemberDefMutable::setAnonymousEnumType and toMemberDefMutable.
Referenced by ClassDefImpl::setAnonymousEnumType.
setNeedsSorting()
|
Declaration at line 148 of file memberlist.h, definition at line 840 of file memberlist.cpp.
Reference m_needsSorting.
Referenced by FileDefImpl::sortMemberLists.
writeDeclarations()
|
Writes the list of members to the output.
- Parameters
-
ol Output list to write to
cd non-null if this list is part of class documentation.
nd non-null if this list is part of namespace documentation.
fd non-null if this list is part of file documentation.
gd non-null if this list is part of group documentation.
mod non-null if this list is part of module documentation.
title Title to use for the member list.
subtitle Sub title to use for the member list.
showEnumValues Obsolete, always set to FALSE.
showInline if set to TRUE if title is rendered differently
inheritedFrom if not 0, the list is shown inside the given class as inherited members, parameter cd points to the class containing the members.
lt Type of list that is inherited from.
showSectionTitle do we show the "additional members" header or not? When combining public and protected inherited members under a single header only for the first list it should be shown
Declaration at line 132 of file memberlist.h, definition at line 493 of file memberlist.cpp.
References ClassDef::addGroupedInheritedMembers, Definition::anchor, Config_getBool, Definition::displayName, OutputList::endInlineHeader, OutputList::endMemberGroup, OutputList::endMemberGroupDocs, OutputList::endMemberGroupHeader, OutputList::endMemberHeader, OutputList::endMemberSubtitle, FALSE, OutputList::generateDoc, Definition::getOutputFileBase, Definition::getReference, Group, QCString::isEmpty, listType, m_container, m_listType, m_memberGroupRefList, numDecEnumValues, numDecMembers, OutputList::parseText, QCString::setNum, OutputList::startInlineHeader, OutputList::startMemberGroup, OutputList::startMemberGroupDocs, OutputList::startMemberGroupHeader, OutputList::startMemberHeader, OutputList::startMemberSubtitle, stripPath, QCString::stripWhiteSpace, substitute, MemberListType::toLabel, OutputList::writeInheritedSectionTitle, writePlainDeclarations and VhdlDocGen::writeVhdlDeclarations.
Referenced by ClassDefImpl::writeMemberDeclarations, FileDefImpl::writeMemberDeclarations, GroupDefImpl::writeMemberDeclarations, ModuleDefImpl::writeMemberDeclarations and NamespaceDefImpl::writeMemberDeclarations.
writeDocumentation()
|
Declaration at line 137 of file memberlist.h, definition at line 619 of file memberlist.cpp.
References container, OutputList::disable, OutputList::endGroupHeader, OutputList::endMemberDocList, err, Group, Html, QCString::isEmpty, m_container, m_memberGroupRefList, MemberVector::m_members, numDocEnumValues, numDocMembers, OutputList::parseText, OutputList::popGeneratorState, OutputList::pushGeneratorState, OutputList::startGroupHeader, OutputList::startMemberDocList, toMemberDefMutable, OutputList::writeAnchor, MemberDefMutable::writeDocumentation and OutputList::writeRuler.
Referenced by ClassDefImpl::writeMemberDocumentation, FileDefImpl::writeMemberDocumentation, GroupDefImpl::writeMemberDocumentation, ModuleDefImpl::writeMemberDocumentation and NamespaceDefImpl::writeMemberDocumentation.
writeDocumentationPage()
|
Declaration at line 141 of file memberlist.h, definition at line 712 of file memberlist.cpp.
References Config_getBool, container, OutputList::endContents, endFile, endFileWithNavPath, OutputList::endQuickIndices, Definition::getOutputFileBase, Group, MemberDef::hasDetailedDescription, m_container, m_memberGroupRefList, MemberVector::m_members, Definition::name, None, Definition::qualifiedName, OutputList::startContents, startFile, QCString::str, toDefinition, toMemberDefMutable, MemberDefMutable::writeDocumentation and OutputList::writeString.
writePlainDeclarations()
|
Declaration at line 129 of file memberlist.h, definition at line 316 of file memberlist.cpp.
References OutputList::addLabel, Definition::briefDescription, Config_getBool, countEnumValues, createDocParser, DCOP, Define, Dictionary, OutputList::disableAllBut, OutputList::docify, OutputList::enableAll, OutputList::endDoxyAnchor, OutputList::endMemberDeclaration, OutputList::endMemberDescription, OutputList::endMemberItem, OutputList::endMemberList, OutputList::endTextLink, Enumeration, EnumValue, err, Event, FALSE, Friend, Function, Html, OutputList::insertMemberAlign, Interface, MemberVector::m_members, OutputGenerator::Normal, numDecEnumValues, numDecMembers, OutputList::parseText, OutputList::popGeneratorState, Property, OutputList::pushGeneratorState, Sequence, Service, Signal, Slot, OutputList::startDoxyAnchor, OutputList::startMemberDeclaration, OutputList::startMemberDescription, OutputList::startMemberItem, OutputList::startMemberList, OutputList::startTextLink, theTranslator, TRUE, Typedef, validatingParseDoc, Variable, OutputList::writeDoc and OutputList::writeString.
Referenced by MemberGroup::addGroupedInheritedMembers, writeDeclarations and ClassDefImpl::writePlainMemberDeclaration.
writeSimpleDocumentation()
|
Declaration at line 140 of file memberlist.h, definition at line 688 of file memberlist.cpp.
References container, OutputList::endMemberDocSimple, ClassDef::isJavaEnum, MemberVector::m_members, numDocEnumValues, numDocMembers, OutputList::startMemberDocSimple, toClassDef, toMemberDefMutable, Definition::TypeClass and MemberDefMutable::writeMemberDocSimple.
Referenced by ClassDefImpl::writeSimpleMemberDocumentation.
writeTagFile()
|
Declaration at line 143 of file memberlist.h, definition at line 845 of file memberlist.cpp.
References Enumeration, MemberDef::enumFieldList, Definition::getLanguage, MemberDef::isStrong, m_memberGroupRefList, MemberVector::m_members, MemberDef::memberType, toMemberDefMutable, MemberDefMutable::writeTagFile and VhdlDocGen::writeTagFile.
Referenced by ClassDefImpl::writeTagFile, FileDefImpl::writeTagFile, GroupDefImpl::writeTagFile, ModuleDefImpl::writeTagFile and NamespaceDefImpl::writeTagFile.
Private Member Functions
countEnumValues()
|
Declaration at line 154 of file memberlist.h, definition at line 248 of file memberlist.cpp.
References QCString::find, QCString::findRev, QCString::length, MemberVector::m_members, Definition::name and QCString::right.
Referenced by declVisible and writePlainDeclarations.
Private Member Attributes
m_container
|
Definition at line 160 of file memberlist.h.
Referenced by container, countDocMembers, declVisible, MemberList, writeDeclarations, writeDocumentation and writeDocumentationPage.
m_listType
|
Definition at line 161 of file memberlist.h.
Referenced by listType, MemberList and writeDeclarations.
m_memberGroupRefList
|
Definition at line 159 of file memberlist.h.
Referenced by addListReferences, addMemberGroup, countDecMembers, countDocMembers, countInheritableMembers, findSectionsInDocumentation, getMemberGroupList, setAnonymousEnumType, writeDeclarations, writeDocumentation, writeDocumentationPage and writeTagFile.
m_needsSorting
|
Definition at line 162 of file memberlist.h.
Referenced by MemberList, needsSorting and setNeedsSorting.
m_numDecEnumValues
| mutable |
Definition at line 156 of file memberlist.h.
Referenced by countDecMembers, MemberList and numDecEnumValues.
m_numDecMembers
| mutable |
Definition at line 155 of file memberlist.h.
Referenced by countDecMembers, MemberList and numDecMembers.
m_numDocEnumValues
|
Definition at line 158 of file memberlist.h.
Referenced by countDocMembers, MemberList and numDocEnumValues.
m_numDocMembers
|
Definition at line 157 of file memberlist.h.
Referenced by countDocMembers, MemberList and numDocMembers.
The documentation for this class was generated from the following files:
Generated via doxygen2docusaurus by Doxygen 1.14.0.