Vcsn  2.2
Be Rational
vcsn::dyn::detail::label_wrapper< LabelSet > Class Template Reference

Aggregate a label and its labelset. More...

#include <fwd.hh>

Inheritance diagram for vcsn::dyn::detail::label_wrapper< LabelSet >:
Collaboration diagram for vcsn::dyn::detail::label_wrapper< LabelSet >:

Public Types

using labelset_t = LabelSet
 
using super_t = label_base
 
using label_t = typename labelset_t::value_t
 

Public Member Functions

 label_wrapper (const labelset_t &ls, const label_t &l)
 
virtual symbol vname () const override
 A description of the label type. More...
 
const labelset_tlabelset () const
 
const label_t label () const
 
- Public Member Functions inherited from vcsn::dyn::detail::label_base
template<typename LabelSet >
auto & as ()
 Extract wrapped typed label. More...
 
template<typename LabelSet >
auto & as () const
 Extract wrapped typed label. More...
 

Private Attributes

const labelset_t labelset_
 The label set. More...
 
const label_t label_
 The label. More...
 

Detailed Description

template<typename LabelSet>
class vcsn::dyn::detail::label_wrapper< LabelSet >

Aggregate a label and its labelset.

Definition at line 59 of file fwd.hh.

Member Typedef Documentation

template<typename LabelSet >
using vcsn::dyn::detail::label_wrapper< LabelSet >::label_t = typename labelset_t::value_t

Definition at line 44 of file label.hh.

template<typename LabelSet >
using vcsn::dyn::detail::label_wrapper< LabelSet >::labelset_t = LabelSet

Definition at line 42 of file label.hh.

template<typename LabelSet >
using vcsn::dyn::detail::label_wrapper< LabelSet >::super_t = label_base

Definition at line 43 of file label.hh.

Constructor & Destructor Documentation

template<typename LabelSet >
vcsn::dyn::detail::label_wrapper< LabelSet >::label_wrapper ( const labelset_t ls,
const label_t l 
)
inline

Definition at line 46 of file label.hh.

Member Function Documentation

template<typename LabelSet >
const label_t vcsn::dyn::detail::label_wrapper< LabelSet >::label ( ) const
inline

Definition at line 61 of file label.hh.

References vcsn::dyn::detail::label_wrapper< LabelSet >::label_.

template<typename LabelSet >
const labelset_t& vcsn::dyn::detail::label_wrapper< LabelSet >::labelset ( ) const
inline
template<typename LabelSet >
virtual symbol vcsn::dyn::detail::label_wrapper< LabelSet >::vname ( ) const
inlineoverridevirtual

A description of the label type.

Implements vcsn::dyn::detail::label_base.

Definition at line 51 of file label.hh.

References vcsn::dyn::detail::label_wrapper< LabelSet >::labelset().

Here is the call graph for this function:

Member Data Documentation

template<typename LabelSet >
const label_t vcsn::dyn::detail::label_wrapper< LabelSet >::label_
private

The label.

Definition at line 70 of file label.hh.

Referenced by vcsn::dyn::detail::label_wrapper< LabelSet >::label().

template<typename LabelSet >
const labelset_t vcsn::dyn::detail::label_wrapper< LabelSet >::labelset_
private

The label set.

Definition at line 68 of file label.hh.

Referenced by vcsn::dyn::detail::label_wrapper< LabelSet >::labelset().


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