spot
0.9.1
|
00001 // -*- coding: utf-8 -*- 00002 // Copyright (C) 2010, 2011, 2012 Laboratoire de Recherche et 00003 // Développement de l'Epita (LRDE). 00004 // Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6), 00005 // département Systèmes Répartis Coopératifs (SRC), Université Pierre 00006 // et Marie Curie. 00007 // 00008 // This file is part of Spot, a model checking library. 00009 // 00010 // Spot is free software; you can redistribute it and/or modify it 00011 // under the terms of the GNU General Public License as published by 00012 // the Free Software Foundation; either version 2 of the License, or 00013 // (at your option) any later version. 00014 // 00015 // Spot is distributed in the hope that it will be useful, but WITHOUT 00016 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 00017 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 00018 // License for more details. 00019 // 00020 // You should have received a copy of the GNU General Public License 00021 // along with Spot; see the file COPYING. If not, write to the Free 00022 // Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 00023 // 02111-1307, USA. 00024 00025 #ifndef SPOT_LTLVISIT_TOSTRING_HH 00026 # define SPOT_LTLVISIT_TOSTRING_HH 00027 00028 #include <ltlast/formula.hh> 00029 #include <iosfwd> 00030 00031 namespace spot 00032 { 00033 namespace ltl 00034 { 00037 00045 std::ostream& 00046 to_string(const formula* f, std::ostream& os, bool full_parent = false, 00047 bool ratexp = false); 00048 00055 std::string 00056 to_string(const formula* f, bool full_parent = false, bool ratexp = false); 00057 00065 std::ostream& 00066 to_utf8_string(const formula* f, std::ostream& os, bool full_parent = false, 00067 bool ratexp = false); 00068 00075 std::string 00076 to_utf8_string(const formula* f, bool full_parent = false, 00077 bool ratexp = false); 00078 00084 std::ostream& to_spin_string(const formula* f, std::ostream& os, 00085 bool full_parent = false); 00086 00091 std::string to_spin_string(const formula* f, bool full_parent = false); 00092 00094 } 00095 } 00096 00097 #endif // SPOT_LTLVISIT_TOSTRING_HH