Static Value-Flow Analysis
|
#include <GraphWriter.h>
Public Member Functions | |
GraphWriter (std::ofstream &o, const GraphType &g, bool SN) | |
void | writeGraph (const std::string &Title="") |
void | writeHeader (const std::string &Title) |
void | writeFooter () |
void | writeNodes () |
bool | isNodeHidden (NodeRef Node) |
void | writeNode (NodeRef Node) |
void | writeEdge (NodeRef Node, unsigned edgeidx, child_iterator EI) |
void | emitSimpleNode (const void *ID, const std::string &Attr, const std::string &Label, unsigned NumEdgeSources=0, const std::vector< std::string > *EdgeSourceLabels=nullptr) |
emitSimpleNode - Outputs a simple (non-record) node | |
void | emitEdge (const void *SrcNodeID, int SrcNodePort, const void *DestNodeID, int DestNodePort, const std::string &Attrs) |
emitEdge - Output an edge from a simple node into the graph... | |
std::ofstream & | getOStream () |
Private Types | |
using | DOTTraits = DOTGraphTraits< GraphType > |
using | GTraits = GenericGraphTraits< GraphType > |
using | NodeRef = typename GTraits::NodeRef |
using | node_iterator = typename GTraits::nodes_iterator |
using | child_iterator = typename GTraits::ChildIteratorType |
Private Member Functions | |
bool | getEdgeSourceLabels (std::stringstream &O2, NodeRef Node) |
Private Attributes | |
std::ofstream & | O |
const GraphType & | G |
DOTTraits | DTraits |
Definition at line 62 of file GraphWriter.h.
|
private |
Definition at line 71 of file GraphWriter.h.
|
private |
Definition at line 67 of file GraphWriter.h.
|
private |
Definition at line 68 of file GraphWriter.h.
|
private |
Definition at line 70 of file GraphWriter.h.
|
private |
Definition at line 69 of file GraphWriter.h.
|
inline |
Definition at line 109 of file GraphWriter.h.
|
inline |
emitEdge - Output an edge from a simple node into the graph...
Definition at line 300 of file GraphWriter.h.
|
inline |
emitSimpleNode - Outputs a simple (non-record) node
Definition at line 274 of file GraphWriter.h.
|
inlineprivate |
Definition at line 81 of file GraphWriter.h.
|
inline |
getOStream - Get the raw output stream into the graph file. Useful to write fancy things using addCustomGraphFeatures().
Definition at line 321 of file GraphWriter.h.
|
inline |
Definition at line 165 of file GraphWriter.h.
|
inline |
Definition at line 249 of file GraphWriter.h.
|
inline |
Definition at line 151 of file GraphWriter.h.
|
inline |
Definition at line 114 of file GraphWriter.h.
|
inline |
Definition at line 129 of file GraphWriter.h.
|
inline |
Definition at line 170 of file GraphWriter.h.
|
inline |
Definition at line 157 of file GraphWriter.h.
|
private |
Definition at line 72 of file GraphWriter.h.
|
private |
Definition at line 65 of file GraphWriter.h.
|
private |
Definition at line 64 of file GraphWriter.h.