Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
vcsn::dyn::detail::weight_base Class Referenceabstract

An abstract weight. More...

#include <weight.hh>

Inheritance diagram for vcsn::dyn::detail::weight_base:
Collaboration diagram for vcsn::dyn::detail::weight_base:

Public Member Functions

virtual std::string vname (bool full=true) const =0
 A description of the weight type. More...
 
template<typename WeightSet >
weight_wrapper< WeightSet > & as ()
 Extract wrapped typed weight. More...
 
template<typename WeightSet >
const weight_wrapper< WeightSet > & as () const
 Extract wrapped typed weight. More...
 

Detailed Description

An abstract weight.

Definition at line 17 of file weight.hh.

Member Function Documentation

template<typename WeightSet >
weight_wrapper<WeightSet>& vcsn::dyn::detail::weight_base::as ( )
inline

Extract wrapped typed weight.

Definition at line 27 of file weight.hh.

template<typename WeightSet >
const weight_wrapper<WeightSet>& vcsn::dyn::detail::weight_base::as ( ) const
inline

Extract wrapped typed weight.

Definition at line 34 of file weight.hh.

virtual std::string vcsn::dyn::detail::weight_base::vname ( bool  full = true) const
pure virtual

A description of the weight type.

Parameters
fullwhether to include the genset. if false, same as sname.

Implemented in vcsn::dyn::detail::weight_wrapper< T >.


The documentation for this class was generated from the following file: