Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
vcsn::dyn::detail::label_wrapper< T > Class Template Reference

Aggregate a label and its labelset. More...

#include <fwd.hh>

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

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 label_t &l, const labelset_t &ls)
 
virtual std::string vname (bool full=true) const override
 A description of the label type. More...
 
const label_t label () const
 
const labelset_tlabelset () const
 
- Public Member Functions inherited from vcsn::dyn::detail::label_base
template<typename LabelSet >
label_wrapper< LabelSet > & as ()
 Extract wrapped typed label. More...
 
template<typename LabelSet >
const label_wrapper< LabelSet > & as () const
 Extract wrapped typed label. More...
 

Protected Attributes

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

Detailed Description

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

Aggregate a label and its labelset.

Definition at line 44 of file fwd.hh.

Member Typedef Documentation

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

Definition at line 47 of file label.hh.

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

Definition at line 45 of file label.hh.

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

Definition at line 46 of file label.hh.

Constructor & Destructor Documentation

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

Definition at line 48 of file label.hh.

Member Function Documentation

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

Definition at line 58 of file label.hh.

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

template<typename T>
const labelset_t& vcsn::dyn::detail::label_wrapper< T >::labelset ( ) const
inline
template<typename T>
virtual std::string vcsn::dyn::detail::label_wrapper< T >::vname ( bool  full = true) const
inlineoverridevirtual

A description of the label type.

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

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

Definition at line 53 of file label.hh.

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

Here is the call graph for this function:

Member Data Documentation

template<typename T>
const label_t vcsn::dyn::detail::label_wrapper< T >::label_
protected

The label.

Definition at line 70 of file label.hh.

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

template<typename T>
const labelset_t vcsn::dyn::detail::label_wrapper< T >::labelset_
protected

The label set.

Definition at line 72 of file label.hh.

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


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