return do_set_operation (other, SetIntersection);
}
-boost::shared_ptr<ExportFormatBase>
-ExportFormatBase::get_difference (ExportFormatBase const & other) const
-{
- return do_set_operation (other, SetDifference);
-}
-
boost::shared_ptr<ExportFormatBase>
ExportFormatBase::get_union (ExportFormatBase const & other) const
{
case SetIntersection:
std::set_intersection (start1, end1, start2, end2, insert);
break;
- case SetDifference:
- std::set_difference (start1, end1, start2, end2, insert);
- break;
case SetUnion:
std::set_union (start1, end1, start2, end2, insert);
break;
case SetIntersection:
std::set_intersection (start1, end1, start2, end2, insert);
break;
- case SetDifference:
- std::set_difference (start1, end1, start2, end2, insert);
- break;
case SetUnion:
std::set_union (start1, end1, start2, end2, insert);
break;
case SetIntersection:
std::set_intersection (start1, end1, start2, end2, insert);
break;
- case SetDifference:
- std::set_difference (start1, end1, start2, end2, insert);
- break;
case SetUnion:
std::set_union (start1, end1, start2, end2, insert);
break;
case SetIntersection:
std::set_intersection (start1, end1, start2, end2, insert);
break;
- case SetDifference:
- std::set_difference (start1, end1, start2, end2, insert);
- break;
case SetUnion:
std::set_union (start1, end1, start2, end2, insert);
break;
case SetIntersection:
std::set_intersection (start1, end1, start2, end2, insert);
break;
- case SetDifference:
- std::set_difference (start1, end1, start2, end2, insert);
- break;
case SetUnion:
std::set_union (start1, end1, start2, end2, insert);
break;