Doxygen
|
#include <algorithm>
#include "dirdef.h"
#include "md5.h"
#include "filename.h"
#include "doxygen.h"
#include "util.h"
#include "outputlist.h"
#include "language.h"
#include "message.h"
#include "dot.h"
#include "dotdirdeps.h"
#include "layout.h"
#include "config.h"
#include "docparser.h"
#include "definitionimpl.h"
#include "filedef.h"
#include "trace.h"
Go to the source code of this file.
Classes | |
class | DirDefImpl |
Functions | |
DirDef * | createDirDef (const QCString &path) |
static QCString | encodeDirName (const QCString &anchor) |
static void | writePartialDirPath (OutputList &ol, const DirDef *root, const DirDef *target) |
static void | writePartialFilePath (OutputList &ol, const DirDef *root, const FileDef *fd) |
static void | computeCommonDirPrefix () |
In order to create stable, but unique directory names, we compute the common part of the path shared by all directories. | |
void | buildDirectories () |
void | computeDirDependencies () |
void | generateDirDocs (OutputList &ol) |
bool | compareDirDefs (const DirDef *item1, const DirDef *item2) |
DirDef * | toDirDef (Definition *d) |
const DirDef * | toDirDef (const Definition *d) |
void buildDirectories | ( | ) |
Definition at line 1055 of file dirdef.cpp.
References DirDef::addFile(), AUTO_TRACE, AUTO_TRACE_ADD, begin(), computeCommonDirPrefix(), Doxygen::dirLinkedMap, end(), QCString::findRev(), Doxygen::inputNameLinkedMap, QCString::left(), QCString::length(), DirDefImpl::mergeDirectoryInTree(), parent(), and qstricmp_sort().
Referenced by parseInput().
Definition at line 1168 of file dirdef.cpp.
References qstricmp_sort(), and DirDef::shortName().
Referenced by DirDefImpl::sort(), and GroupDefImpl::sortMemberLists().
|
static |
In order to create stable, but unique directory names, we compute the common part of the path shared by all directories.
Definition at line 978 of file dirdef.cpp.
References AUTO_TRACE, AUTO_TRACE_ADD, Doxygen::dirLinkedMap, FALSE, QCString::findRev(), QCString::left(), QCString::length(), removeLongPathMarker(), QCString::right(), and TRUE.
Referenced by buildDirectories().
void computeDirDependencies | ( | ) |
Definition at line 1129 of file dirdef.cpp.
References AUTO_TRACE, AUTO_TRACE_ADD, and Doxygen::dirLinkedMap.
Referenced by parseInput().
Definition at line 107 of file dirdef.cpp.
Referenced by DirDefImpl::createNewDir().
Definition at line 188 of file dirdef.cpp.
References AUTO_TRACE, AUTO_TRACE_EXIT, QCString::data(), and QCString::length().
Referenced by DirDefImpl::getOutputFileBase().
void generateDirDocs | ( | OutputList & | ol | ) |
Definition at line 1146 of file dirdef.cpp.
References AUTO_TRACE, Doxygen::dirLinkedMap, Doxygen::dirRelations, OutputList::disableAllBut(), Html, OutputList::popGeneratorState(), and OutputList::pushGeneratorState().
Referenced by generateOutput().
const DirDef * toDirDef | ( | const Definition * | d | ) |
Definition at line 1188 of file dirdef.cpp.
DirDef * toDirDef | ( | Definition * | d | ) |
Definition at line 1175 of file dirdef.cpp.
|
static |
Definition at line 890 of file dirdef.cpp.
References Definition::getOutputFileBase(), Definition::getReference(), DirDef::parent(), DirDef::shortName(), OutputList::writeObjectLink(), writePartialDirPath(), and OutputList::writeString().
Referenced by writePartialDirPath(), and writePartialFilePath().
|
static |
Definition at line 900 of file dirdef.cpp.
References OutputList::docify(), OutputList::endBold(), FileDef::getDirDef(), Definition::getOutputFileBase(), Definition::getReference(), Definition::isLinkable(), Definition::name(), OutputList::startBold(), OutputList::writeObjectLink(), writePartialDirPath(), and OutputList::writeString().
Referenced by DirRelation::writeDocumentation().