SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
AssocCriteria.cpp
Go to the documentation of this file.
1
19
21
22namespace SourceXtractor {
23
25 auto first_id = first.getProperty<AssocMode>().getGroupId();
26 auto second_id = second.getProperty<AssocMode>().getGroupId();
27 return first_id != 0 && first_id == second_id;
28}
29
30} // SourceXtractor namespace
31
bool shouldGroup(const SourceInterface &first, const SourceInterface &second) const override
Determines if the two sources should be grouped together.
The SourceInterface is an abstract "source" that has properties attached to it.