Vaucanson  1.4.1
dot_display.hxx
Go to the documentation of this file.
1 // dot_display.hxx: this file is part of the Vaucanson project.
2 //
3 // Vaucanson, a generic library for finite state machines.
4 //
5 // Copyright (C) 2004, 2005, 2007 The Vaucanson Group.
6 //
7 // This program is free software; you can redistribute it and/or
8 // modify it under the terms of the GNU General Public License
9 // as published by the Free Software Foundation; either version 2
10 // of the License, or (at your option) any later version.
11 //
12 // The complete GNU General Public Licence Notice can be found as the
13 // `COPYING' file in the root directory.
14 //
15 // The Vaucanson Group consists of people listed in the `AUTHORS' file.
16 //
17 #ifndef VCSN_TOOLS_DOT_DISPLAY_HXX
18 # define VCSN_TOOLS_DOT_DISPLAY_HXX
19 
29 
30 # include <vaucanson/automata/concept/automata_base.hh>
31 # include <vaucanson/tools/dot_dump.hh>
32 
33 # include <ostream>
34 # include <string>
36 
37 namespace vcsn {
38 
39  namespace tools {
40 
41  template <class S, class T>
42  bool
43  dot_display(const Element<S, T>& a,
44  const std::string& name,
45  const bool bg,
46  const char *const argv[])
47  {
48  return out_display(a.structure(), a.value(),
49  a, name, bg, argv,
50  dot_dump<Element<S, T> >);
51  }
52 
53  } // End of namespace tools.
54 
55 } // End of namespace vcsn.
56 
57 #endif // ! VCSN_TOOLS_DOT_DISPLAY_HXX