79 static bool sortConstructorsFirst =
Config_getBool(
"SORT_MEMBERS_CTORS_1ST");
80 if (sortConstructorsFirst) {
122 for (;(mg=mgli.
current());++mgli)
181 err(
"Unknown member type found for member `%s'\n!",md->
name().
data());
189 for (;(mg=mgli.
current());++mgli)
227 for (;(mg=mgli.
current());++mgli)
260 for ( ; (md=mli.
current()); ++mli )
288 for ( ; (vmd=vmli.
current()) ; ++vmli)
327 static bool hideUndocMembers =
Config_getBool(
"HIDE_UNDOC_MEMBERS");
329 if (numDecMembers()==0)
342 for ( ; (md=mli.
current()); ++mli )
379 for ( ; (vmd=vmli.
current()) ; ++vmli)
391 if (enumVars==0 && !hideUndocMembers)
402 if (!detailsLinkable)
409 if (!detailsLinkable)
418 md->briefDescription(),
421 if (rootNode && !rootNode->
isEmpty())
425 if (md->isDetailedSectionLinkable())
446 if (inheritedFrom==0)
475 for ( ; (md=mli.
current()) ; ++mli )
521 const char *
title,
const char *subtitle,
bool showEnumValues,
524 (void)showEnumValues;
527 static bool optimizeVhdl =
Config_getBool(
"OPTIMIZE_OUTPUT_VHDL");
530 countDecMembers(
FALSE,gd);
532 if (ctx==0 && nd) ctx = nd;
533 if (ctx==0 && gd) ctx = gd;
534 if (ctx==0 && fd) ctx = fd;
539 int num = numDecMembers();
544 m_listType,inheritedFrom,
TRUE)>0 )
548 inheritId =
substitute(listTypeAsString(lt),
"-",
"_")+
"_"+
607 writePlainDeclarations(ol,cd,nd,fd,gd,inheritedFrom,inheritId);
646 if (inheritedFrom && cd)
657 const char *
title,
bool showEnumValues,
bool showInline)
661 countDocMembers(showEnumValues);
662 if (numDocMembers()==0)
return;
678 for ( ; (md=mli.
current()) ; ++mli)
681 m_inGroup,showEnumValues,showInline);
685 printf(
"MemberList::writeDocumentation() -- member groups %d\n",memberGroupList->count());
688 for (;(mg=mgli.current());++mgli)
700 countDocMembers(
FALSE);
702 if (numDocMembers()==0)
return;
707 for ( ; (md=mli.
current()) ; ++mli)
718 static bool generateTreeView =
Config_getBool(
"GENERATE_TREEVIEW");
721 for ( ; (md=mli.
current()) ; ++mli)
728 if (!generateTreeView)
735 if (generateTreeView)
743 ol.
writeString(
"<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\">\n" 745 " <td valign=\"top\">\n");
750 ol.
writeString(
" <td valign=\"top\" class=\"mempage\">\n");
766 for (;(mg=mgli.
current());++mgli)
776 if (memberGroupList==0)
781 memberGroupList->
append(mg);
788 for ( ; (md=mli.
current()) ; ++mli)
799 for ( ; (vmd=vmli.
current()) ; ++vmli)
811 for (;(mg=mgli.
current());++mgli)
822 for ( ; (md=mli.
current()) ; ++mli)
830 for (;(mg=mgli.
current());++mgli)
853 if (memberGroupList==0)
862 for (mgi.toFirst();(mg=mgi.current());++mgi)
893 for (i=0;i<
count;i++)
897 memberGroupList->append(mg);
967 for ( ; (md=mli.
current()) ; ++mli)
976 for ( ; (vmd=vmli.current()) ; ++vmli)
991 for (;(mg=mgli.
current());++mgli)
void endMemberGroupDocs()
void startMemberItem(const char *anchor, int i1, const char *id=0)
void endMemberDeclaration(const char *anchor, const char *inheritId)
bool anonymousDeclShown() const
void findSectionsInDocumentation()
void startMemberDocList()
void append(const MemberDef *md)
void writeDocumentation(MemberList *ml, OutputList &ol, const char *scopeName, Definition *container, bool inGroup, bool showEnumValues=FALSE, bool showInline=FALSE)
bool isDetailedSectionVisible(bool inGroup, bool inFile) const
void endFile(OutputList &ol, bool skipNavIndex, bool skipEndContents, const QCString &navPath)
void endFileWithNavPath(Definition *d, OutputList &ol)
void endGroupHeader(int extraLevels=0)
QCString stripWhiteSpace() const
void startMemberDocSimple()
void setFromAnonymousScope(bool b)
void writeTagFile(FTextStream &)
bool hasDocumentation() const
void startFile(OutputList &ol, const char *name, const char *manName, const char *title, HighlightedItem hli, bool additionalIndices, const char *altSidebarName)
MemberListIterator(const QList< MemberDef > &list)
int countDecMembers(GroupDef *gd=0)
void append(const type *d)
int enumValueCount() const
void writePlainDeclarations(OutputList &ol, ClassDef *cd, NamespaceDef *nd, FileDef *fd, GroupDef *gd, ClassDef *inheritedFrom, const char *inheritId)
void writeTagFile(FTextStream &)
void writeString(const char *text)
bool generateDoc(const char *fileName, int startLine, Definition *ctx, MemberDef *md, const QCString &docStr, bool indexWords, bool isExample, const char *exampleName=0, bool singleLine=FALSE, bool linkFromIndex=FALSE)
void disableAllBut(OutputGenerator::OutputType o)
void addGroupedInheritedMembers(OutputList &ol, MemberListType lt, ClassDef *inheritedFrom, const QCString &inheritId)
void writeNavigationPath(OutputList &ol) const
void writeDocumentation(OutputList &ol, const char *scopeName, Definition *container, const char *title, bool showEnumValues=FALSE, bool showInline=FALSE)
bool fromAnonymousScope() const
Abstract interface for file based memory storage operations.
MemberList * enumFieldList() const
void addListReference(Definition *d)
int compareValues(const MemberDef *item1, const MemberDef *item2) const
void startMemberDescription(const char *anchor, const char *inheritId=0)
int compareValues(const MemberDef *item1, const MemberDef *item2) const
static QCString stripPath(const QCString &s)
int unmarshalInt(StorageIntf *s)
int countMembersIncludingGrouped(MemberListType lt, ClassDef *inheritedFrom, bool additional)
DocRoot * validatingParseDoc(const char *fileName, int startLine, Definition *ctx, MemberDef *md, const char *input, bool indexWords, bool isExample, const char *exampleName, bool singleLine, bool linkFromIndex)
void writeTagFile(FTextStream &)
void endMemberGroup(bool last)
Simplified and optimized version of QTextStream.
void marshalInt(StorageIntf *s, int v)
int numDocMembers() const
QCString displayName(bool includeScope=TRUE) const
int find(char c, int index=0, bool cs=TRUE) const
static constexpr double mg
QCString getReference() const
int findRev(char c, int index=-1, bool cs=TRUE) const
void startTextLink(const char *file, const char *anchor)
bool parseText(const QCString &textStr)
void addMemberGroup(MemberGroup *mg)
bool insert(uint i, const type *d)
void warnIfUndocumented()
int numDecMembers() const
bool isBriefSectionVisible() const
void marshalBool(StorageIntf *s, bool b)
void writeDocumentation(OutputList &ol, const char *scopeName, Definition *container, bool showEnumValues, bool showInline)
void countDocMembers(bool countEnumValues=FALSE)
virtual DefType definitionType() const =0
const char * typeString() const
void marshal(StorageIntf *s)
const QCString & name() const
bool isDetailedSectionLinkable() const
int qstricmp(const char *str1, const char *str2)
void inSort(const type *d)
void findSectionsInDocumentation()
bool unmarshalBool(StorageIntf *s)
MemberGroupList * memberGroupList
void pushGeneratorState()
void startMemberDeclaration()
QCString briefDescription(bool abbr=FALSE) const
QCString right(uint len) const
static void writeVhdlDeclarations(MemberList *, OutputList &, GroupDef *, ClassDef *, FileDef *, NamespaceDef *)
void inSort(const MemberDef *md)
SrcLangExt getLanguage() const
bool isConstructor() const
void disable(OutputGenerator::OutputType o)
void setNeedsSorting(bool b)
A bunch of utility functions.
void writeInheritedSectionTitle(const char *id, const char *ref, const char *file, const char *anchor, const char *title, const char *name)
const char * data() const
void startMemberGroupDocs()
void writeDoc(DocRoot *root, Definition *ctx, MemberDef *md)
#define Config_getBool(val)
ClassDef * getClassDef() const
uint unmarshalUInt(StorageIntf *s)
QCString briefFile() const
void startMemberSubtitle()
void writeSimpleDocumentation(OutputList &ol, Definition *container)
void setAnonymousEnumType(MemberDef *md)
void writeMemberDocSimple(OutputList &ol, Definition *container)
void err(const char *fmt,...)
virtual void writeQuickMemberLinks(OutputList &, MemberDef *) const
void startDoxyAnchor(const char *fName, const char *manName, const char *anchor, const char *name, const char *args)
MemberType memberType() const
virtual QCString trMore()=0
void startGroupHeader(int extraLevels=0)
void writeDocumentationPage(OutputList &ol, const char *scopeName, Definition *container)
QCString getOutputFileBase() const
int countInheritableMembers(ClassDef *inheritedFrom) const
void writeEnumDeclaration(OutputList &typeDecl, ClassDef *cd, NamespaceDef *nd, FileDef *fd, GroupDef *gd)
GroupDef * getGroupDef() const
void unmarshal(StorageIntf *s)
void marshalUInt(StorageIntf *s, uint v)
QCString qualifiedName() const
void countDecMembers(bool countEnumValues=FALSE, GroupDef *gd=0)
void endDoxyAnchor(const char *fn, const char *anchor)
static void writeTagFile(MemberDef *mdef, FTextStream &tagFile)
const QCString & initializer() const
void writeDocumentationPage(OutputList &ol, const char *scopeName, Definition *container)
QCString getOutputFileBase() const
int countInheritableMembers(ClassDef *inheritedFrom) const
void endMemberDescription()
Translator * theTranslator
const QCString & documentation() const
static QCString listTypeAsString(MemberListType type)
bool isReimplementedBy(ClassDef *cd) const
void writeDeclarations(OutputList &ol, ClassDef *cd, NamespaceDef *nd, FileDef *fd, GroupDef *gd, const char *title, const char *subtitle, bool showEnumValues=FALSE, bool showInline=FALSE, ClassDef *inheritedFrom=0, MemberListType lt=MemberListType_pubMethods)
void endMemberDocSimple()
const char * argsString() const
void startMemberHeader(const char *anchor)
void docify(const char *s)
void insertMemberAlign(bool templ=FALSE)
void findSectionsInDocumentation()
void marshal(StorageIntf *s)
void addListReferences(Definition *def)
void endMemberGroupHeader()
MemberListType m_listType
QCString substitute(const QCString &s, const QCString &src, const QCString &dst)
substitute all occurrences of src in s by dst
bool insert(uint index, const MemberDef *md)
void unmarshal(StorageIntf *s)
void writeDeclaration(OutputList &ol, ClassDef *cd, NamespaceDef *nd, FileDef *fd, GroupDef *gd, bool inGroup, ClassDef *inheritFrom=0, const char *inheritId=0)
void writePlainDeclarations(OutputList &ol, ClassDef *cd, NamespaceDef *nd, FileDef *fd, GroupDef *gd, ClassDef *inheritedFrom, const char *inheritId)
bool isDestructor() const
void addListReferences(Definition *d)
void startMemberGroupHeader(bool b)