Vcsn  2.3
Be Rational
vcsn::detail::welement_weight< Weight > Struct Template Reference

Storage for a non-null weight. More...

#include <wet.hh>

Inheritance diagram for vcsn::detail::welement_weight< Weight >:
Collaboration diagram for vcsn::detail::welement_weight< Weight >:

Public Types

using weight_t = Weight
 

Public Member Functions

 welement_weight (const weight_t &w)
 
 welement_weight (weight_t &&w)
 
const weight_tweight () const
 
void weight (const weight_t &k)
 

Private Attributes

weight_t weight_
 

Detailed Description

template<typename Weight>
struct vcsn::detail::welement_weight< Weight >

Storage for a non-null weight.

Definition at line 66 of file wet.hh.

Member Typedef Documentation

template<typename Weight >
using vcsn::detail::welement_weight< Weight >::weight_t = Weight

Definition at line 68 of file wet.hh.

Constructor & Destructor Documentation

template<typename Weight >
vcsn::detail::welement_weight< Weight >::welement_weight ( const weight_t w)
inline

Definition at line 69 of file wet.hh.

template<typename Weight >
vcsn::detail::welement_weight< Weight >::welement_weight ( weight_t &&  w)
inline

Definition at line 72 of file wet.hh.

Member Function Documentation

template<typename Weight >
const weight_t& vcsn::detail::welement_weight< Weight >::weight ( ) const
inline
template<typename Weight >
void vcsn::detail::welement_weight< Weight >::weight ( const weight_t k)
inline

Definition at line 76 of file wet.hh.

References vcsn::detail::welement_weight< Weight >::weight_.

Member Data Documentation

template<typename Weight >
weight_t vcsn::detail::welement_weight< Weight >::weight_
private

Definition at line 79 of file wet.hh.

Referenced by vcsn::detail::welement_weight< Weight >::weight().


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