Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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 std::string vname (bool full=true) const =0
 A description of the context, sufficient to build it. More...
 
template<typename Ctx >
Ctx as ()
 
template<typename Ctx >
const Ctx as () const
 

Static Public Member Functions

static std::string sname (const std::string &vname)
 Convert a dynamic name into a static one. More...
 

Detailed Description

Template-less root for contexts.

Definition at line 17 of file context.hh.

Member Function Documentation

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

Definition at line 30 of file context.hh.

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

Here is the call graph for this function:

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

Definition at line 36 of file context.hh.

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

Here is the call graph for this function:

std::string vcsn::dyn::detail::context_base::sname ( const std::string &  vname)
static

Convert a dynamic name into a static one.

(from vname to sname, i.e., strip generators).

Definition at line 9 of file ctx.cc.

Referenced by vcsn::dyn::make_context().

virtual std::string vcsn::dyn::detail::context_base::vname ( bool  full = true) const
pure virtual

A description of the context, sufficient to build it.

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

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


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