Doxygen
Toggle main menu visibility
Loading...
Searching...
No Matches
dotrunner.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* Copyright (C) 1997-2019 by Dimitri van Heesch.
4
*
5
* Permission to use, copy, modify, and distribute this software and its
6
* documentation under the terms of the GNU General Public License is hereby
7
* granted. No representations are made about the suitability of this software
8
* for any purpose. It is provided "as is" without express or implied warranty.
9
* See the GNU General Public License for more details.
10
*
11
* Documents produced by Doxygen are derivative works derived from the
12
* input used in their production; they are not affected by this license.
13
*
14
*/
15
16
#ifndef DOTRUNNER_H
17
#define DOTRUNNER_H
18
19
#include <vector>
20
21
#include "
qcstring.h
"
22
#include "
dotjob.h
"
23
24
/** Helper class to run dot from doxygen. Holds a queue of jobs, each
25
* specifying an input .dot file and output format. Call run() to execute
26
* all queued jobs, batched as a single dot invocation per output format
27
* using the -O flag for automatic output file naming.
28
*/
29
class
DotRunner
30
{
31
public
:
32
DotRunner
();
33
34
/** Runs dot for all given jobs. For each unique format, a single dot
35
* invocation is made with -O and all input files for that format.
36
*/
37
bool
run
(
const
DotJobs
&jobs);
38
39
static
bool
readBoundingBox
(
const
QCString
&fileName,
int
* width,
int
* height,
bool
isEps);
40
41
private
:
42
QCString
m_dotExe
;
43
};
44
45
#endif
DotRunner::DotRunner
DotRunner()
Definition
dotrunner.cpp:273
DotRunner::run
bool run(const DotJobs &jobs)
Runs dot for all given jobs.
Definition
dotrunner.cpp:278
DotRunner::readBoundingBox
static bool readBoundingBox(const QCString &fileName, int *width, int *height, bool isEps)
Definition
dotrunner.cpp:146
DotRunner::m_dotExe
QCString m_dotExe
Definition
dotrunner.h:42
QCString
This is an alternative implementation of QCString.
Definition
qcstring.h:101
dotjob.h
DotJobs
std::vector< DotJob > DotJobs
Definition
dotjob.h:36
qcstring.h
src
dotrunner.h
Generated by
1.18.0