3#ifndef CPROVER_SOLVERS_SMT2_INCREMENTAL_SMT_OPTIONS_H
4#define CPROVER_SOLVERS_SMT2_INCREMENTAL_SMT_OPTIONS_H
30 template <
typename derivedt>
43template <
typename derivedt>
47 std::is_base_of<irept, derivedt>::value &&
48 std::is_base_of<storert<derivedt>, derivedt>::value,
49 "Only irept based classes need to upcast smt_termt to store it.");
52template <
typename derivedt>
55 return static_cast<irept &&
>(std::move(option));
58template <
typename derivedt>
74#define OPTION_ID(the_id) \
75 virtual void visit(const smt_option_##the_id##t &) = 0;
std::string pretty(unsigned indent=0, unsigned max_indent=0) const
irept(const irep_idt &_id)
smt_option_produce_modelst(bool setting)
static const smt_optiont & downcast(const irept &)
static irept upcast(smt_optiont option)
void accept(smt_option_const_downcast_visitort &) const
bool operator==(const smt_optiont &) const
bool operator!=(const smt_optiont &) const
This set of definitions is used as part of the X-macro pattern.