SourceXtractorPlusPlus  0.19
SourceXtractor++, the next generation SExtractor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AssocModeDummyTask.h
Go to the documentation of this file.
1 
18 #ifndef _SEIMPLEMENTATION_PLUGIN_ASSOCMODE_ASSOCMODEDUMMYTASK_H_
19 #define _SEIMPLEMENTATION_PLUGIN_ASSOCMODE_ASSOCMODEDUMMYTASK_H_
20 
22 
23 namespace SourceXtractor {
24 
26 public:
28  virtual ~AssocModeDummyTask() = default;
29 
30  AssocModeDummyTask() = default;
31 
32  void computeProperties(SourceInterface& source) const override {
33  source.setProperty<AssocMode>();
34  }
35 };
36 
37 }
38 
39 #endif /* _SEIMPLEMENTATION_PLUGIN_ASSOCMODE_ASSOCMODEDUMMYTASK_H_ */
A Task that acts on a Source to compute one or more properties.
Definition: SourceTask.h:36
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
virtual ~AssocModeDummyTask()=default
Destructor.
The SourceInterface is an abstract &quot;source&quot; that has properties attached to it.