* src/ltlvisit/tostring.cc (to_spin_string_visitor): Move to
anonymous namespace.
This commit is contained in:
parent
91b9682bd8
commit
38f7cac8dd
2 changed files with 134 additions and 128 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2004-10-22 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||
|
||||
* src/ltlvisit/tostring.cc (to_spin_string_visitor): Move to
|
||||
anonymous namespace.
|
||||
|
||||
2004-10-21 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||
|
||||
* wrap/python/Makefile.am (_spot_la_SOURCES): Add spot_wrap.h.
|
||||
|
|
|
|||
|
|
@ -185,23 +185,6 @@ namespace spot
|
|||
std::ostream& os_;
|
||||
bool top_level_;
|
||||
};
|
||||
}
|
||||
|
||||
std::ostream&
|
||||
to_string(const formula* f, std::ostream& os)
|
||||
{
|
||||
to_string_visitor v(os);
|
||||
f->accept(v);
|
||||
return os;
|
||||
}
|
||||
|
||||
std::string
|
||||
to_string(const formula* f)
|
||||
{
|
||||
std::ostringstream os;
|
||||
to_string(f, os);
|
||||
return os.str();
|
||||
}
|
||||
|
||||
class to_spin_string_visitor : public to_string_visitor
|
||||
{
|
||||
|
|
@ -330,6 +313,24 @@ namespace spot
|
|||
}
|
||||
};
|
||||
|
||||
} // anonymous
|
||||
|
||||
std::ostream&
|
||||
to_string(const formula* f, std::ostream& os)
|
||||
{
|
||||
to_string_visitor v(os);
|
||||
f->accept(v);
|
||||
return os;
|
||||
}
|
||||
|
||||
std::string
|
||||
to_string(const formula* f)
|
||||
{
|
||||
std::ostringstream os;
|
||||
to_string(f, os);
|
||||
return os.str();
|
||||
}
|
||||
|
||||
std::ostream&
|
||||
to_spin_string(const formula* f, std::ostream& os)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue