![]() |
Vcsn
2.1
Be Rational
|
Template-less root for contexts. More...
#include <context.hh>
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... | |
Template-less root for contexts.
Definition at line 18 of file context.hh.
|
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().
|
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().
|
pure virtual |
A description of the context, sufficient to build it.
Implemented in vcsn::dyn::detail::context_wrapper< Context >.