spot  2.12
print.hh
1 // -*- coding: utf-8 -*-
2 // Copyright (C) by the Spot authors, see the AUTHORS file for details.
3 //
4 // This file is part of Spot, a model checking library.
5 //
6 // Spot is free software; you can redistribute it and/or modify it
7 // under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 3 of the License, or
9 // (at your option) any later version.
10 //
11 // Spot is distributed in the hope that it will be useful, but WITHOUT
12 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
14 // License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 #pragma once
20 
21 #include <spot/tl/formula.hh>
22 #include <iosfwd>
23 
24 namespace spot
25 {
28 
34  SPOT_API std::ostream&
35  print_psl(std::ostream& os, formula f, bool full_parent = false);
36 
41  SPOT_API std::string
42  str_psl(formula f, bool full_parent = false);
43 
49  SPOT_API std::ostream&
50  print_utf8_psl(std::ostream& os, formula f,
51  bool full_parent = false);
52 
57  SPOT_API std::string
58  str_utf8_psl(formula f, bool full_parent = false);
59 
65  SPOT_API std::ostream&
66  print_sere(std::ostream& os, formula f, bool full_parent = false);
67 
72  SPOT_API std::string
73  str_sere(formula f, bool full_parent = false);
74 
80  SPOT_API std::ostream&
81  print_utf8_sere(std::ostream& os, formula f,
82  bool full_parent = false);
83 
88  SPOT_API std::string
89  str_utf8_sere(formula f, bool full_parent = false);
90 
96  SPOT_API std::ostream&
97  print_spin_ltl(std::ostream& os, formula f,
98  bool full_parent = false);
99 
104  SPOT_API std::string
105  str_spin_ltl(formula f, bool full_parent = false);
106 
110  SPOT_API std::ostream&
111  print_wring_ltl(std::ostream& os, formula f);
112 
115  SPOT_API std::string
117 
123  SPOT_API std::ostream&
124  print_latex_psl(std::ostream& os, formula f,
125  bool full_parent = false);
126 
132  SPOT_API std::string
133  str_latex_psl(formula f, bool full_parent = false);
134 
140  SPOT_API std::ostream&
141  print_latex_sere(std::ostream& os, formula f,
142  bool full_parent = false);
143 
149  SPOT_API std::string
150  str_latex_sere(formula f, bool full_parent = false);
151 
159  SPOT_API std::ostream&
160  print_sclatex_psl(std::ostream& os, formula f,
161  bool full_parent = false);
162 
169  SPOT_API std::string
170  str_sclatex_psl(formula f, bool full_parent = false);
171 
179  SPOT_API std::ostream&
180  print_sclatex_sere(std::ostream& os, formula f,
181  bool full_parent = false);
182 
189  SPOT_API std::string
190  str_sclatex_sere(formula f, bool full_parent = false);
191 
202  SPOT_API std::ostream&
203  print_lbt_ltl(std::ostream& os, formula f);
204 
214  SPOT_API std::string
217 }
Main class for temporal logic formula.
Definition: formula.hh:732
LTL/PSL formula interface.
std::string str_lbt_ltl(formula f)
Output an LTL formula as a string in LBT's format.
std::string str_sere(formula f, bool full_parent=false)
Convert a SERE formula into a string which is parsable.
std::string str_latex_sere(formula f, bool full_parent=false)
Output a SERE formula as a LaTeX string which is parsable. unless the formula contains automaton oper...
std::ostream & print_sclatex_sere(std::ostream &os, formula f, bool full_parent=false)
Output a SERE formula as a self-contained LaTeX string.
std::string str_utf8_psl(formula f, bool full_parent=false)
Convert a PSL formula into a utf-8 string which is parsable.
std::string str_sclatex_sere(formula f, bool full_parent=false)
Output a SERE formula as a self-contained LaTeX string.
std::ostream & print_lbt_ltl(std::ostream &os, formula f)
Output an LTL formula as a string in LBT's format.
std::ostream & print_latex_psl(std::ostream &os, formula f, bool full_parent=false)
Output a PSL formula as a LaTeX string.
std::string str_spin_ltl(formula f, bool full_parent=false)
Convert an LTL formula into a string parsable by Spin.
std::ostream & print_sere(std::ostream &os, formula f, bool full_parent=false)
Output a SERE formula as a string which is parsable.
std::ostream & print_utf8_psl(std::ostream &os, formula f, bool full_parent=false)
Output a PSL formula as an utf-8 string which is parsable.
std::ostream & print_spin_ltl(std::ostream &os, formula f, bool full_parent=false)
Output an LTL formula as a string parsable by Spin.
std::ostream & print_latex_sere(std::ostream &os, formula f, bool full_parent=false)
Output a SERE formula as a LaTeX string.
std::string str_utf8_sere(formula f, bool full_parent=false)
Convert a SERE formula into a string which is parsable.
std::string str_wring_ltl(formula f)
Convert a formula into a string parsable by Wring.
std::string str_sclatex_psl(formula f, bool full_parent=false)
Output a PSL formula as a self-contained LaTeX string.
std::string str_latex_psl(formula f, bool full_parent=false)
Output a formula as a LaTeX string which is parsable. unless the formula contains automaton operators...
std::ostream & print_psl(std::ostream &os, formula f, bool full_parent=false)
Output a PSL formula as a string which is parsable.
std::ostream & print_sclatex_psl(std::ostream &os, formula f, bool full_parent=false)
Output a PSL formula as a self-contained LaTeX string.
std::ostream & print_wring_ltl(std::ostream &os, formula f)
Output an LTL formula as a string parsable by Wring.
std::string str_psl(formula f, bool full_parent=false)
Convert a PSL formula into a string which is parsable.
std::ostream & print_utf8_sere(std::ostream &os, formula f, bool full_parent=false)
Output a SERE formula as a utf-8 string which is parsable.
Definition: automata.hh:26

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Fri Feb 27 2015 10:00:07 for spot by doxygen 1.9.1