Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

vcsn::algebra::FreeMonoidBase Struct Template Reference
[Freemonoid]

Structural element for free monoid. More...

Inheritance diagram for vcsn::algebra::FreeMonoidBase:

Inheritance graph
[legend]
List of all members.

Public Types

typedef virtual_types< Self
>::alphabet_t 
alphabet_t
typedef alphabet_t::letter_t letter_t

Public Methods

alphabet_talphabet ()
const alphabet_talphabet () const
template<typename T> Element< Self, T > identity (SELECTOR(T)) const
 returns the identity of the monoid (if mul_kind).

template<typename T> Element< Self, T > zero (SELECTOR(T)) const
 returns the zero of the monoid (if add_kind).


Protected Methods

 FreeMonoidBase ()
 FreeMonoidBase (const FreeMonoidBase &m)

Detailed Description

template<class Self>
struct vcsn::algebra::FreeMonoidBase< Self >

Structural element for free monoid.

FreeMonoidBase is the mother class of free monoids. A free monoid A* is a monoid generated by an alphabet A and which provides a way of iterating through letters of words.


Member Typedef Documentation

typedef virtual_types<Self>::alphabet_t alphabet_t
 

The type of the alphabet A.

typedef alphabet_t::letter_t letter_t
 

The type of letter hold by the alphabet.


Constructor & Destructor Documentation

FreeMonoidBase   [protected]
 

Default constructor accessor.

FreeMonoidBase const FreeMonoidBase< Self > &    m [protected]
 

Copy constructor accessor.


Member Function Documentation

FreeMonoidBase< Self >::alphabet_t & alphabet  
 

Alphabet's accessor.

Reimplemented in vcsn::algebra::FreeMonoid.

const FreeMonoidBase< Self >::alphabet_t & alphabet   const
 

Alphabet's const accessor.

Reimplemented in vcsn::algebra::FreeMonoid.


Generated on Wed Jul 2 19:09:12 2003 for Vaucanson by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002