6 #include <boost/optional.hpp>
26 if (
value.is_initialized()) this->value =
value.get();
32 return boost::get<boost::spirit::unused_type>(&
value) ==
nullptr;
36 if (f->is_true())
value =
true;
37 else if (f->is_false())
value =
false;
42 os <<
"(:" << attr.
key;
Attribute(const std::string &key, const boost::optional< AttributeValue > &value)
types::AttributeValue AttributeValue
Attribute(const std::string &key, const AttributeValue &value)
Attribute(const std::string &key)
carl::mpl_variant_of< AttributeTypes >::type AttributeValue
Variant type for all attributes.
std::ostream & operator<<(std::ostream &os, OptimizationType ot)
Class to create the formulas for axioms.
carl::Formula< Poly > FormulaT