Vaucanson
1.4.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
vaucanson
tools
xml_display.hxx
Go to the documentation of this file.
1
// xml_display.hxx: this file is part of the Vaucanson project.
2
//
3
// Vaucanson, a generic library for finite state machines.
4
//
5
// Copyright (C) 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_XML_DISPLAY_HXX
18
# define VCSN_TOOLS_XML_DISPLAY_HXX
19
28
# include <ostream>
29
# include <string>
30
31
# include <vaucanson/automata/concept/automata_base.hh>
32
# include <
vaucanson/tools/xml_dump.hh
>
33
# include <
vaucanson/tools/out_display.hh
>
34
35
namespace
vcsn {
36
37
namespace
tools {
38
39
template
<
class
S,
class
T>
40
bool
41
xml_display(
const
Element<S, T>& a,
42
const
std::string& name,
43
const
bool
bg,
44
const
char
*
const
argv[])
45
{
46
return
out_display(a.structure(), a.value(),
47
a, name, bg, argv,
48
xml_dump<Element<S, T> >);
49
}
50
51
}
// End of namespace tools.
52
53
}
// End of namespace vcsn.
54
55
#endif // ! VCSN_TOOLS_XML_DISPLAY_HXX
Generated on Sat Jul 14 2012 18:46:41 for Vaucanson by
1.8.1.1