The dotnode.h
File Reference
Included Headers
#include <vector>
#include <map>
#include <deque>
#include <iostream>
#include "types.h"
#include "dotgraph.h"
Classes Index
class | EdgeInfo |
Attributes of an edge of a dot graph. More... | |
class | DotNode |
A node in a dot graph. More... | |
class | DotNodeMap |
class | DotNodeDeque |
Typedefs Index
using | DotNodeRefVector = std::vector< DotNode * > |
using | EdgeInfoVector = std::vector< EdgeInfo > |
Functions Index
QCString | escapeTooltip (const QCString &tooltip) |
Typedefs
DotNodeRefVector
|
Definition at line 63 of file dotnode.h.
63using DotNodeRefVector = std::vector<DotNode*>;
EdgeInfoVector
|
Definition at line 64 of file dotnode.h.
64using EdgeInfoVector = std::vector<EdgeInfo>;
Functions
escapeTooltip()
|
Declaration at line 157 of file dotnode.h, definition at line 99 of file dotnode.cpp.
99QCString escapeTooltip(const QCString &tooltip)
100{
101 if (tooltip.isEmpty()) return tooltip;
102 QCString result;
103 const char *p=tooltip.data();
104 char c = 0;
105 while ((c=*p++))
106 {
107 switch(c)
108 {
109 case '"': result+="\\\""; break;
110 case '\\': result+="\\\\"; break;
111 default: result+=c; break;
112 }
113 }
114 return result;
115}
References QCString::data and QCString::isEmpty.
Referenced by common_attributes and DotNode::writeBox.
Generated via doxygen2docusaurus by Doxygen 1.14.0.