A class representing a group of members.
更多...
#include <membergroup.h>
|
| MemberGroup (const Definition *container, int id, const QCString &header, const QCString &docs, const QCString &docFile, int docLine, MemberListContainer con) |
|
| ~MemberGroup () |
|
QCString | header () const |
|
int | groupId () const |
|
void | insertMember (const MemberDef *md) |
|
void | setAnchors () |
|
void | writePlainDeclarations (OutputList &ol, bool inGroup, const ClassDef *cd, const NamespaceDef *nd, const FileDef *fd, const GroupDef *gd, 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, bool showInline=FALSE) const |
|
void | writeDocumentation (OutputList &ol, const QCString &scopeName, const Definition *container, bool showEnumValues, bool showInline) const |
|
void | writeDocumentationPage (OutputList &ol, const QCString &scopeName, const DefinitionMutable *container) const |
|
void | writeTagFile (TextStream &) |
|
void | addGroupedInheritedMembers (OutputList &ol, const ClassDef *cd, MemberListType lt, const ClassDef *inheritedFrom, const QCString &inheritId) const |
|
void | setAnonymousEnumType () |
|
const QCString & | documentation () const |
|
bool | allMembersInSameSection () const |
|
void | addToDeclarationSection () |
|
void | countDecMembers () |
|
void | countDocMembers () |
|
int | countGroupedInheritedMembers (MemberListType lt) |
|
void | distributeMemberGroupDocumentation () |
|
void | findSectionsInDocumentation (const Definition *d) |
|
int | numDecMembers () const |
|
int | numDecEnumValues () const |
|
int | numDocMembers () const |
|
int | numDocEnumValues () const |
|
const Definition * | container () const |
|
int | countInheritableMembers (const ClassDef *inheritedFrom) const |
|
void | addListReferences (Definition *d) |
|
void | setRefItems (const RefItemVector &sli) |
|
const MemberList & | members () const |
|
QCString | anchor () const |
|
QCString | docFile () const |
|
int | docLine () const |
|
A class representing a group of members.
在文件 membergroup.h 第 41 行定义.
◆ MemberGroup()
◆ ~MemberGroup()
MemberGroup::~MemberGroup |
( |
| ) |
|
◆ addGroupedInheritedMembers()
在文件 membergroup.cpp 第 129 行定义.
142 mml.countDecMembers();
143 mml.writePlainDeclarations(ol,
false,cd,0,0,0,0,inheritedFrom,inheritId);
引用了 Class, MemberList::countDecMembers(), MemberList::listType(), m_container, memberList, MemberVector::push_back() , 以及 MemberList::writePlainDeclarations().
◆ addListReferences()
void MemberGroup::addListReferences |
( |
Definition * |
d | ) |
|
◆ addToDeclarationSection()
void MemberGroup::addToDeclarationSection |
( |
| ) |
|
◆ allMembersInSameSection()
bool MemberGroup::allMembersInSameSection |
( |
| ) |
const |
|
inline |
◆ anchor()
◆ container()
const Definition * MemberGroup::container |
( |
| ) |
const |
◆ countDecMembers()
void MemberGroup::countDecMembers |
( |
| ) |
|
◆ countDocMembers()
void MemberGroup::countDocMembers |
( |
| ) |
|
◆ countGroupedInheritedMembers()
◆ countInheritableMembers()
int MemberGroup::countInheritableMembers |
( |
const ClassDef * |
inheritedFrom | ) |
const |
◆ distributeMemberGroupDocumentation()
void MemberGroup::distributeMemberGroupDocumentation |
( |
| ) |
|
在文件 membergroup.cpp 第 199 行定义.
207 if (!smd->documentation().isEmpty() ||
208 !smd->briefDescription().isEmpty() ||
209 !smd->inbodyDocumentation().isEmpty()
引用了 MemberDef::briefDescription(), Definition::briefFile(), Definition::briefLine(), Definition::docFile(), Definition::docLine(), MemberDef::documentation(), Definition::inbodyDocumentation(), Definition::inbodyFile(), Definition::inbodyLine(), QCString::isEmpty(), memberList, MemberDefMutable::setBriefDescription(), MemberDefMutable::setDocumentation(), MemberDefMutable::setInbodyDocumentation() , 以及 toMemberDefMutable().
◆ docFile()
◆ docLine()
int MemberGroup::docLine |
( |
| ) |
const |
|
inline |
◆ documentation()
const QCString& MemberGroup::documentation |
( |
| ) |
const |
|
inline |
◆ findSectionsInDocumentation()
void MemberGroup::findSectionsInDocumentation |
( |
const Definition * |
d | ) |
|
◆ groupId()
int MemberGroup::groupId |
( |
| ) |
const |
|
inline |
◆ header()
◆ insertMember()
void MemberGroup::insertMember |
( |
const MemberDef * |
md | ) |
|
在文件 membergroup.cpp 第 48 行定义.
引用了 FALSE, MemberDef::getGroupDef(), MemberDef::getGroupFileName(), MemberDef::getGroupHasDocs(), MemberDef::getGroupPri(), MemberDef::getGroupStartLine(), MemberDef::getSectionList(), inDeclSection, inSameSection, GroupDef::insertMember(), Definition::isAlias(), m_container, memberList, MemberDefMutable::setGroupDef() , 以及 toMemberDefMutable().
被这些函数引用 addMembersToMemberGroup().
◆ members()
◆ numDecEnumValues()
int MemberGroup::numDecEnumValues |
( |
| ) |
const |
◆ numDecMembers()
int MemberGroup::numDecMembers |
( |
| ) |
const |
◆ numDocEnumValues()
int MemberGroup::numDocEnumValues |
( |
| ) |
const |
◆ numDocMembers()
int MemberGroup::numDocMembers |
( |
| ) |
const |
◆ setAnchors()
void MemberGroup::setAnchors |
( |
| ) |
|
◆ setAnonymousEnumType()
void MemberGroup::setAnonymousEnumType |
( |
| ) |
|
◆ setRefItems()
◆ writeDeclarations()
◆ writeDocumentation()
void MemberGroup::writeDocumentation |
( |
OutputList & |
ol, |
|
|
const QCString & |
scopeName, |
|
|
const Definition * |
container, |
|
|
bool |
showEnumValues, |
|
|
bool |
showInline |
|
) |
| const |
◆ writeDocumentationPage()
◆ writePlainDeclarations()
◆ writeTagFile()
void MemberGroup::writeTagFile |
( |
TextStream & |
tagFile | ) |
|
◆ doc
◆ fileName
◆ grpHeader
◆ grpId
int MemberGroup::grpId = 0 |
|
private |
◆ inDeclSection
◆ inSameSection
bool MemberGroup::inSameSection = true |
|
private |
◆ m_container
◆ m_docFile
◆ m_docLine
int MemberGroup::m_docLine |
|
private |
◆ m_xrefListItems
◆ memberList
std::unique_ptr<MemberList> MemberGroup::memberList |
|
private |
在文件 membergroup.h 第 93 行定义.
被这些函数引用 addGroupedInheritedMembers(), addListReferences(), countDecMembers(), countDocMembers(), countGroupedInheritedMembers(), countInheritableMembers(), distributeMemberGroupDocumentation(), findSectionsInDocumentation(), insertMember(), MemberGroup(), members(), numDecEnumValues(), numDecMembers(), numDocEnumValues(), numDocMembers(), setAnchors(), setAnonymousEnumType(), writeDeclarations(), writeDocumentation(), writeDocumentationPage(), writePlainDeclarations() , 以及 writeTagFile().
该类的文档由以下文件生成:
const Definition * m_container
MemberList * inDeclSection
virtual bool insertMember(const MemberDef *def, bool docOnly=FALSE)=0
virtual int docLine() const =0
MemberDefMutable * toMemberDefMutable(Definition *d)
virtual QCString briefDescription(bool abbr=FALSE) const =0
virtual QCString documentation() const =0
virtual Grouping::GroupPri_t getGroupPri() const =0
uint length() const
Returns the length of the string, not counting the 0-terminator.
virtual QCString getGroupFileName() const =0
bool isEmpty() const
Returns TRUE iff the string is empty
virtual int inbodyLine() const =0
virtual int briefLine() const =0
virtual void setBriefDescription(const QCString &b, const QCString &briefFile, int briefLine)=0
virtual QCString docFile() const =0
A model of a group of symbols.
RefItemVector m_xrefListItems
A model of a class/file/namespace member symbol.
MemberListType listType() const
virtual bool isAlias() const =0
virtual bool getGroupHasDocs() const =0
Translator * theTranslator
virtual QCString inbodyDocumentation() const =0
virtual QCString inbodyFile() const =0
virtual void setInbodyDocumentation(const QCString &d, const QCString &inbodyFile, int inbodyLine)=0
virtual void setGroupDef(const GroupDef *gd, Grouping::GroupPri_t pri, const QCString &fileName, int startLine, bool hasDocs, MemberDef *member=0)=0
const Definition * container() const
void addRefItem(const RefItemVector &sli, const QCString &key, const QCString &prefix, const QCString &name, const QCString &title, const QCString &args, const Definition *scope)
virtual QCString briefFile() const =0
void docFindSections(const QCString &input, const Definition *d, const QCString &fileName)
virtual const MemberList * getSectionList(const Definition *container) const =0
#define Config_getBool(name)
virtual void setDocumentation(const QCString &d, const QCString &docFile, int docLine, bool stripWhiteSpace=TRUE)=0
std::unique_ptr< MemberList > memberList
void addMemberGroup(MemberGroup *mg)
const char * data() const
Returns a pointer to the contents of the string in the form of a 0-terminated C string
virtual int getGroupStartLine() const =0
A list of MemberDef objects as shown in documentation sections.
@ MemberListType_memberGroup
QCString & prepend(const char *s)
virtual const GroupDef * getGroupDef() const =0
virtual QCString trGroup(bool first_capital, bool singular)=0
This is an alternative implementation of QCString.