1 #ifndef VCSN_DYN_CONTEXT_PRINTER_HH
2 # define VCSN_DYN_CONTEXT_PRINTER_HH
21 void header(
const std::string& h);
33 std::ostream&
print(std::ostream& o);
35 # define DEFINE(Type) \
36 virtual void visit(const Type& t)
54 std::ostringstream&
os_;
95 #endif // !VCSN_DYN_CONTEXT_PRINTER_HH
std::shared_ptr< detail::automaton_base > automaton
std::ostream & print(std::ostream &o)
Generate the code to compile on o.
std::set< std::string > headers_
Headers to include.
const std::string & linkflags() const
Get the link flags.
std::string linkflags_
Flags to pass to the linker.
std::shared_ptr< const detail::context_base > context
context_printer(std::ostringstream &os)
std::ostringstream os
The output stream: the corresponding C++ snippet to compile.
void header(const std::string &h)
Record that we need an include for this header.
variadic_mul_mixin< rat::ratexpset_impl< Context >> ratexpset
void header_algo(const std::string &algo)
Record that we need an include for this algorithm.
std::set< std::string > headers_late_