00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 #ifndef VCSN_ALGEBRA_IMPLEMENTATION_ALPHABETS_SET_ALPHABET_HH
00018 # define VCSN_ALGEBRA_IMPLEMENTATION_ALPHABETS_SET_ALPHABET_HH
00019 
00020 # include <vaucanson/algebra/implementation/alphabets/alphabets.hh>
00021 
00022 namespace vcsn {
00023 
00024   namespace algebra {
00025 
00029     
00030 
00031 
00032 
00034     template<typename L>
00035     struct alphabet_traits<AlphabetSet<L>, std::set<L> >
00036     {
00038       typedef L                 letter_t;
00039     };
00040 
00044   } 
00045 
00049   
00050 
00051 
00052 
00058   template<typename L>
00059   struct MetaElement<algebra::AlphabetSet<L>, std::set<L> >
00060     : MetaElement<algebra::AlphabetSetBase<algebra::AlphabetSet<L> >, std::set<L> >
00061   {
00063     static const bool dynamic_value = true;
00064   };
00065 
00069   template <typename L>
00070   size_t op_max_size(const algebra::AlphabetSet<L>&, const std::set<L>&);
00071 
00072   template <typename L>
00073   bool op_contains(const algebra::AlphabetSet<L>& s, const std::set<L>& a);
00074 
00075   template <typename L>
00076   bool op_is_finite(const algebra::AlphabetSet<L>& s, const std::set<L>& a);
00077 
00078   template <typename L>
00079   bool op_contains_e(const algebra::AlphabetSet<L>& s, const std::set<L>& a,
00080                      const L& v);
00081 
00082 } 
00083 
00084 # ifndef VCSN_USE_INTERFACE_ONLY
00085 #  include <vaucanson/algebra/implementation/alphabets/set_alphabet.hxx>
00086 # endif // VCSN_USE_INTERFACE_ONLY
00087 
00088 #endif // ! VCSN_ALGEBRA_IMPLEMENTATION_ALPHABETS_SET_ALPHABET_HH