浏览该文件的文档.
58 std::vector< std::unique_ptr<IndexIntf> >
m_intfs;
63 template<
class... Ts,
class... As>
64 void foreach(
void (
IndexIntf::*methodPtr)(Ts...),As&&... args)
66 for (
const auto &intf :
m_intfs)
68 (intf.get()->*methodPtr)(std::forward<As>(args)...);
77 template<
class T,
class... As>
79 {
m_intfs.push_back(std::make_unique<T>(std::forward<As>(args)...)); }
void initClassMemberIndices()
int documentedFileMembers[FMHL_Total]
std::vector< std::unique_ptr< IndexIntf > > m_intfs
The common base class of all entity definitions found in the sources.
An abstract interface of a namespace symbol.
void initFileMemberIndices()
void endFile(OutputList &ol, bool skipNavIndex=FALSE, bool skipEndContents=FALSE, const QCString &navPath=QCString())
void startFile(OutputList &ol, const QCString &name, const QCString &manName, const QCString &title, HighlightedItem hli=HLI_None, bool additionalIndices=FALSE, const QCString &altSidebarName=QCString())
void addClassMemberNameToIndex(const MemberDef *md)
virtual void initialize()=0
void addStyleSheetFile(const QCString &name)
virtual void addImageFile(const QCString &name)=0
void endTitle(OutputList &ol, const QCString &fileName, const QCString &name)
virtual void addIndexFile(const QCString &name)=0
void addIndexItem(const Definition *context, const MemberDef *md, const QCString §ionAnchor=QCString(), const QCString &title=QCString())
void sortMemberIndexLists()
void addIndex(As &&... args)
Add an index generator to the list, using a syntax similar to std::make_unique<T>()
int documentedNamespaceMembers[NMHL_Total]
void addFileMemberNameToIndex(const MemberDef *md)
void countDataStructures()
@ HLI_AnnotatedExceptions
virtual void addStyleSheetFile(const QCString &name)=0
void initNamespaceMemberIndices()
void writeGraphInfo(OutputList &ol)
Class representing a list of output generators that are written to in parallel.
A model of a class/file/namespace member symbol.
@ isNamespaceDocumentation
void addContentsItem(bool isDir, const QCString &name, const QCString &ref, const QCString &file, const QCString &anchor, bool separateIndex=FALSE, bool addToNavIndex=FALSE, const Definition *def=0)
void addImageFile(const QCString &name)
A list of index interfaces.
virtual void finalize()=0
int countVisibleMembers(const NamespaceDef *nd)
@ HLI_AnnotatedInterfaces
void addIndexFile(const QCString &name)
void writeIndexHierarchy(OutputList &ol)
virtual void addIndexItem(const Definition *context, const MemberDef *md, const QCString §ionAnchor, const QCString &title)=0
void endFileWithNavPath(const Definition *d, OutputList &ol)
void startTitle(OutputList &ol, const QCString &fileName, const DefinitionMutable *def=0)
virtual void addContentsItem(bool isDir, const QCString &name, const QCString &ref, const QCString &file, const QCString &anchor, bool separateIndex, bool addToNavIndex, const Definition *def)=0
virtual void decContentsDepth()=0
virtual void incContentsDepth()=0
QCString fixSpaces(const QCString &s)
IndexList()
Creates a list of indexes
Abstract interface for index generators.
int documentedClassMembers[CMHL_Total]
void addNamespaceMemberNameToIndex(const MemberDef *md)
This is an alternative implementation of QCString.