Vcsn  2.2
Be Rational
vcsn::dyn::detail::context_wrapper< Context > Class Template Referencefinal

A wrapped typed context. More...

#include <context.hh>

Inheritance diagram for vcsn::dyn::detail::context_wrapper< Context >:
Collaboration diagram for vcsn::dyn::detail::context_wrapper< Context >:

Public Types

using context_t = Context
 
using super_t = context_base
 

Public Member Functions

 context_wrapper (const context_t &context)
 
virtual symbol vname () const override
 A description of the context, sufficient to build it. More...
 
const context_tcontext () const
 
- Public Member Functions inherited from vcsn::dyn::detail::context_base
template<typename Ctx >
auto & as ()
 Downcast to the exact type. More...
 
template<typename Ctx >
auto & as () const
 Downcast to the exact type. More...
 

Private Attributes

const context_t context_
 The context. More...
 

Detailed Description

template<typename Context>
class vcsn::dyn::detail::context_wrapper< Context >

A wrapped typed context.

Definition at line 41 of file context.hh.

Member Typedef Documentation

template<typename Context >
using vcsn::dyn::detail::context_wrapper< Context >::context_t = Context

Definition at line 44 of file context.hh.

template<typename Context >
using vcsn::dyn::detail::context_wrapper< Context >::super_t = context_base

Definition at line 45 of file context.hh.

Constructor & Destructor Documentation

template<typename Context >
vcsn::dyn::detail::context_wrapper< Context >::context_wrapper ( const context_t context)
inline

Definition at line 47 of file context.hh.

Member Function Documentation

template<typename Context >
virtual symbol vcsn::dyn::detail::context_wrapper< Context >::vname ( ) const
inlineoverridevirtual

A description of the context, sufficient to build it.

Implements vcsn::dyn::detail::context_base.

Definition at line 51 of file context.hh.

References vcsn::dyn::detail::context_wrapper< Context >::context().

Here is the call graph for this function:

Member Data Documentation

template<typename Context >
const context_t vcsn::dyn::detail::context_wrapper< Context >::context_
private

The context.

Definition at line 63 of file context.hh.

Referenced by vcsn::dyn::detail::context_wrapper< Context >::context().


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