37 const char *
name,
const char *lref,
38 const char *fName,
const char*
type,
41 ,m_isPublished(isPublished)
62 if (type && !
strcmp(
"module", type))
66 else if (type && !
strcmp(
"constants", type))
70 else if (type && !
strcmp(
"library", type))
101 for (;(mg=mgli.current());++mgli)
112 for (;(mg=mgli.current());++mgli)
192 for (;(mg=mgli.current());++mgli)
207 if (allMemberList==0)
212 allMemberList->
append(md);
246 err(
"NamespaceDef::insertMembers(): " 247 "member `%s' with class scope `%s' inserted in namespace scope `%s'!\n",
269 tagFile <<
" <compound kind=\"namespace\">" <<
endl;
290 for (ni.toFirst();(nd=ni.current());++ni)
294 tagFile <<
" <namespace>" <<
convertToXML(nd->
name()) <<
"</namespace>" << endl;
306 for (ci.toFirst();(cd=ci.current());++ci)
332 for (;(mg=mgli.current());++mgli)
344 tagFile <<
" </compound>" <<
endl;
395 if (rootNode && !rootNode->
isEmpty())
477 for (;(mg=mgli.current());++mgli)
480 && mg->
header()!=
"[NOHEADER]")
554 static bool generateTreeView =
Config_getBool(
"GENERATE_TREEVIEW");
561 if (!generateTreeView)
681 err(
"Internal inconsistency: member %d should not be part of " 682 "LayoutDocManager::Namespace entry list\n",lde->
kind());
696 if (allMemberList) allMemberList->
sort();
846 for (;(mg=mgli.current());++mgli)
880 result=result.
mid(i+2);
893 for (nli.toFirst();(nd=nli.current());++nli)
897 for (nli.toFirst();(nd=nli.current());++nli)
904 for (unli.toFirst();(und=unli.current());++unli)
915 for (
cli.toFirst();(ucd=
cli.current());++
cli)
929 for (ni.toFirst();(nd=ni.current());++ni)
944 if (
count()==0)
return;
952 for (ni.toFirst();(nd=ni.current()) && !found;++ni)
965 else if (!isConstantGroup)
969 err(
"Internal inconsistency: constant group but not IDL?\n");
985 for (ni.toFirst();(nd=ni.current());++ni)
1109 if (i==-1) i=0;
else i+=2;
1110 static bool extractAnonNs =
Config_getBool(
"EXTRACT_ANON_NSPACES");
1111 if (extractAnonNs &&
1112 name().mid(i,20)==
"anonymous_namespace{"
QCString convertToXML(const char *s)
void startMemberItem(const char *anchor, int i1, const char *id=0)
void endMemberDeclaration(const char *anchor, const char *inheritId)
MemberListType listType() const
void endMemberDocumentation(OutputList &ol)
void append(const MemberDef *md)
void setAnchors(MemberList *ml)
void writeTagFile(FTextStream &)
void endFileWithNavPath(Definition *d, OutputList &ol)
void endGroupHeader(int extraLevels=0)
bool isLinkableInProject() const
bool isArtificial() const
virtual QCString getReference() const
MemberDef * getMemberByName(const QCString &) const
void inSort(const char *key, const T *d)
void writeMemberDocumentation(OutputList &ol, MemberListType lt, const QCString &title)
void writeSummaryLinks(OutputList &ol)
void startFile(OutputList &ol, const char *name, const char *manName, const char *title, HighlightedItem hli, bool additionalIndices, const char *altSidebarName)
QCString convertNameToFile(const char *name, bool allowDots=FALSE) const
QCString displayName(bool=TRUE) const
void append(const type *d)
virtual QCString trModuleReference(const char *namespaceName)=0
void writeBriefDescription(OutputList &ol)
QCString getOutputFileBase() const
QList< ListItemInfo > * xrefListItems() const
static QCString htmlFileExtension
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 writeNamespaceDeclarations(OutputList &ol, const QCString &title, bool isConstantGroup=false)
void disableAllBut(OutputGenerator::OutputType o)
QCString compoundTypeString() const
virtual bool hasDocumentation() const
void writeInlineClasses(OutputList &ol)
QCString title(SrcLangExt lang) const
void writeNavigationPath(OutputList &ol) const
void setAutoDelete(bool val)
void writeDocumentation(OutputList &ol, const char *scopeName, Definition *container, const char *title, bool showEnumValues=FALSE, bool showInline=FALSE)
QCString compoundTypeString() const
void findSectionsInDocumentation()
static LayoutDocManager & instance()
void addMemberToList(MemberListType lt, MemberDef *md)
bool isLinkableInProject() const
void startMemberDescription(const char *anchor, const char *inheritId=0)
bool declVisible(const ClassDef::CompoundType *filter=0) const
MemberSDict * m_allMembersDict
void startMemberSections()
void writeDetailedDescription(OutputList &ol, const QCString &title)
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 writeLabel(const char *l, bool isLast)
void writeDeclarations(OutputList &ol, ClassDef *cd, NamespaceDef *nd, FileDef *fd, GroupDef *gd, bool showInline=FALSE)
static bool suppressDocWarnings
void writeTagFile(FTextStream &)
virtual bool isReference() const
Simplified and optimized version of QTextStream.
void startMemberDocumentation(OutputList &ol)
NamespaceSDict * getUsedNamespaces() const
virtual QCString trNamespaceReference(const char *namespaceName)=0
int find(const type *d) const
void writeMemberDeclarations(OutputList &ol, MemberListType lt, const QCString &title)
NamespaceSDict * namespaceSDict
void append(const char *key, const T *d)
static constexpr double mg
int findRev(char c, int index=-1, bool cs=TRUE) const
Represents of a member definition list with configurable title.
void startTextLink(const char *file, const char *anchor)
QCString title(SrcLangExt lang) const
virtual QCString trModule(bool first_capital, bool singular)=0
bool parseText(const QCString &textStr)
void writeAuthorSection(OutputList &ol)
QCString getDefFileName() const
Represents of a member declaration list with configurable title and subtitle.
void writeDocAnchorsToTagFile(FTextStream &)
void addNamespaceAttributes(OutputList &ol)
void writeMemberPages(OutputList &ol)
void countDocMembers(bool countEnumValues=FALSE)
static NamespaceDef * globalScope
virtual DefType definitionType() const =0
QCString getLanguageSpecificSeparator(SrcLangExt lang, bool classScope)
void addIndexItem(Definition *context, MemberDef *md, const char *sectionAnchor=0, const char *title=0)
static SearchIndexIntf * searchIndex
const QCString & name() const
void addMembersToMemberGroup()
void writeSummaryLink(const char *file, const char *anchor, const char *title, bool first)
void inSort(const type *d)
QList< MemberList > m_memberLists
void findSectionsInDocumentation()
bool hasDetailedDescription() const
bool allMembersInSameSection() const
void pushGeneratorState()
void startMemberDeclaration()
bool hasBriefDescription() const
QCString convertToHtml(const char *s, bool keepEntities)
int numDocMembers() const
void inSort(const MemberDef *md)
SrcLangExt getLanguage() const
void insertNamespace(NamespaceDef *nd)
virtual QCString trAuthor(bool first_capital, bool singular)=0
virtual void addWord(const char *word, bool hiPriority)=0
virtual QCString trGeneratedAutomatically(const char *s)=0
virtual Definition * findInnerCompound(const char *name)
void disable(OutputGenerator::OutputType o)
void setFileName(const QCString &fn)
void setNeedsSorting(bool b)
A bunch of utility functions.
const char * data() const
void addGroupListToTitle(OutputList &ol, Definition *d)
void addToDeclarationSection()
#define Config_getString(val)
void writeDoc(DocRoot *root, Definition *ctx, MemberDef *md)
void enable(OutputGenerator::OutputType o)
#define Config_getBool(val)
void setReference(const char *r)
ClassDef * getClassDef() const
void setSectionList(Definition *d, MemberList *sl)
void endMemberDeclarations(OutputList &ol)
QCString briefFile() const
MemberList * getMemberList(MemberListType lt) const
virtual QCString qualifiedName() const
NamespaceSDict * usingDirList
void err(const char *fmt,...)
void insertClass(ClassDef *cd)
MemberType memberType() const
virtual QCString trMore()=0
virtual QCString briefDescription(bool abbreviate=FALSE) const
SDict< Definition > * m_innerCompounds
void err_full(const char *file, int line, const char *fmt,...)
void startGroupHeader(int extraLevels=0)
QCString mid(uint index, uint len=0xffffffff) const
void writeDocumentationPage(OutputList &ol, const char *scopeName, Definition *container)
bool isConstantGroup() const
void distributeMemberGroupDocumentation()
SDict< Definition > * getUsedClasses() const
QCString localName() const
void writeMemberGroups(OutputList &ol)
virtual Definition * getOuterScope() const
void writeDeclaration(OutputList &ol, const ClassDef::CompoundType *filter=0, const char *header=0, bool localNames=FALSE)
virtual QCString trPackage(const char *name)=0
void startTitle(OutputList &ol, const char *fileName, Definition *def)
int strcmp(const String &s1, const String &s2)
NamespaceDef(const char *defFileName, int defLine, int defColumn, const char *name, const char *ref=0, const char *refFile=0, const char *type=0, bool isPublished=false)
void writeDocumentation(OutputList &ol)
void insertMember(MemberDef *md)
void startTextBlock(bool dense=FALSE)
virtual QCString trNamespace(bool first_capital, bool singular)=0
virtual Kind kind() const =0
Base class representing a piece of a documentation page.
enum NamespaceDef::@8 m_type
MemberGroupSDict * memberGroupSDict
virtual void setCurrentDoc(Definition *ctx, const char *anchor, bool isSourceFile)=0
QCString getOutputFileBase() const
void writeAnchor(const char *fileName, const char *name)
void endMemberDescription()
MemberList * createMemberList(MemberListType lt)
void writeClassDeclarations(OutputList &ol, const QCString &title)
NamespaceDef * getNamespaceDef() const
void addRefItem(const QList< ListItemInfo > *sli, const char *key, const char *prefix, const char *name, const char *title, const char *args, Definition *scope)
Translator * theTranslator
void writeDocumentation(OutputList &ol, Definition *container=0)
bool needsSorting() const
void insertUsedFile(FileDef *fd)
static QCString listTypeAsString(MemberListType type)
void startMemberDeclarations(OutputList &ol)
void endTextBlock(bool paraBreak=FALSE)
void endTitle(OutputList &ol, const char *fileName, const char *name)
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 createSubDirs(QDir &d)
void distributeMemberGroupDocumentation()
void addUsingDeclaration(Definition *def)
void addUsingDirective(NamespaceDef *nd)
void writeQuickMemberLinks(OutputList &ol, MemberDef *currentMd) const
void docFindSections(const char *input, Definition *d, MemberGroup *mg, const char *fileName)
bool isLinkableInProject() const
void startMemberHeader(const char *anchor)
void docify(const char *s)
void insertMemberAlign(bool templ=FALSE)
virtual QCString trConstantGroupReference(const char *namespaceName)=0
void findSectionsInDocumentation()
T * find(const char *key)
virtual QCString documentation() const
void writeObjectLink(const char *ref, const char *file, const char *anchor, const char *name)
void setAutoDelete(bool enable)
void writeDeclaration(OutputList &ol, const char *title, bool isConstantGroup=false, bool localName=FALSE)
void addListReferences(Definition *def)
QCString stripExtension(const char *fName)
SDict< Definition > * usingDeclList
QCString localName() const
static IndexList * indexList
QCString substitute(const QCString &s, const QCString &src, const QCString &dst)
substitute all occurrences of src in s by dst
void addInnerCompound(Definition *d)
QCString title(SrcLangExt lang) const
void combineUsingRelations()
QTextStream & endl(QTextStream &s)
void addListReferences(Definition *d)