/** \brief Union: this = this UNION ( expression ) */ Selector & operator |= ( const Selector & selector) { if (is_null()) { m_expr = selector.m_expr; } else { add_binary_op(SelectorNodeType::UNION, selector); } return *this; }
/** \brief Difference: this = this - ( expression ) */ Selector & operator -= ( const Selector & selector) { return add_binary_op(SelectorNodeType::DIFFERENCE, selector); }
Selector & operator &= ( const Part& part) { return add_binary_op(SelectorNodeType::INTERSECTION, Selector(part)); }
/** \brief Intersection: this = this INTERSECT ( expression ) */ Selector & operator &= ( const Selector & selector) { return add_binary_op(SelectorNodeType::INTERSECTION, selector); }