Doxygen
|
#include <cstdlib>
#include <cassert>
#include <sstream>
#include <algorithm>
#include <mutex>
#include "config.h"
#include "dot.h"
#include "dotrunner.h"
#include "dotfilepatcher.h"
#include "util.h"
#include "portable.h"
#include "message.h"
#include "doxygen.h"
#include "language.h"
#include "indexlist.h"
#include "dir.h"
Go to the source code of this file.
Macros | |
#define | MAP_CMD "cmapx" |
Functions | |
static void | setDotFontPath (const QCString &path) |
static void | unsetDotFontPath () |
void | writeDotGraphFromFile (const QCString &inFile, const QCString &outDir, const QCString &outFile, GraphOutputFormat format, const QCString &srcFile, int srcLine) |
void | writeDotImageMapFromFile (TextStream &t, const QCString &inFile, const QCString &outDir, const QCString &relPath, const QCString &baseName, const QCString &context, int graphId, const QCString &srcFile, int srcLine) |
Variables | |
static QCString | g_dotFontPath |
static std::mutex | g_dotManagerMutex |
#define MAP_CMD "cmapx" |
Definition at line 34 of file dot.cpp.
Referenced by DotGraph::prepareDotFile(), and writeDotImageMapFromFile().
|
static |
Definition at line 42 of file dot.cpp.
References ASSERT, Config_getString, g_dotFontPath, Portable::getenv(), QCString::isEmpty(), Portable::pathListSeparator(), QCString::prepend(), Portable::setenv(), and Portable::unsetenv().
Referenced by DotManager::run().
|
static |
Definition at line 63 of file dot.cpp.
References g_dotFontPath, Portable::setenv(), and Portable::unsetenv().
Referenced by DotManager::run().
void writeDotGraphFromFile | ( | const QCString & | inFile, |
const QCString & | outDir, | ||
const QCString & | outFile, | ||
GraphOutputFormat | format, | ||
const QCString & | srcFile, | ||
int | srcLine ) |
Definition at line 230 of file dot.cpp.
References Dir::absPath(), DotRunner::addJob(), BITMAP, Config_getBool, Config_getEnumAsString, Dir::exists(), getDotImageExtension(), Doxygen::indexList, DotRunner::preventCleanUp(), qPrint(), DotRunner::run(), QCString::str(), and term.
Referenced by DocbookDocVisitor::startDotFile(), LatexDocVisitor::startDotFile(), DocbookDocVisitor::writeDotFile(), HtmlDocVisitor::writeDotFile(), and RTFDocVisitor::writeDotFile().
void writeDotImageMapFromFile | ( | TextStream & | t, |
const QCString & | inFile, | ||
const QCString & | outDir, | ||
const QCString & | relPath, | ||
const QCString & | baseName, | ||
const QCString & | context, | ||
int | graphId, | ||
const QCString & | srcFile, | ||
int | srcLine ) |
Writes user defined image map to the output.
t | text stream to write to |
inFile | just the basename part of the filename |
outDir | output directory |
relPath | relative path the to root of the output dir |
baseName | the base name of the output files |
context | the scope in which this graph is found (for resolving links) |
graphId | a unique id for this graph, use for dynamic sections |
srcFile | the source file |
srcLine | the line number in the source file |
Definition at line 283 of file dot.cpp.
References Dir::absPath(), DotRunner::addJob(), DotFilePatcher::addSVGConversion(), DotFilePatcher::convertMapFile(), TextStream::empty(), Dir::exists(), getDotImageExtension(), MAP_CMD, DotRunner::preventCleanUp(), qPrint(), Dir::remove(), DotFilePatcher::run(), DotRunner::run(), QCString::str(), TextStream::str(), term, TRUE, and DotFilePatcher::writeSVGFigureLink().
Referenced by HtmlDocVisitor::writeDotFile().
|
static |
Definition at line 38 of file dot.cpp.
Referenced by setDotFontPath(), and unsetDotFontPath().
|
static |
Definition at line 40 of file dot.cpp.
Referenced by DotManager::createFilePatcher(), and DotManager::createRunner().