Doxygen
|
Singleton that manages plantuml relation actions 更多...
#include <plantuml.h>
Public 类型 | |
enum | OutputFormat { PUML_BITMAP, PUML_EPS, PUML_SVG } |
Plant UML output image formats 更多... | |
using | FilesMap = std::map< std::string, StringVector > |
using | ContentMap = std::map< std::string, PlantumlContent > |
Public 成员函数 | |
void | run () |
Run plant UML tool for all images 更多... | |
QCString | writePlantUMLSource (const QCString &outDir, const QCString &fileName, const QCString &content, OutputFormat format, const QCString &engine, const QCString &srcFile, int srcLine) |
Write a PlantUML compatible file. 更多... | |
void | generatePlantUMLOutput (const QCString &baseName, const QCString &outDir, OutputFormat format) |
Convert a PlantUML file to an image. 更多... | |
静态 Public 成员函数 | |
static PlantumlManager & | instance () |
Private 成员函数 | |
PlantumlManager () | |
void | insert (const std::string &key, const std::string &value, const QCString &outDir, OutputFormat format, const QCString &puContent, const QCString &srcFile, int srcLine) |
Private 属性 | |
FilesMap | m_pngPlantumlFiles |
FilesMap | m_svgPlantumlFiles |
FilesMap | m_epsPlantumlFiles |
ContentMap | m_pngPlantumlContent |
ContentMap | m_svgPlantumlContent |
ContentMap | m_epsPlantumlContent |
Singleton that manages plantuml relation actions
在文件 plantuml.h 第 40 行定义.
using PlantumlManager::ContentMap = std::map< std::string, PlantumlContent > |
在文件 plantuml.h 第 74 行定义.
using PlantumlManager::FilesMap = std::map< std::string, StringVector > |
在文件 plantuml.h 第 73 行定义.
|
private |
在文件 plantuml.cpp 第 130 行定义.
void PlantumlManager::generatePlantUMLOutput | ( | const QCString & | baseName, |
const QCString & | outDir, | ||
OutputFormat | format | ||
) |
Convert a PlantUML file to an image.
[in] | baseName | the name of the generated file (as returned by writePlantUMLSource()) |
[in] | outDir | the directory to write the resulting image into. |
[in] | format | the image format to generate. |
在文件 plantuml.cpp 第 91 行定义.
引用了 IndexList::addImageFile(), Config_getString, QCString::findRev(), Doxygen::indexList, QCString::length(), PUML_BITMAP, PUML_EPS, PUML_SVG , 以及 QCString::right().
被这些函数引用 FlowChart::printUmlTree(), HtmlDocVisitor::writePlantUMLFile(), DocbookDocVisitor::writePlantUMLFile(), RTFDocVisitor::writePlantUMLFile() , 以及 LatexDocVisitor::writePlantUMLFile().
|
private |
在文件 plantuml.cpp 第 340 行定义.
引用了 addPlantumlContent(), addPlantumlFiles(), m_epsPlantumlContent, m_epsPlantumlFiles, m_pngPlantumlContent, m_pngPlantumlFiles, m_svgPlantumlContent, m_svgPlantumlFiles, Debug::Plantuml, Debug::print(), print(), PUML_BITMAP, PUML_EPS, PUML_SVG , 以及 qPrint().
被这些函数引用 writePlantUMLSource().
|
static |
在文件 plantuml.cpp 第 124 行定义.
被这些函数引用 generateOutput(), FlowChart::printUmlTree(), HtmlDocVisitor::visit(), DocbookDocVisitor::visit(), LatexDocVisitor::visit(), RTFDocVisitor::visit(), HtmlDocVisitor::writePlantUMLFile(), DocbookDocVisitor::writePlantUMLFile(), RTFDocVisitor::writePlantUMLFile(), LatexDocVisitor::writePlantUMLFile() , 以及 writePlantUMLSource().
void PlantumlManager::run | ( | ) |
Run plant UML tool for all images
在文件 plantuml.cpp 第 282 行定义.
引用了 m_epsPlantumlContent, m_epsPlantumlFiles, m_pngPlantumlContent, m_pngPlantumlFiles, m_svgPlantumlContent, m_svgPlantumlFiles, Debug::Plantuml, Debug::print(), PUML_BITMAP, PUML_EPS, PUML_SVG , 以及 runPlantumlContent().
被这些函数引用 generateOutput().
QCString PlantumlManager::writePlantUMLSource | ( | const QCString & | outDir, |
const QCString & | fileName, | ||
const QCString & | content, | ||
OutputFormat | format, | ||
const QCString & | engine, | ||
const QCString & | srcFile, | ||
int | srcLine | ||
) |
Write a PlantUML compatible file.
[in] | outDir | the output directory to write the file to. |
[in] | fileName | the name of the file. If empty a name will be chosen automatically. |
[in] | content | the contents of the PlantUML file. |
[in] | format | the image format to generate. |
[in] | engine | the plantuml engine to use. |
[in] | srcFile | the source file resulting in the write command. |
[in] | srcLine | the line number resulting in the write command. |
在文件 plantuml.cpp 第 26 行定义.
引用了 QCString::at(), QCString::findRev(), insert(), instance(), QCString::isEmpty(), QCString::left(), QCString::length(), Debug::Plantuml, QCString::prepend(), Debug::print(), PUML_BITMAP, PUML_EPS, PUML_SVG, QCString::QCString(), qPrint(), QCString::right() , 以及 QCString::str().
被这些函数引用 FlowChart::printUmlTree(), HtmlDocVisitor::visit(), DocbookDocVisitor::visit(), LatexDocVisitor::visit() , 以及 RTFDocVisitor::visit().
|
private |
在文件 plantuml.h 第 90 行定义.
|
private |
在文件 plantuml.h 第 87 行定义.
|
private |
在文件 plantuml.h 第 88 行定义.
|
private |
在文件 plantuml.h 第 85 行定义.
|
private |
在文件 plantuml.h 第 89 行定义.
|
private |
在文件 plantuml.h 第 86 行定义.