Vcsn  2.3
Be Rational
visitor.hh File Reference
Include dependency graph for visitor.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  vcsn::rat::const_visitor< Context >
 

Namespaces

 vcsn
 
 vcsn::rat
 

Macros

#define DEFINE(Type)
 
#define VCSN_RAT_VISIT(Type, Val)
 
#define VCSN_RAT_UNSUPPORTED(Type)
 

Macro Definition Documentation

#define DEFINE (   Type)
Value:
using Type ## _t = Type<context_t>; \
virtual void visit(const Type ## _t& v)
return v
Definition: multiply.hh:361

Definition at line 46 of file visitor.hh.

#define VCSN_RAT_UNSUPPORTED (   Type)
Value:
VCSN_RAT_VISIT(Type, e) \
{ \
raise(me(), ": operator " #Type " not supported: ", \
to_string(rs_, e.shared_from_this())); \
}
#define VCSN_RAT_VISIT(Type, Val)
Definition: visitor.hh:71
std::string to_string(identities i)
Wrapper around operator<<.
Definition: identities.cc:41

Definition at line 75 of file visitor.hh.

#define VCSN_RAT_VISIT (   Type,
  Val 
)
Value:
using Type ## _t = typename super_t::Type ## _t; \
void visit(const Type ## _t& Val) override

Definition at line 71 of file visitor.hh.