* src/ltlvisit/dotty.hh (dotty): Move the ostream argument first.

* src/ltlvisit/dump.hh (dump): Likewise.
* src/ltltest/equals.cc, src/ltltest/readltl.cc,
src/ltlvisit/dotty.cc, src/ltlvisit/dump.cc: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2003-08-06 09:43:37 +00:00
parent a5e04a10e6
commit fe2f726863
7 changed files with 18 additions and 11 deletions

View file

@ -101,7 +101,7 @@ namespace spot
};
std::ostream&
dotty(const formula* f, std::ostream& os)
dotty(std::ostream& os, const formula* f)
{
dotty_visitor::map m;
dotty_visitor v(os, m);

View file

@ -9,12 +9,12 @@ namespace spot
namespace ltl
{
/// \brief Write a formula tree using dot's syntax.
/// \param f The formula to translate.
/// \param os The stream where it should be output.
/// \param f The formula to translate.
///
/// \c dot is part of the GraphViz package
/// http://www.research.att.com/sw/tools/graphviz/
std::ostream& dotty(const formula* f, std::ostream& os);
std::ostream& dotty(std::ostream& os, const formula* f);
}
}

View file

@ -69,7 +69,7 @@ namespace spot
};
std::ostream&
dump(const formula* f, std::ostream& os)
dump(std::ostream& os, const formula* f)
{
dump_visitor v(os);
f->accept(v);

View file

@ -9,11 +9,11 @@ namespace spot
namespace ltl
{
/// \brief Dump a formula tree.
/// \param f The formula to dump.
/// \param os The stream where it should be output.
/// \param f The formula to dump.
///
/// This is useful to display a formula when debugging.
std::ostream& dump(const formula* f, std::ostream& os);
std::ostream& dump(std::ostream& os, const formula* f);
}
}