Vcsn  2.2a
Be Rational
vcsn::dyn::detail::expression_wrapper< ExpSet > Class Template Referencefinal

Aggregate an expression and its expressionset. More...

#include <expression.hh>

Inheritance diagram for vcsn::dyn::detail::expression_wrapper< ExpSet >:
Collaboration diagram for vcsn::dyn::detail::expression_wrapper< ExpSet >:

Public Types

using expressionset_t = ExpSet
 
using super_t = expression_base
 
using expression_t = typename expressionset_t::value_t
 

Public Member Functions

 expression_wrapper (const expressionset_t &rs, const expression_t &r)
 
virtual symbol vname () const override
 A description of the expression type. More...
 
const expressionset_texpressionset () const
 
const expression_t expression () const
 
- Public Member Functions inherited from vcsn::dyn::detail::expression_base
template<typename ExpSet >
auto & as ()
 Extract wrapped typed expression. More...
 
template<typename ExpSet >
auto & as () const
 Extract wrapped typed expression. More...
 

Private Attributes

const expressionset_t expressionset_
 The expression set. More...
 
const expression_t expression_
 The expression. More...
 

Detailed Description

template<typename ExpSet>
class vcsn::dyn::detail::expression_wrapper< ExpSet >

Aggregate an expression and its expressionset.

Definition at line 42 of file expression.hh.

Member Typedef Documentation

template<typename ExpSet >
using vcsn::dyn::detail::expression_wrapper< ExpSet >::expression_t = typename expressionset_t::value_t

Definition at line 47 of file expression.hh.

template<typename ExpSet >
using vcsn::dyn::detail::expression_wrapper< ExpSet >::expressionset_t = ExpSet

Definition at line 45 of file expression.hh.

template<typename ExpSet >
using vcsn::dyn::detail::expression_wrapper< ExpSet >::super_t = expression_base

Definition at line 46 of file expression.hh.

Constructor & Destructor Documentation

template<typename ExpSet >
vcsn::dyn::detail::expression_wrapper< ExpSet >::expression_wrapper ( const expressionset_t rs,
const expression_t r 
)
inline

Definition at line 48 of file expression.hh.

Member Function Documentation

template<typename ExpSet >
const expression_t vcsn::dyn::detail::expression_wrapper< ExpSet >::expression ( ) const
inline
template<typename ExpSet >
virtual symbol vcsn::dyn::detail::expression_wrapper< ExpSet >::vname ( ) const
inlineoverridevirtual

A description of the expression type.

Implements vcsn::dyn::detail::expression_base.

Definition at line 54 of file expression.hh.

References vcsn::dyn::detail::expression_wrapper< ExpSet >::expressionset().

Here is the call graph for this function:

Member Data Documentation

template<typename ExpSet >
const expression_t vcsn::dyn::detail::expression_wrapper< ExpSet >::expression_
private

The expression.

Definition at line 73 of file expression.hh.

Referenced by vcsn::dyn::detail::expression_wrapper< ExpSet >::expression().

template<typename ExpSet >
const expressionset_t vcsn::dyn::detail::expression_wrapper< ExpSet >::expressionset_
private

The expression set.

Definition at line 71 of file expression.hh.

Referenced by vcsn::dyn::detail::expression_wrapper< ExpSet >::expressionset().


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