SourceXtractorPlusPlus  0.19
SourceXtractor++, the next generation SExtractor
HduNumberTask.cpp
Go to the documentation of this file.
1 
19 
22 
23 namespace SourceXtractor {
24 
26  const auto& detection_frame_info = source.getProperty<DetectionFrameInfo>();
27 
28  source.setProperty<HduNumber>(detection_frame_info.getHduIndex());
29 }
30 
31 }
32 
33 
void computeProperties(SourceInterface &source) const override
Computes one or more properties for the Source.
The SourceInterface is an abstract "source" that has properties attached to it.
const PropertyType & getProperty(unsigned int index=0) const
Convenience template method to call getProperty() with a more user-friendly syntax.