29 #ifndef DATATOOLS_CONFIGURATION_VARIANT_DEPENDENCY_LOGIC_PARSING_H 30 #define DATATOOLS_CONFIGURATION_VARIANT_DEPENDENCY_LOGIC_PARSING_H 39 #include <boost/variant.hpp> 43 namespace configuration {
51 typedef boost::variant<
52 boost::recursive_wrapper<dependency_logic_ast_op>
61 unsigned int slot_id = std::numeric_limits<unsigned int>::max();
62 void print(std::ostream & out_,
int indent_ = 0)
const;
69 std::vector<dependency_logic_ast_node>
children;
70 void print(std::ostream & out_,
int indent_ = 0)
const;
81 void print(std::ostream & out_,
int indent_ = 0)
const;
82 bool parse(
const std::string & formula_);
92 #endif // DATATOOLS_CONFIGURATION_VARIANT_DEPENDENCY_LOGIC_PARSING_H