Skip to content

DOTRepresentation

Synopsis

Declared in <src/midend/astDump/DOTRepresentation.h>

template<class NodeType>
class DOTRepresentation;

Type Aliases

Name
TraceType

Member Functions

Name Description
DOTRepresentation
DOTRepresentation() = default; [constructor]
Default constructor
~DOTRepresentation
virtual ~DOTRepresentation() = default; [destructor] [virtual]
Destructor
addEdge
void addEdge( NodeType node1, NodeType node2, std::string option = "");
addNode
void addNode( NodeType node, std::string nodelabel, std::string option = "");
addNullValue
void addNullValue( NodeType node, std::string nodelabel, std::string edgelabel, std::string option = "");
clear
void clear();
traceFormat
std::string traceFormat(TraceType tracepos);
writeDotoutStream
virtual void writeDotoutStream(std::ostream& output); [virtual]
writeToFile
void writeToFile(std::string filename);
writeToFileAsGraph
void writeToFileAsGraph(std::string filename);

Protected Member Functions

Name
graphEnd
std::string graphEnd();
graphStart
std::string graphStart(std::string graphName = "G0");
nodeName
std::string nodeName(NodeType node);
nonQuotedNodeName
std::string nonQuotedNodeName(NodeType node);
nullNodeName
std::string nullNodeName( NodeType node, std::string extention);

Protected Data Members

Name
dotout

Derived Classes

Name Description
DataMemberPointersToIR

Created with MrDocs