spot  0.9.1
public.hh
Go to the documentation of this file.
00001 // -*- coding: utf-8 -*-
00002 // Copyright (C) 2009, 2012 Laboratoire de Recherche et Développement
00003 // de l'Epita.
00004 // Copyright (C) 2003, 2004, 2005, 2006 Laboratoire
00005 // d'Informatique de Paris 6 (LIP6), département Systèmes Répartis
00006 // Coopératifs (SRC), Université Pierre 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_TGBAPARSE_PUBLIC_HH
00026 # define SPOT_TGBAPARSE_PUBLIC_HH
00027 
00028 # include "tgba/tgbaexplicit.hh"
00029 // Unfortunately Bison 2.3 uses the same guards in all parsers :(
00030 # undef BISON_LOCATION_HH
00031 # undef BISON_POSITION_HH
00032 # include "tgbaparse/location.hh"
00033 # include "ltlenv/defaultenv.hh"
00034 # include <string>
00035 # include <list>
00036 # include <utility>
00037 # include <iosfwd>
00038 
00039 namespace spot
00040 {
00043 
00044 #ifndef SWIG
00045 
00046   typedef std::pair<tgbayy::location, std::string> tgba_parse_error;
00048   typedef std::list<tgba_parse_error> tgba_parse_error_list;
00049 #else
00050     // Turn parse_error_list into an opaque type for Swig.
00051     struct tgba_parse_error_list {};
00052 #endif
00053 
00073   tgba_explicit_string* tgba_parse(const std::string& filename,
00074                                    tgba_parse_error_list& error_list,
00075                                    bdd_dict* dict,
00076                                    ltl::environment& env
00077                                    = ltl::default_environment::instance(),
00078                                    ltl::environment& envacc
00079                                    = ltl::default_environment::instance(),
00080                                    bool debug = false);
00081 
00088   bool format_tgba_parse_errors(std::ostream& os,
00089                                 const std::string& filename,
00090                                 tgba_parse_error_list& error_list);
00091 
00093 }
00094 
00095 #endif // SPOT_TGBAPARSE_PUBLIC_HH

Please comment this page and report errors about it on the RefDocComments page.
Generated on Wed May 23 2012 12:06:45 for spot by doxygen 1.7.6.1