SourceXtractorPlusPlus 0.19.2
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
AssocModePartitionStep.cpp
Go to the documentation of this file.
1
20
21namespace SourceXtractor {
22
23AssocModePartitionStep::AssocModePartitionStep(bool match_required) : m_match_required(match_required) {}
24
28 if (source->getProperty<AssocMode>().getMatch() ^ !m_match_required) {
29 sources.emplace_back(std::move(source));
30 }
31 return sources;
32}
33
34} // SourceXtractor namespace
35
std::vector< std::unique_ptr< SourceInterface > > partition(std::unique_ptr< SourceInterface > source) const override
AssocModePartitionStep(bool match_required)
Constructor.
T emplace_back(T... args)
T move(T... args)