xml_display.hxx

Go to the documentation of this file.
00001 // xml_display.hxx: this file is part of the Vaucanson project.
00002 //
00003 // Vaucanson, a generic library for finite state machines.
00004 //
00005 // Copyright (C) 2005 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_TOOLS_XML_DISPLAY_HXX
00018 # define VCSN_TOOLS_XML_DISPLAY_HXX
00019 
00028 # include <ostream>
00029 # include <string>
00030 
00031 # include <vaucanson/automata/concept/automata_base.hh>
00032 # include <vaucanson/tools/xml_dump.hh>
00033 # include <vaucanson/tools/out_display.hh>
00034 
00035 namespace vcsn {
00036 
00037   namespace tools {
00038 
00039     template <class S, class T>
00040     bool
00041     xml_display(const Element<S, T>& a,
00042                 const std::string& name,
00043                 const bool bg,
00044                 char *const argv[])
00045     {
00046       return out_display(a.structure(), a.value(),
00047                          a, name, bg, argv,
00048                          xml_dump<Element<S, T> >);
00049     }
00050 
00051   } // End of namespace tools.
00052 
00053 } // End of namespace vcsn.
00054 
00055 #endif // ! VCSN_TOOLS_XML_DISPLAY_HXX

Generated on Fri Jul 28 12:18:56 2006 for Vaucanson by  doxygen 1.4.6