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

vcsn::algebra::MonoidBase Struct Template Reference
[Monoid]

MonoidBase is the base class of all structures that are monoids. More...

Inheritance diagram for vcsn::algebra::MonoidBase:

Inheritance graph
[legend]
List of all members.

Public Methods

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

 MonoidBase ()
 Default constructor is protected since it is an abstract class.

 MonoidBase (const MonoidBase &other)
 Copy constructor is protected since it is an abstract class.


Detailed Description

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

MonoidBase is the base class of all structures that are monoids.

Monoid defines identity for semigroups of mul_kind and zero for semigroup of add_kind.


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