浏览该文件的文档.
37 using Vec = std::vector<Ptr>;
100 int indentLevel,
const ClassDef *inheritedFrom,
const QCString &inheritId)
const;
104 bool showEnumValues=
FALSE,
bool showInline=
FALSE,
108 bool showEnumValues=
FALSE,
bool showInline=
FALSE)
const;
138 class MemberLists :
public std::vector< std::unique_ptr<MemberList> >
145 auto it = std::find_if(
begin(),
end(),[<](
const auto &ml) {
return ml->listType()==lt; });
146 if (it!=
end())
return *it;
148 emplace_back(std::make_unique<MemberList>(lt,con));
int numDecMembers() const
Container class representing a vector of objects with keys.
const_iterator begin() const
void writeSimpleDocumentation(OutputList &ol, const Definition *container) const
void setAnonymousEnumType()
The common base class of all entity definitions found in the sources.
An abstract interface of a namespace symbol.
This file contains a number of basic enums and types.
const MemberGroupRefList & getMemberGroupList() const
const_reference operator[](size_t index) const
const_reference front() const
const std::unique_ptr< MemberList > & get(MemberListType lt, MemberListContainer con)
int countInheritableMembers(const ClassDef *inheritedFrom) const
void push_back(const MemberDef *md)
Text streaming class that buffers data.
MemberListContainer container() const
@ MemberListType_pubMethods
typename Vec::iterator iterator
MemberGroupRefList m_memberGroupRefList
DirIterator begin(DirIterator it) noexcept
DirIterator end(const DirIterator &) noexcept
A model of a group of symbols.
static QCString listTypeAsString(MemberListType type)
Class representing a list of output generators that are written to in parallel.
A model of a class/file/namespace member symbol.
void writeTagFile(TextStream &)
void findSectionsInDocumentation(const Definition *d)
A abstract class representing of a compound symbol.
MemberList(MemberListType lt, MemberListContainer container)
void inSort(const MemberDef *md)
MemberListType listType() const
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
typename Vec::const_iterator const_iterator
int numDocMembers() const
void writeDocumentationPage(OutputList &ol, const QCString &scopeName, const DefinitionMutable *container) const
void remove(const MemberDef *md)
MemberLists & operator=(const MemberLists &)=delete
A vector of MemberDef object
MemberListContainer m_container
MemberListType m_listType
bool needsSorting() const
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.
int countEnumValues(const MemberDef *md) const
static bool lessThan(const MemberDef *md1, const MemberDef *md2)
const_iterator end() const
int numDocEnumValues() const
int genericCompareMembers(const MemberDef *c1, const MemberDef *c2)
void writeDocumentation(OutputList &ol, const QCString &scopeName, const Definition *container, const QCString &title, bool showEnumValues=FALSE, bool showInline=FALSE) const
const_reference back() const
void addMemberGroup(MemberGroup *mg)
bool contains(const MemberDef *md)
void setNeedsSorting(bool b)
A model of a file symbol.
A class representing a group of members.
int numDecEnumValues() const
const_reference operator[](int index) const
void addListReferences(Definition *def)
A list of MemberDef objects as shown in documentation sections.
This is an alternative implementation of QCString.