OpenASIP  2.0
Public Member Functions | Private Attributes | List of all members
ProgramDependenceGraph::label_writer< Name > Class Template Reference
Collaboration diagram for ProgramDependenceGraph::label_writer< Name >:
Collaboration graph

Public Member Functions

 label_writer (Name _name)
 
template<class VertexOrEdge >
void operator() (std::ostream &out, const VertexOrEdge &v) const
 

Private Attributes

Name name
 

Detailed Description

template<class Name>
class ProgramDependenceGraph::label_writer< Name >

Definition at line 238 of file ProgramDependenceGraph.hh.

Constructor & Destructor Documentation

◆ label_writer()

template<class Name >
ProgramDependenceGraph::label_writer< Name >::label_writer ( Name  _name)
inline

Definition at line 240 of file ProgramDependenceGraph.hh.

240 : name(_name) {}

Member Function Documentation

◆ operator()()

template<class Name >
template<class VertexOrEdge >
void ProgramDependenceGraph::label_writer< Name >::operator() ( std::ostream &  out,
const VertexOrEdge &  v 
) const
inline

Definition at line 242 of file ProgramDependenceGraph.hh.

243  {
244  out << "[" << name[v]->dotString() << "]";
245  //"[label=\"" << name[v]->toString() << "\"]";
246  }

References ProgramDependenceGraph::label_writer< Name >::name.

Member Data Documentation

◆ name

template<class Name >
Name ProgramDependenceGraph::label_writer< Name >::name
private

The documentation for this class was generated from the following file:
ProgramDependenceGraph::label_writer::name
Name name
Definition: ProgramDependenceGraph.hh:248