Vaucanson 1.4
realtime_decl.hxx
00001 // realtime_decl.hxx: this file is part of the Vaucanson project.
00002 //
00003 // Vaucanson, a generic library for finite state machines.
00004 //
00005 // Copyright (C) 2004, 2005, 2006 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 #ifndef VCSN_ALGORITHMS_REALTIME_DECL_HXX
00018 # define VCSN_ALGORITHMS_REALTIME_DECL_HXX
00019 
00020 # include <vaucanson/algorithms/realtime_decl.hh>
00021 
00022 namespace vcsn {
00023 
00024   template<typename S, typename T>
00025   Element<S, T>
00026   realtime(const Element<S, T>& e)
00027   {
00028     return do_realtime(e.structure(), e);
00029   }
00030 
00031   template <typename S, typename T>
00032   void
00033   realtime_here(Element<S, T>& e)
00034   {
00035     do_realtime_here(e.structure(), e);
00036   }
00037 
00038   template<typename S, typename T>
00039   bool
00040   is_realtime(const Element<S, T>& e)
00041   {
00042     return do_is_realtime(e.structure(), e);
00043   }
00044 
00045 } // vcsn
00046 
00047 #endif // ! VCSN_ALGORITHMS_REALTIME_DECL_HXX