Add a string version of to_lbt_string().

* src/ltlvisit/lbt.cc, src/ltlvisit/lbt.hh (to_lbt_string):
New string version.
This commit is contained in:
Alexandre Duret-Lutz 2012-09-30 16:21:10 +02:00
parent 902dadb898
commit 0fed46b796
2 changed files with 21 additions and 0 deletions

View file

@ -205,5 +205,13 @@ namespace spot
f->accept(v);
return os;
}
std::string
to_lbt_string(const formula* f)
{
std::ostringstream os;
to_lbt_string(f, os);
return os.str();
}
}
}