3 #include <ossia/detail/config.hpp>
6 #include <ossia/editor/expression/operators.hpp>
13 namespace ossia::expressions
31 bool evaluate()
const;
36 expression_base& get_first_operand()
const;
37 binary_operator get_operator()
const;
38 expression_base& get_second_operand()
const;
41 void on_first_callback_added()
override;
42 void on_removing_last_callback()
override;
44 bool do_evaluation(
bool first,
bool second)
const;
46 void first_callback(
bool first_result);
47 void second_callback(
bool second_result);
49 expression_ptr m_first;
50 expression_ptr m_second;
52 expression_callback_iterator m_firstIndex;
53 expression_callback_iterator m_secondIndex;
55 binary_operator m_operator{};
expression_composition : logical composition (and, or, xor)
Definition: expression_composition.hpp:20