18 #ifndef VCSN_XML_XML_HH
19 # define VCSN_XML_XML_HH
40 template <
typename Auto,
typename T,
typename Format>
41 struct automaton_saver_;
43 template <
typename RE,
typename T,
typename Format>
46 template <
typename Auto,
typename T,
typename Format>
47 struct automaton_loader_;
49 template <
typename RE,
typename T,
typename Format>
50 struct regexp_loader_;
59 XML(
const std::string& name =
"");
66 template <
typename Auto,
typename T,
typename Format,
typename Conv>
67 void operator()(std::ostream& out,
68 const vcsn::tools::automaton_saver_<Auto, T, Format>& s,
69 const Conv& conv)
const;
74 template <
typename RE,
typename T,
typename Format,
typename Conv>
75 void operator()(std::ostream& out,
76 const vcsn::tools::regexp_saver_<RE, T, Format>& s,
77 const Conv& conv)
const;
82 template <
typename Auto,
typename T,
typename Format>
83 void operator()(std::istream& in, vcsn::tools::automaton_loader_<Auto, T, Format>& l,
bool check =
true);
88 template <
typename RE,
typename T,
typename Format>
89 void operator()(std::istream& in, vcsn::tools::regexp_loader_<RE, T, Format>& l,
bool check =
true);
98 const std::string name_;
103 # if !defined VCSN_USE_INTERFACE_ONLY || defined VCSN_USE_LIB
104 # include <vaucanson/xml/XML.hxx>
105 # endif // VCSN_USE_INTERFACE_ONLY
107 #endif // ! VCSN_XML_XML_HH