File: PbiFilter_Composition.txt

package info (click to toggle)
pbbam 2.4.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,148 kB
  • sloc: cpp: 60,214; xml: 2,908; ansic: 660; sh: 275; python: 203; makefile: 187
file content (8 lines) | stat: -rw-r--r-- 182 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
// (f1 && f2) || f3

PbiFilter f1;
PbiFilter f2;
PbiFilter intersect_f1_f2 = PbiFilter::Intersection(f1, f2);

PbiFilter f3;
PbiFilter final = PbiFilter::Union(intersect_f1_f2, f3);