Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
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)

Definition at line 27 of file visitor.hh.

#define VCSN_RAT_UNSUPPORTED (   Type)
Value:
{ \
raise(me(), ": " #Type " is not supported"); \
}
ATTRIBUTE_NORETURN void raise(Args &&...args)
Raise a runtime_error with the concatenation of args as message.
Definition: raise.hh:26
#define VCSN_RAT_VISIT(Type, Val)
Definition: visitor.hh:50

Definition at line 54 of file visitor.hh.

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

Definition at line 50 of file visitor.hh.