171 if (rootNode && !rootNode->
isEmpty())
339 tagFile <<
" <compound kind=\"dir\">" <<
endl;
381 tagFile <<
" </compound>" <<
endl;
386 static bool generateTreeView =
Config_getBool(
"GENERATE_TREEVIEW");
392 if (!generateTreeView)
477 err(
"Internal inconsistency: member %d should not be part of " 478 "LayoutDocManager::Directory entry list\n",lde->
kind());
515 if (
this==dir)
return;
544 usedDir =
new UsedDir(dir,inherited);
624 return orderHi==0 ? orderLo : orderHi;
630 m_dir(dir), m_filePairs(7), m_inherited(inherited)
689 while ((i=path.
find(
'/',p))!=-1)
692 if (!matchPath(part,
Config_getList(
"STRIP_FROM_PATH")) && (part!=
"/" && part!=
"//"))
694 dir=createNewDir(part);
705 if (target->
parent()!=root)
734 static bool generateTreeView =
Config_getBool(
"GENERATE_TREEVIEW");
739 m_src->shortName()+
" → "+
740 m_dst->dir()->shortName());
742 m_src->displayName()+
" -> "+
743 m_dst->dir()->shortName());
744 startFile(ol,getOutputFileBase(),getOutputFileBase(),
745 title,
HLI_None,!generateTreeView,m_src->getOutputFileBase());
747 if (!generateTreeView)
750 m_src->writeNavigationPath(ol);
768 for (fpi.toFirst();(fp=fpi.current());++fpi)
818 for (sdi.toFirst();(dir=sdi.current());++sdi)
864 for (sdi.toFirst();(dir=sdi.current());++sdi)
881 for (;(fd=fni.
current());++fni)
904 for (sdi.toFirst();(dir=sdi.current());++sdi)
929 for (sdi.toFirst();(dir=sdi.current());++sdi)
934 for (sdi.toFirst();(dir=sdi.current());++sdi)
946 for (sdi.toFirst();(dir=sdi.current());++sdi)
954 for (rdi.toFirst();(dr=rdi.current());++rdi)
QCString convertToXML(const char *s)
void startMemberItem(const char *anchor, int i1, const char *id=0)
bool isParentOf(DirDef *dir) const
void addFile(FileDef *fd)
void endMemberDeclaration(const char *anchor, const char *inheritId)
Q_EXPORT int qstrncmp(const char *str1, const char *str2, uint len)
static SDict< DirRelation > dirRelations
void addSubDir(DirDef *subdir)
void endFileWithNavPath(Definition *d, OutputList &ol)
void endGroupHeader(int extraLevels=0)
void computeDependencies()
virtual QCString trFile(bool first_capital, bool singular)=0
virtual QCString getReference() const
void inSort(const char *key, const T *d)
const QCString & shortName() const
void writeDirectoryGraph(OutputList &ol)
void startFile(OutputList &ol, const char *name, const char *manName, const char *title, HighlightedItem hli, bool additionalIndices, const char *altSidebarName)
void msg(const char *fmt,...)
virtual QCString trDirRelation(const char *name)=0
bool generateSourceFile() const
void writeDocumentation(OutputList &ol)
static QCString htmlFileExtension
void writeString(const char *text)
static bool matchPath(const QCString &path, QStrList &l)
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)
virtual QCString trDirReference(const char *dirName)=0
void disableAllBut(OutputGenerator::OutputType o)
virtual bool hasDocumentation() const
void writeNavigationPath(OutputList &ol) const
virtual void setOuterScope(Definition *d)
static FileNameList * inputNameList
static LayoutDocManager & instance()
virtual QCString trDirDepGraph(const char *name)=0
void startMemberDescription(const char *anchor, const char *inheritId=0)
static void writePartialFilePath(OutputList &ol, const DirDef *root, const FileDef *fd)
const FileDef * source() const
#define Config_getList(val)
void startMemberSections()
QCString left(uint len) const
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)
virtual bool isReference() const
Simplified and optimized version of QTextStream.
DirDef * getDirDef() const
int find(char c, int index=0, bool cs=TRUE) const
int findRev(char c, int index=-1, bool cs=TRUE) const
void writeDocumentation(OutputList &ol)
void startTextLink(const char *file, const char *anchor)
QCString title(SrcLangExt lang) const
void endMemberDeclarations(OutputList &ol)
bool parseText(const QCString &textStr)
int compareValues(const FilePair *item1, const FilePair *item2) const
QCString displayName(bool=TRUE) const
void writeDocAnchorsToTagFile(FTextStream &)
void setAutoDelete(bool val)
void writeFileList(OutputList &ol)
bool hasDetailedDescription() const
static QCString stripFromPath(const QCString &path, QStrList &l)
void computeDirDependencies()
const QCString & name() const
int qstricmp(const char *str1, const char *str2)
QDict< UsedDir > * m_usedDirs
void inSort(const type *d)
static DirDef * createNewDir(const char *path)
void pushGeneratorState()
void startMemberDeclaration()
void generateDirDocs(OutputList &ol)
void MD5Buffer(const unsigned char *buf, unsigned int len, unsigned char sig[16])
QCString right(uint len) const
QList< IncludeInfo > * includeFileList() const
SrcLangExt getLanguage() const
static DirSDict * directories
static DirDef * mergeDirectoryInTree(const QCString &path)
static QCString encodeDirName(const QCString &anchor)
void setLocalName(const QCString name)
const FileDef * destination() const
void disable(OutputGenerator::OutputType o)
A bunch of utility functions.
const char * data() const
static void writePartialDirPath(OutputList &ol, const DirDef *root, const DirDef *target)
void writeDoc(DocRoot *root, Definition *ctx, MemberDef *md)
void enable(OutputGenerator::OutputType o)
#define Config_getBool(val)
QCString briefFile() const
bool depGraphIsTrivial() const
virtual QCString trCode()=0
bool isLinkableInProject() const
void startMemberDeclarations(OutputList &ol)
UsedDir(DirDef *dir, bool inherited)
void err(const char *fmt,...)
QCString shortTitle() const
void writeDetailedDescription(OutputList &ol, const QCString &title)
virtual QCString trFileIn(const char *name)=0
virtual QCString trMore()=0
virtual QCString briefDescription(bool abbreviate=FALSE) const
void startGroupHeader(int extraLevels=0)
QCString mid(uint index, uint len=0xffffffff) const
QCString getOutputFileBase() const
virtual QCString trIncludesFileIn(const char *name)=0
void writeSubDirList(OutputList &ol)
void setDiskName(const QCString &name)
void writeTagFile(FTextStream &t)
QCString getOutputFileBase() const
void startTitle(OutputList &ol, const char *fileName, Definition *def)
void addUsesDependency(DirDef *usedDir, FileDef *srcFd, FileDef *dstFd, bool inherited)
void MD5SigToString(unsigned char signature[16], char *str, int len)
FilePair * findFilePair(const char *name)
static void computeCommonDirPrefix()
virtual Kind kind() const =0
void writeBriefDescription(OutputList &ol)
Base class representing a piece of a documentation page.
void writeAnchor(const char *fileName, const char *name)
void endMemberDescription()
Translator * theTranslator
virtual QCString trDir(bool first_capital, bool singular)=0
void endDirDepGraph(const DotDirDeps &g)
bool isDocumentationFile() const
void endTitle(OutputList &ol, const char *fileName, const char *name)
const DirDef * dir() const
QCString includeName() const
void setDirDef(DirDef *dd)
void startMemberHeader(const char *anchor)
void docify(const char *s)
void insertMemberAlign(bool templ=FALSE)
T * find(const char *key)
virtual QCString documentation() const
void writeObjectLink(const char *ref, const char *file, const char *anchor, const char *name)
def parent(G, child, parent_type)
QTextStream & endl(QTextStream &s)
void addFileDep(FileDef *srcFd, FileDef *dstFd)