My Project
|
#include <dot.h>
Classes | |
struct | CleanupItem |
Public Member Functions | |
DotRunner (const QCString &file, const QCString &fontPath, bool checkResult, const QCString &imageName=QCString()) | |
void | addJob (const char *format, const char *output) |
void | addPostProcessing (const char *cmd, const char *args) |
void | preventCleanUp () |
bool | run () |
const CleanupItem & | cleanup () const |
Private Attributes | |
DotConstString | m_dotExe |
bool | m_multiTargets |
QList< DotConstString > | m_jobs |
DotConstString | m_postArgs |
DotConstString | m_postCmd |
DotConstString | m_file |
DotConstString | m_path |
bool | m_checkResult |
DotConstString | m_imageName |
DotConstString | m_imgExt |
bool | m_cleanUp |
CleanupItem | m_cleanupItem |
DotRunner::DotRunner | ( | const QCString & | file, |
const QCString & | fontPath, | ||
bool | checkResult, | ||
const QCString & | imageName = QCString() |
||
) |
Creates a runner for a dot file.
Definition at line 751 of file dot.cpp.
References Config_getBool, m_cleanUp, m_jobs, and m_multiTargets.
void DotRunner::addJob | ( | const char * | format, |
const char * | output | ||
) |
Adds an additional job to the run. Performing multiple jobs one file can be faster.
Definition at line 765 of file dot.cpp.
References m_jobs.
Referenced by DotGfxHierarchyTable::createGraph(), generateGraphLegend(), writeDotGraphFromFile(), writeDotImageMapFromFile(), DotClassGraph::writeGraph(), DotInclDepGraph::writeGraph(), DotCallGraph::writeGraph(), DotDirDeps::writeGraph(), and DotGroupCollaboration::writeGraph().
void DotRunner::addPostProcessing | ( | const char * | cmd, |
const char * | args | ||
) |
Definition at line 771 of file dot.cpp.
References m_postArgs, m_postCmd, and DotConstString::set().
|
inline |
Definition at line 388 of file dot.h.
References m_cleanupItem.
Referenced by DotWorkerThread::run().
|
inline |
bool DotRunner::run | ( | ) |
Runs dot for all jobs added.
Definition at line 777 of file dot.cpp.
References checkDotResult(), DotConstString::data(), err(), DotRunner::CleanupItem::file, DotConstString::isEmpty(), m_checkResult, m_cleanUp, m_cleanupItem, m_dotExe, m_file, m_imageName, m_imgExt, m_jobs, m_multiTargets, m_path, m_postArgs, m_postCmd, DotRunner::CleanupItem::path, portable_system(), and DotConstString::set().
Referenced by DotWorkerThread::run(), and DotManager::run().
|
private |
Definition at line 401 of file dot.h.
Referenced by DotRunner(), preventCleanUp(), and run().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 393 of file dot.h.
Referenced by addJob(), DotRunner(), and run().
|
private |
Definition at line 392 of file dot.h.
Referenced by DotRunner(), and run().
|
private |
|
private |
Definition at line 394 of file dot.h.
Referenced by addPostProcessing(), and run().
|
private |
Definition at line 395 of file dot.h.
Referenced by addPostProcessing(), and run().