20 void header(
const std::string& h);
32 std::ostream&
print(std::ostream& o);
34 # define DEFINE(Type) \
35 virtual void visit(const Type& t)
55 std::ostringstream&
os_;
weightset_mixin< detail::polynomialset_impl< Context, Kind >> polynomialset
weightset_mixin< rat::expressionset_impl< Context >> expressionset
std::set< std::string > headers_late_
void header(const std::string &h)
Record that we need an include for this header.
std::ostream & print(std::ostream &o)
Generate the code to compile on o.
std::string linkflags_
Flags to pass to the linker.
weightset_mixin< detail::tupleset_impl< LabelSets... >> tupleset
context_printer(std::ostringstream &os)
const std::string & linkflags() const
Get the link flags.
std::ostringstream os
The output stream: the corresponding C++ snippet to compile.
rat::expansionset< ExpSet > expansionset
void header_algo(const std::string &algo)
Record that we need an include for this algorithm.
std::set< std::string > headers_
Headers to include.