ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
etiss::interfaces::dot::ValueOperationTraceGraph Class Reference

#include <Dot.h>

Collaboration diagram for etiss::interfaces::dot::ValueOperationTraceGraph:
Collaboration graph
[legend]

Classes

class  Link
 
class  Node
 

Public Member Functions

void defineNode (const void *id, const std::string &name)
 
void undefineNode (const void *id)
 
Linklink (const void *src, const void *dst)
 
void flush (std::ofstream &out, const std::string &graph)
 

Private Member Functions

void filterTmp (Node *start, Node *tmp, bool hideedge, const std::string &alabels, std::ofstream &out, std::unordered_set< Node * > &nnl, std::unordered_set< std::pair< const void *, const void * >> &dependencies, std::unordered_set< Node * > &declared)
 

Private Attributes

Node start
 
std::unordered_map< const void *, Node * > currentnodes_
 
std::unordered_map< const void *, Node * > currentdstnodes_
 
std::unordered_map< const void *, std::string > nodes_
 

Detailed Description

Definition at line 250 of file Dot.h.

Member Function Documentation

◆ defineNode()

void etiss::interfaces::dot::ValueOperationTraceGraph::defineNode ( const void *  id,
const std::string &  name 
)

Definition at line 59 of file Dot.cpp.

References nodes_.

◆ filterTmp()

void etiss::interfaces::dot::ValueOperationTraceGraph::filterTmp ( Node start,
Node tmp,
bool  hideedge,
const std::string &  alabels,
std::ofstream &  out,
std::unordered_set< Node * > &  nnl,
std::unordered_set< std::pair< const void *, const void * >> &  dependencies,
std::unordered_set< Node * > &  declared 
)
private

Definition at line 129 of file Dot.cpp.

References etiss::interfaces::dot::ValueOperationTraceGraph::Node::id, etiss::interfaces::dot::ValueOperationTraceGraph::Node::links, and nodes_.

Referenced by flush().

Here is the caller graph for this function:

◆ flush()

void etiss::interfaces::dot::ValueOperationTraceGraph::flush ( std::ofstream &  out,
const std::string &  graph 
)

◆ link()

ValueOperationTraceGraph::Link * etiss::interfaces::dot::ValueOperationTraceGraph::link ( const void *  src,
const void *  dst 
)

◆ undefineNode()

void etiss::interfaces::dot::ValueOperationTraceGraph::undefineNode ( const void *  id)

Definition at line 64 of file Dot.cpp.

References currentdstnodes_, currentnodes_, and nodes_.

Member Data Documentation

◆ currentdstnodes_

std::unordered_map<const void *, Node *> etiss::interfaces::dot::ValueOperationTraceGraph::currentdstnodes_
private

Definition at line 286 of file Dot.h.

Referenced by link(), and undefineNode().

◆ currentnodes_

std::unordered_map<const void *, Node *> etiss::interfaces::dot::ValueOperationTraceGraph::currentnodes_
private

Definition at line 285 of file Dot.h.

Referenced by link(), and undefineNode().

◆ nodes_

std::unordered_map<const void *, std::string> etiss::interfaces::dot::ValueOperationTraceGraph::nodes_
private

Definition at line 287 of file Dot.h.

Referenced by defineNode(), filterTmp(), flush(), and undefineNode().

◆ start

Node etiss::interfaces::dot::ValueOperationTraceGraph::start
private

Definition at line 284 of file Dot.h.

Referenced by flush(), and link().


The documentation for this class was generated from the following files: