Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
doxygen-1.8.11
src
plantuml.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* Copyright (C) 1997-2015 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 PLANTUML_H
17
#define PLANTUML_H
18
19
class
QCString
;
20
21
/** Plant UML output image formats */
22
enum
PlantUMLOutputFormat
{
PUML_BITMAP
,
PUML_EPS
,
PUML_SVG
};
23
24
/** Write a PlantUML compatible file.
25
* @param[in] outDir the output directory to write the file to.
26
* @param[in] fileName the name of the file. If empty a name will be chosen automatically.
27
* @param[in] content the contents of the PlantUML file.
28
* @returns The name of the generated file.
29
*/
30
QCString
writePlantUMLSource
(
const
QCString
&outDir,
const
QCString
&
fileName
,
const
QCString
&content);
31
32
/** Convert a PlantUML file to an image.
33
* @param[in] baseName the name of the generated file (as returned by writePlantUMLSource())
34
* @param[in] outDir the directory to write the resulting image into.
35
* @param[in] format the image format to generate.
36
*/
37
void
generatePlantUMLOutput
(
const
char
*
baseName
,
const
char
*outDir,
PlantUMLOutputFormat
format
);
38
39
#endif
40
PlantUMLOutputFormat
PlantUMLOutputFormat
Definition:
plantuml.h:22
PUML_EPS
Definition:
plantuml.h:22
format
static bool format(QChar::Decomposition tag, QString &str, int index, int len)
Definition:
qstring.cpp:11496
generatePlantUMLOutput
void generatePlantUMLOutput(const char *baseName, const char *outDir, PlantUMLOutputFormat format)
Definition:
plantuml.cpp:54
dumpTree.fileName
fileName
Definition:
dumpTree.py:9
PUML_BITMAP
Definition:
plantuml.h:22
PUML_SVG
Definition:
plantuml.h:22
baseName
static QCString baseName
Definition:
scanner.cpp:10890
QCString
Definition:
qcstring.h:131
writePlantUMLSource
QCString writePlantUMLSource(const QCString &outDir, const QCString &fileName, const QCString &content)
Definition:
plantuml.cpp:25
Generated by
1.8.11