SourceXtractorPlusPlus  0.15
Please provide a description of the project.
AssocModePartitionStep.cpp
Go to the documentation of this file.
1 
20 
21 namespace SourceXtractor {
22 
23 AssocModePartitionStep::AssocModePartitionStep(bool match_required) : m_match_required(match_required) {
24 }
25 
27  if (source->getProperty<AssocMode>().getMatch() ^ !m_match_required) {
28  return { source };
29  } else {
30  return {};
31  }
32 }
33 
34 } // SourceXtractor namespace
35 
AssocModePartitionStep(bool match_required)
Constructor.
std::vector< std::shared_ptr< SourceInterface > > partition(std::shared_ptr< SourceInterface > source) const override
bool getMatch() const
Definition: AssocMode.h:50