00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef VCSN_ALGEBRA_IMPLEMENTATION_FREE_MONOID_STR_WORDS_HH
00018 # define VCSN_ALGEBRA_IMPLEMENTATION_FREE_MONOID_STR_WORDS_HH
00019
00020 # include <string>
00021 # include <vaucanson/algebra/implementation/free_monoid/words.hh>
00022 # include <vaucanson/algebra/implementation/alphabets/alphabet_set.hh>
00023
00024 namespace vcsn {
00025
00026 namespace algebra {
00027
00028
00029
00030
00031
00032 template <typename A>
00033 void
00034 op_in_mul(const algebra::FreeMonoid<A>& s,
00035 std::basic_string<typename A::letter_t>& dst,
00036 const std::basic_string<typename A::letter_t>& src);
00037
00038 template<typename A>
00039 std::basic_string<typename A::letter_t>
00040 op_mul(const algebra::FreeMonoid<A>& s,
00041 const std::basic_string<typename A::letter_t>& a,
00042 const std::basic_string<typename A::letter_t>& b);
00043
00044 template<typename A>
00045 const std::basic_string<typename A::letter_t>&
00046 identity_value(SELECTOR(algebra::FreeMonoid<A>),
00047 SELECTOR(std::basic_string<typename A::letter_t>));
00048
00049
00050 template<typename A>
00051 std::basic_string<typename A::letter_t>
00052 op_convert(SELECTOR(algebra::FreeMonoid<A>),
00053 SELECTOR(std::basic_string<typename A::letter_t>),
00054 const typename A::letter_t& c);
00055
00056 }
00057
00058 }
00059
00060
00061 # if !defined VCSN_USE_INTERFACE_ONLY || defined VCSN_USE_LIB
00062 # include <vaucanson/algebra/implementation/free_monoid/str_words.hxx>
00063 # endif // VCSN_USE_INTERFACE_ONLY
00064
00065
00066 #endif // ! VCSN_ALGEBRA_IMPLEMENTATION_FREE_MONOID_STR_WORDS_HH