Vcsn  2.2
Be Rational
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 symbol vname () const =0
 A description of the weight type. More...
 
template<typename WeightSet >
auto & as ()
 Extract wrapped typed weight. More...
 
template<typename WeightSet >
auto & as () const
 Extract wrapped typed weight. More...
 

Detailed Description

An abstract weight.

Definition at line 16 of file weight.hh.

Member Function Documentation

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

Extract wrapped typed weight.

Definition at line 24 of file weight.hh.

References vcsn::dyn::detail::dyn_cast().

Here is the call graph for this function:

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

Extract wrapped typed weight.

Definition at line 31 of file weight.hh.

References vcsn::dyn::detail::dyn_cast().

Here is the call graph for this function:

virtual symbol vcsn::dyn::detail::weight_base::vname ( ) const
pure virtual

A description of the weight type.

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


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