Exemple #1
0
 /** \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;
 }
Exemple #2
0
 /** \brief  Difference: this = this - ( expression ) */
 Selector & operator -= ( const Selector & selector)
 { return add_binary_op(SelectorNodeType::DIFFERENCE, selector); }
Exemple #3
0
 Selector & operator &= ( const Part& part)
 { return add_binary_op(SelectorNodeType::INTERSECTION, Selector(part)); }
Exemple #4
0
 /** \brief  Intersection: this = this INTERSECT ( expression ) */
 Selector & operator &= ( const Selector & selector)
 { return add_binary_op(SelectorNodeType::INTERSECTION, selector); }