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

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 std::string vname (bool full=true) const override
 A description of the context, sufficient to build it. More...
 
const context_t context () const
 
- Public Member Functions inherited from vcsn::dyn::detail::context_base
template<typename Ctx >
Ctx as ()
 
template<typename Ctx >
const Ctx as () const
 

Protected Attributes

const context_t context_
 The context. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from vcsn::dyn::detail::context_base
static std::string sname (const std::string &vname)
 Convert a dynamic name into a static one. More...
 

Detailed Description

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

A wrapped typed context.

Definition at line 44 of file context.hh.

Member Typedef Documentation

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

Definition at line 47 of file context.hh.

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

Definition at line 48 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 50 of file context.hh.

Member Function Documentation

template<typename Context >
virtual std::string vcsn::dyn::detail::context_wrapper< Context >::vname ( bool  full = true) const
inlineoverridevirtual

A description of the context, sufficient to build it.

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

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

Definition at line 54 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_
protected

The context.

Definition at line 66 of file context.hh.

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


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