Vcsn  2.4
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:70
std::string to_string(identities i)
Wrapper around operator<<.
Definition: identities.cc:42

Definition at line 74 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 70 of file visitor.hh.