17 #ifndef VCSN_TOOLS_USUAL_IO_HXX
18 # define VCSN_TOOLS_USUAL_IO_HXX
20 # include <vaucanson/tools/usual_io.hh>
29 template<
typename ExpType>
30 template<
typename Auto>
32 usual_converter_poly<ExpType>::
33 operator()(
const Auto& a,
34 const typename Auto::series_set_elt_t& p)
const
36 ExpType e = ExpType(a.structure().series());
38 std::ostringstream os;
43 template<
typename ExpType>
44 template<
typename Auto>
45 typename Auto::series_set_elt_t
46 usual_converter_poly<ExpType>::operator()(
const Auto& a,
47 const std::string& str)
const
49 ExpType e = ExpType(a.structure().series());
51 typename Auto::series_set_elt_t s =
52 typename Auto::series_set_elt_t(a.structure().series());
57 template<
typename Auto>
59 usual_converter_exp::operator()(
const Auto& a,
60 const typename Auto::series_set_elt_t& e)
const
62 std::ostringstream os;
67 template<
typename Auto>
68 typename Auto::series_set_elt_t
69 usual_converter_exp::operator()(
const Auto& a,
const std::string& s)
const
71 typedef typename Auto::series_set_elt_t exp_t;
72 exp_t ret = exp_t(a.structure().series());
81 #endif // ! VCSN_TOOLS_USUAL_IO_HXX