krat_exp_parser.hh

Go to the documentation of this file.
00001 // krat_exp_parser.hh: this file is part of the Vaucanson project.
00002 //
00003 // Vaucanson, a generic library for finite state machines.
00004 //
00005 // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2008 The Vaucanson Group.
00006 //
00007 // This program is free software; you can redistribute it and/or
00008 // modify it under the terms of the GNU General Public License
00009 // as published by the Free Software Foundation; either version 2
00010 // of the License, or (at your option) any later version.
00011 //
00012 // The complete GNU General Public Licence Notice can be found as the
00013 // `COPYING' file in the root directory.
00014 //
00015 // The Vaucanson Group consists of people listed in the `AUTHORS' file.
00016 //
00017 
00018 #ifndef VCSN_ALGEBRA_IMPLEMENTATION_SERIES_KRAT_EXP_PARSER_HH
00019 # define VCSN_ALGEBRA_IMPLEMENTATION_SERIES_KRAT_EXP_PARSER_HH
00020 
00036 # include <vector>
00037 # include <string>
00038 
00039 # include <vaucanson/misc/contract.hh>
00040 # include <vaucanson/design_pattern/design_pattern.hh>
00041 # include <vaucanson/algebra/concept/letter.hh>
00042 
00043 namespace vcsn {
00044 
00045   namespace algebra {
00090     template <class S, class T>
00091     std::pair<bool, std::string>
00092     parse(const std::string& from,
00093           Element<S, T>& exp,
00094           const token_representation<typename S::monoid_t::letter_t> tok_rep
00095           = token_representation<typename S::monoid_t::letter_t>(),
00096           bool lex_trace = false,
00097           bool parse_trace = false);
00098 
00102   } // algebra
00103 
00104 } // vcsn
00105 
00106 # if !defined VCSN_USE_INTERFACE_ONLY || defined VCSN_USE_LIB
00107 #  include <vaucanson/algebra/implementation/series/krat_exp_parser.hxx>
00108 # endif // VCSN_USE_INTERFACE_ONLY
00109 
00110 #endif // ! VCSN_ALGEBRA_IMPLEMENTATION_SERIES_KRAT_EXP_PARSER_HH

Generated on Thu Oct 9 20:22:37 2008 for Vaucanson by  doxygen 1.5.1