AlphabetDecorator Class Template Reference

Decorate a given alphabet implementation with meta-symbols. More...

List of all members.

Public Types

typedef L letter_t
typedef T alphabet_impl_t
typedef T::const_iterator const_iterator
typedef T::iterator iterator

Public Member Functions

 AlphabetDecorator ()
 AlphabetDecorator (alphabet_impl_t &alphabet)
 ~AlphabetDecorator ()
letter_t joker () const
letter_t other () const
void insert (L)
unsigned size () const
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
alphabet_impl_talphabet ()
const alphabet_impl_talphabet () const

Detailed Description

template<class L, class T>
class vcsn::algebra::AlphabetDecorator< L, T >

Decorate a given alphabet implementation with meta-symbols.

The meta-symbols are:

The meta-symbols are encoded using the type of the letter with a default value that has to be specified with the traits meta_symbol. For instance, '?' and '#' for char. Yet, if these characters are already present in the alphabet, we look for another character in a incremental way. If, unfortunately, there is not enough place, the program is stopped.

Definition at line 50 of file decorated_alphabet.hh.

Generated on Fri Jul 28 12:36:19 2006 for Vaucanson by  doxygen 1.4.6