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

MetaElement< algebra::FreeMonoidBase< Self >, T > Struct Template Reference
[Freemonoid]

Element of a free monoid ie words. More...

Inheritance diagram for MetaElement< algebra::FreeMonoidBase< Self >, T >:

Inheritance graph
[legend]
List of all members.

Public Types

typedef op_begin_traits< Self,
T >::ret_t 
iterator
 iterator over the word.

typedef op_begin_traits< Self,
T >::const_ret_t 
const_iterator
 iterator over the word. (const version)

typedef op_rbegin_traits<
Self, T >::ret_t 
reverse_iterator
 iterator over the mirror image of the word.

typedef op_rbegin_traits<
Self, T >::const_ret_t 
const_reverse_iterator
 iterator over the mirror image of the word. (const version)


Public Member Functions

size_t length () const
 returns the lenght of the word.

void mirror ()
 in-place mirror transformation.

iterator begin ()
 beginning of the word.

const_iterator begin () const
 beginning of the word. (const version)

reverse_iterator rbegin ()
 beginning of the mirror image of the word.

const_reverse_iterator rbegin () const
 beginning of the mirror image of the word. (const version)

iterator end ()
 end of the word.

const_iterator end () const
 end of the word (const version).

reverse_iterator rend ()
 end of the mirror image of the word.

const_reverse_iterator rend () const
 end of the mirror image of the word. (const version)


Protected Member Functions

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

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


Detailed Description

template<class Self, typename T>
struct vcsn::MetaElement< algebra::FreeMonoidBase< Self >, T >

Element of a free monoid ie words.


Generated on Fri Jul 11 19:43:39 2003 for Vaucanson by doxygen 1.3.2