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

Aggregate a expansion and its expansionset. More...

#include <expansion.hh>

Inheritance diagram for vcsn::dyn::detail::expansion_wrapper< ExpansionSet >:
Collaboration diagram for vcsn::dyn::detail::expansion_wrapper< ExpansionSet >:

Public Types

using expansionset_t = ExpansionSet
 
using super_t = expansion_base
 
using expansion_t = typename expansionset_t::value_t
 

Public Member Functions

 expansion_wrapper (const expansion_t &expansion, const expansionset_t &expansionset)
 
virtual ~expansion_wrapper ()
 
virtual std::string vname (bool full=true) const override
 A description of the expansion. More...
 
const expansion_t expansion () const
 
const expansionset_texpansionset () const
 
- Public Member Functions inherited from vcsn::dyn::detail::expansion_base
template<typename ExpansionSet >
expansion_wrapper< ExpansionSet > & as ()
 
template<typename ExpansionSet >
const expansion_wrapper
< ExpansionSet > & 
as () const
 

Protected Attributes

const expansion_t expansion_
 The expansion. More...
 
const expansionset_t expansionset_
 The expansion set. More...
 

Detailed Description

template<typename ExpansionSet>
class vcsn::dyn::detail::expansion_wrapper< ExpansionSet >

Aggregate a expansion and its expansionset.

Definition at line 37 of file expansion.hh.

Member Typedef Documentation

template<typename ExpansionSet>
using vcsn::dyn::detail::expansion_wrapper< ExpansionSet >::expansion_t = typename expansionset_t::value_t

Definition at line 42 of file expansion.hh.

template<typename ExpansionSet>
using vcsn::dyn::detail::expansion_wrapper< ExpansionSet >::expansionset_t = ExpansionSet

Definition at line 40 of file expansion.hh.

template<typename ExpansionSet>
using vcsn::dyn::detail::expansion_wrapper< ExpansionSet >::super_t = expansion_base

Definition at line 41 of file expansion.hh.

Constructor & Destructor Documentation

template<typename ExpansionSet>
vcsn::dyn::detail::expansion_wrapper< ExpansionSet >::expansion_wrapper ( const expansion_t expansion,
const expansionset_t expansionset 
)
inline

Definition at line 43 of file expansion.hh.

template<typename ExpansionSet>
virtual vcsn::dyn::detail::expansion_wrapper< ExpansionSet >::~expansion_wrapper ( )
inlinevirtual

Definition at line 48 of file expansion.hh.

Member Function Documentation

template<typename ExpansionSet>
const expansion_t vcsn::dyn::detail::expansion_wrapper< ExpansionSet >::expansion ( ) const
inline
template<typename ExpansionSet>
const expansionset_t& vcsn::dyn::detail::expansion_wrapper< ExpansionSet >::expansionset ( ) const
inline
template<typename ExpansionSet>
virtual std::string vcsn::dyn::detail::expansion_wrapper< ExpansionSet >::vname ( bool  full = true) const
inlineoverridevirtual

A description of the expansion.

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

Implements vcsn::dyn::detail::expansion_base.

Definition at line 50 of file expansion.hh.

References vcsn::dyn::detail::expansion_wrapper< ExpansionSet >::expansionset().

Here is the call graph for this function:

Member Data Documentation

template<typename ExpansionSet>
const expansion_t vcsn::dyn::detail::expansion_wrapper< ExpansionSet >::expansion_
protected

The expansion.

Definition at line 67 of file expansion.hh.

Referenced by vcsn::dyn::detail::expansion_wrapper< ExpansionSet >::expansion().

template<typename ExpansionSet>
const expansionset_t vcsn::dyn::detail::expansion_wrapper< ExpansionSet >::expansionset_
protected

The expansion set.

Definition at line 69 of file expansion.hh.

Referenced by vcsn::dyn::detail::expansion_wrapper< ExpansionSet >::expansionset().


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