Skip to main content

The dotnode.h File Reference

Included Headers

#include <vector> #include <map> #include <deque> #include <iostream> #include "types.h" #include "dotgraph.h"

Classes Index

classEdgeInfo

Attributes of an edge of a dot graph. More...

classDotNode

A node in a dot graph. More...

classDotNodeMap
classDotNodeDeque

Typedefs Index

usingDotNodeRefVector = std::vector< DotNode * >
usingEdgeInfoVector = std::vector< EdgeInfo >

Functions Index

QCStringescapeTooltip (const QCString &tooltip)

Typedefs

DotNodeRefVector

using DotNodeRefVector = std::vector<DotNode*>

Definition at line 63 of file dotnode.h.

63using DotNodeRefVector = std::vector<DotNode*>;

EdgeInfoVector

using EdgeInfoVector = std::vector<EdgeInfo>

Definition at line 64 of file dotnode.h.

64using EdgeInfoVector = std::vector<EdgeInfo>;

Functions

escapeTooltip()

QCString escapeTooltip (const QCString & tooltip)

Declaration at line 157 of file dotnode.h, definition at line 99 of file dotnode.cpp.

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.