CoefficientEval Class Template Reference

Inheritance diagram for CoefficientEval:

Inheritance graph
[legend]
List of all members.

Public Types

typedef ConstantTermEval<
Series, T, Dispatch > 
self_t
typedef Element< Series, T
>::semiring_elt_t 
semiring_elt_t
typedef std::pair< semiring_elt_t,
Element< Series, T > > 
return_type
typedef semiring_elt_t::value_t semiring_elt_value_t
typedef T::monoid_elt_value_t monoid_elt_value_t

Public Member Functions

 CoefficientEval (const Element< Series, T > &exp)
semiring_elt_t one ()
semiring_elt_t zero ()
 MATCH__ (Product, lhs, rhs)
END MATCH__ (Sum, lhs, rhs)
END MATCH_ (Star, node)
END MATCH__ (LeftWeight, w, node)
END MATCH__ (RightWeight, node, w)
END MATCH_ (Constant, m)
END MATCH (Zero)
END MATCH (One)
std::pair< Element< Series,
T >::semiring_elt_t, Element<
Series, T > > 
match (const T &ast)
 Effectively performs the match.

Detailed Description

template<class Series, class T, class Dispatch>
class vcsn::algebra::CoefficientEval< Series, T, Dispatch >

Definition at line 29 of file krat_coefficient.hxx.


Member Function Documentation

std::pair< Element< Series, T >::semiring_elt_t, Element< Series, T > > match const T &  ast  )  [inherited]
 

Effectively performs the match.

Parameters:
ast The object to perform the match on.
See also:
DispatchVisitor::DispatchVisitor

Referenced by vcsn::algebra::coefficient().


Generated on Sat Jul 29 17:31:36 2006 for Vaucanson by  doxygen 1.4.6