Skip to content
Snippets Groups Projects
Commit 2b7c4a86 authored by Olivier Stasse's avatar Olivier Stasse Committed by olivier stasse
Browse files

[headers] writeGraph simplified

The code is not used.
parent 6302cacc
No related branches found
No related tags found
No related merge requests found
...@@ -113,21 +113,6 @@ bool TimeDependency<Time>::needUpdate(const Time &t1) const { ...@@ -113,21 +113,6 @@ bool TimeDependency<Time>::needUpdate(const Time &t1) const {
template <class Time> template <class Time>
std::ostream &TimeDependency<Time>::writeGraph(std::ostream &os) const { std::ostream &TimeDependency<Time>::writeGraph(std::ostream &os) const {
std::string LeaderLocalName;
std::string LeaderNodeName;
leader.ExtractNodeAndLocalNames(LeaderLocalName, LeaderNodeName);
if (dependencies.size() != 0) {
const typename Dependencies::const_iterator itend = dependencies.end();
for (typename Dependencies::const_iterator it = dependencies.begin();
it != itend; ++it) {
std::string itLocalName, itNodeName;
(*it)->ExtractNodeAndLocalNames(itLocalName, itNodeName);
os << "\"" << itNodeName << "\" -> \"" << LeaderNodeName << "\""
<< std::endl
<< " [ headlabel = \"" << LeaderLocalName << "\" , taillabel = \""
<< itLocalName << "\" ]" << std::endl;
}
}
return os; return os;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment