Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
vcsn::rat::constant< Type, Context > Class Template Reference

#include <fwd.hh>

Inheritance diagram for vcsn::rat::constant< Type, Context >:
Collaboration diagram for vcsn::rat::constant< Type, Context >:

Public Types

using super_t = leaf< Context >
 
using value_t = typename super_t::value_t
 
using type_t = typename super_t::type_t
 
- Public Types inherited from vcsn::rat::leaf< Context >
using super_t = node< Context >
 
- Public Types inherited from vcsn::rat::node< Context >
using context_t = Context
 
using node_t = rat::node< context_t >
 
using value_t = std::shared_ptr< const node_t >
 A ratexp usable with value semantics. More...
 
using values_t = std::vector< value_t >
 
using const_visitor = vcsn::rat::const_visitor< context_t >
 
- Public Types inherited from vcsn::rat::exp
using type_t = rat::type_t
 The possible types of ratexps. More...
 

Public Member Functions

virtual type_t type () const
 The type of this node. More...
 
virtual void accept (typename super_t::const_visitor &v) const
 
- Public Member Functions inherited from vcsn::rat::exp
virtual ~exp ()=default
 
bool is_unary () const
 Whether star, complement. More...
 
bool is_leaf () const
 Whether a leaf of the ratexp tree. More...
 

Detailed Description

template<type_t Type, typename Context>
class vcsn::rat::constant< Type, Context >

Definition at line 94 of file fwd.hh.

Member Typedef Documentation

template<type_t Type, typename Context >
using vcsn::rat::constant< Type, Context >::super_t = leaf<Context>

Definition at line 259 of file ratexp.hh.

template<type_t Type, typename Context >
using vcsn::rat::constant< Type, Context >::type_t = typename super_t::type_t

Definition at line 261 of file ratexp.hh.

template<type_t Type, typename Context >
using vcsn::rat::constant< Type, Context >::value_t = typename super_t::value_t

Definition at line 260 of file ratexp.hh.

Member Function Documentation

template<type_t Type, typename Context >
auto vcsn::rat::constant< Type, Context >::accept ( typename super_t::const_visitor v) const
inlinevirtual

Implements vcsn::rat::node< Context >.

Definition at line 191 of file ratexp.hxx.

Referenced by vcsn::rat::info< Context >::operator()().

template<type_t Type, typename Context >
virtual type_t vcsn::rat::constant< Type, Context >::type ( ) const
inlinevirtual

The type of this node.

Implements vcsn::rat::exp.

Definition at line 263 of file ratexp.hh.


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