Vcsn  2.2
Be Rational
vcsn::dyn::detail::context_base Class Referenceabstract

Template-less root for contexts. More...

#include <context.hh>

Inheritance diagram for vcsn::dyn::detail::context_base:
Collaboration diagram for vcsn::dyn::detail::context_base:

Public Member Functions

virtual symbol vname () const =0
 A description of the context, sufficient to build it. More...
 
template<typename Ctx >
auto & as ()
 Downcast to the exact type. More...
 
template<typename Ctx >
auto & as () const
 Downcast to the exact type. More...
 

Detailed Description

Template-less root for contexts.

Definition at line 18 of file context.hh.

Member Function Documentation

template<typename Ctx >
auto& vcsn::dyn::detail::context_base::as ( )
inline

Downcast to the exact type.

Definition at line 26 of file context.hh.

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

Here is the call graph for this function:

template<typename Ctx >
auto& vcsn::dyn::detail::context_base::as ( ) const
inline

Downcast to the exact type.

Definition at line 33 of file context.hh.

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

Here is the call graph for this function:

virtual symbol vcsn::dyn::detail::context_base::vname ( ) const
pure virtual

A description of the context, sufficient to build it.

Implemented in vcsn::dyn::detail::context_wrapper< Context >.


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