|
SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
|
The SourceInterface is an abstract "source" that has properties attached to it. More...
#include <SourceInterface.h>

Public Member Functions | |
| virtual | ~SourceInterface ()=default |
| Destructor. | |
| template<typename PropertyType> | |
| const PropertyType & | getProperty (unsigned int index=0) const |
| Convenience template method to call getProperty() with a more user-friendly syntax. | |
| template<typename PropertyType, typename ... Args> | |
| void | setIndexedProperty (std::size_t index, Args... args) |
| Convenience template method to call setProperty() with a more user-friendly syntax. | |
| template<typename PropertyType, typename ... Args> | |
| void | setProperty (Args... args) |
| virtual const Property & | getProperty (const PropertyId &property_id) const =0 |
| virtual void | setProperty (std::unique_ptr< Property > property, const PropertyId &property_id)=0 |
The SourceInterface is an abstract "source" that has properties attached to it.
Properties are accessed through the templated method getProperty<>()/setProperty<>().
Actual implementation in sub-classed is done by overriding the virtual getProperty()/setProperty()
Definition at line 46 of file SourceInterface.h.
|
virtualdefault |
Destructor.
|
pure virtual |
Returns a reference to the requested property. The property may be computed if needed Throws a PropertyNotFoundException if the property cannot be provided.
Implemented in SourceXtractor::SimpleSource, SourceXtractor::SimpleSourceGroup, SourceXtractor::SourceGroupInterface, SourceXtractor::SourceGroupInterface::SourceWrapper, SourceXtractor::SourceGroupWithOnDemandProperties::EntangledSource, SourceXtractor::SourceGroupWithOnDemandProperties, and SourceXtractor::SourceWithOnDemandProperties.
|
inline |
Convenience template method to call getProperty() with a more user-friendly syntax.
Definition at line 57 of file SourceInterface.h.
References SourceXtractor::PropertyId::create(), and getProperty().
Referenced by SourceXtractor::FlexibleModelFittingIterativeTask::clipFittingRect(), SourceXtractor::OutputRegistry::ColumnFromSource::ColumnFromSource(), SourceXtractor::ApertureFlagTask::computeProperties(), SourceXtractor::AperturePhotometryArrayTask::computeProperties(), SourceXtractor::AperturePhotometryTask::computeProperties(), SourceXtractor::AssocModeTask::computeProperties(), SourceXtractor::AutoPhotometryArrayTask::computeProperties(), SourceXtractor::AutoPhotometryFlagTask::computeProperties(), SourceXtractor::AutoPhotometryTask::computeProperties(), SourceXtractor::BlendedFlagTask::computeProperties(), SourceXtractor::BoundaryFlagSourceTask::computeProperties(), SourceXtractor::CoreThresholdPartitionTask::computeProperties(), SourceXtractor::DefaultMeasurementFrameTask::computeProperties(), SourceXtractor::DetectionFrameCoordinatesTask::computeProperties(), SourceXtractor::DetectionFrameImagesTask::computeProperties(), SourceXtractor::DetectionFrameInfoTask::computeProperties(), SourceXtractor::DetectionFramePixelValuesTask::computeProperties(), SourceXtractor::DetectionFrameSourceStampTask::computeProperties(), SourceXtractor::ErrorEllipseTask::computeProperties(), SourceXtractor::ExternalFlagTask< Combine >::computeProperties(), SourceXtractor::FluxRadiusTask::computeProperties(), SourceXtractor::GrowthCurveResampledTask::computeProperties(), SourceXtractor::GrowthCurveTask::computeProperties(), SourceXtractor::HduNumberTask::computeProperties(), SourceXtractor::IsophotalFluxTask::computeProperties(), SourceXtractor::JacobianSourceTask::computeProperties(), SourceXtractor::KronRadiusTask::computeProperties(), SourceXtractor::MeasurementFrameCoordinatesTask::computeProperties(), SourceXtractor::MeasurementFrameImagesTask::computeProperties(), SourceXtractor::MeasurementFrameInfoTask::computeProperties(), SourceXtractor::MeasurementFramePixelCentroidTask::computeProperties(), SourceXtractor::MeasurementFrameRectangleTask::computeProperties(), SourceXtractor::MeasurementFrameRectangleTaskNoDetect::computeProperties(), SourceXtractor::MoffatModelEvaluatorTask::computeProperties(), SourceXtractor::MoffatModelFittingTask::computeProperties(), SourceXtractor::NDetectedPixelsSourceTask::computeProperties(), SourceXtractor::OnnxSourceTask::computeProperties(), SourceXtractor::PeakValueTask::computeProperties(), SourceXtractor::PixelBoundariesTask::computeProperties(), SourceXtractor::PixelBoundariesTaskHalfMaximum::computeProperties(), SourceXtractor::PixelCentroidTask::computeProperties(), SourceXtractor::ReferenceCoordinatesTask::computeProperties(), SourceXtractor::SaturateFlagSourceTask::computeProperties(), SourceXtractor::ShapeParametersTask::computeProperties(), SourceXtractor::SNRRatioSourceTask::computeProperties(), SourceXtractor::SourceFlagsSourceTask::computeProperties(), SourceXtractor::SourceIDTask::computeProperties(), SourceXtractor::VignetArraySourceTask::computeProperties(), SourceXtractor::VignetSourceTask::computeProperties(), SourceXtractor::WorldCentroidTask::computeProperties(), SourceXtractor::FlexibleModelFittingIterativeTask::createFrameModel(), SourceXtractor::FlexibleModelFittingIterativeTask::createImageCopy(), SourceXtractor::FlexibleModelFittingIterativeTask::createWeightImage(), SourceXtractor::MoffatCriteria::doesImpact(), SourceXtractor::extractSourceId(), SourceXtractor::Cleaning::findMostInfluentialSource(), SourceXtractor::FlexibleModelFittingIterativeTask::fitSource(), SourceXtractor::getCoordX(), SourceXtractor::getCoordY(), SourceXtractor::FlexibleModelFittingIterativeTask::getFittingEllipse(), SourceXtractor::FlexibleModelFittingDependentParameter::getPartialDerivatives(), getProperty(), SourceXtractor::FlexibleModelFittingIterativeTask::getUnclippedFittingRect(), SourceXtractor::DetectionIdCheckImage::handleMessage(), SourceXtractor::Cleaning::mergeSources(), SourceXtractor::LineSelectionCriteria::mustBeProcessed(), SourceXtractor::ObjectInfo::ObjectInfo(), SourceXtractor::SourceWithOnDemandProperties::operator=(), SourceXtractor::LdacOutput::outputSource(), SourceXtractor::Cleaning::shouldClean(), SourceXtractor::AssocCriteria::shouldGroup(), SourceXtractor::OverlappingBoundariesCriteria::shouldGroup(), SourceXtractor::SplitSourcesCriteria::shouldGroup(), SourceXtractor::FlexibleModelFittingIterativeTask::transformEllipse(), SourceXtractor::SimpleSourceGroup::~SimpleSourceGroup(), and SourceXtractor::SourceGroupWithOnDemandProperties::~SourceGroupWithOnDemandProperties().

|
inline |
Convenience template method to call setProperty() with a more user-friendly syntax.
Definition at line 64 of file SourceInterface.h.
References SourceXtractor::PropertyId::create(), std::forward(), and setProperty().
Referenced by SourceXtractor::AperturePhotometryArrayTask::computeProperties(), SourceXtractor::AperturePhotometryTask::computeProperties(), SourceXtractor::AutoPhotometryTask::computeProperties(), SourceXtractor::BoundaryFlagSourceTask::computeProperties(), SourceXtractor::DefaultMeasurementFrameTask::computeProperties(), SourceXtractor::ExternalFlagTask< Combine >::computeProperties(), SourceXtractor::GrowthCurveTask::computeProperties(), SourceXtractor::JacobianSourceTask::computeProperties(), SourceXtractor::MeasurementFrameCoordinatesTask::computeProperties(), SourceXtractor::MeasurementFrameImagesTask::computeProperties(), SourceXtractor::MeasurementFrameInfoTask::computeProperties(), SourceXtractor::MeasurementFramePixelCentroidTask::computeProperties(), SourceXtractor::MeasurementFrameRectangleTask::computeProperties(), SourceXtractor::MeasurementFrameRectangleTaskNoDetect::computeProperties(), SourceXtractor::MeasurementFrameTask::computeProperties(), SourceXtractor::SaturateFlagSourceTask::computeProperties(), SourceXtractor::SourcePsfTask::computeProperties(), SourceXtractor::VignetSourceTask::computeProperties(), and setProperty().

|
inline |
Definition at line 72 of file SourceInterface.h.
References std::forward(), and setIndexedProperty().
Referenced by SourceXtractor::ApertureFlagTask::computeProperties(), SourceXtractor::AssocModeDummyTask::computeProperties(), SourceXtractor::AssocModeTask::computeProperties(), SourceXtractor::AutoPhotometryArrayTask::computeProperties(), SourceXtractor::AutoPhotometryFlagTask::computeProperties(), SourceXtractor::BlendedFlagTask::computeProperties(), SourceXtractor::CoreThresholdPartitionTask::computeProperties(), SourceXtractor::DetectionFrameCoordinatesTask::computeProperties(), SourceXtractor::DetectionFrameImagesTask::computeProperties(), SourceXtractor::DetectionFrameInfoTask::computeProperties(), SourceXtractor::DetectionFramePixelValuesTask::computeProperties(), SourceXtractor::DetectionFrameSourceStampTask::computeProperties(), SourceXtractor::ErrorEllipseTask::computeProperties(), SourceXtractor::FluxRadiusTask::computeProperties(), SourceXtractor::GrowthCurveResampledTask::computeProperties(), SourceXtractor::HduNumberTask::computeProperties(), SourceXtractor::IsophotalFluxTask::computeProperties(), SourceXtractor::KronRadiusTask::computeProperties(), SourceXtractor::MoffatModelEvaluatorTask::computeProperties(), SourceXtractor::MoffatModelFittingTask::computeProperties(), SourceXtractor::NDetectedPixelsSourceTask::computeProperties(), SourceXtractor::OnnxSourceTask::computeProperties(), SourceXtractor::PeakValueTask::computeProperties(), SourceXtractor::PixelBoundariesTask::computeProperties(), SourceXtractor::PixelBoundariesTaskHalfMaximum::computeProperties(), SourceXtractor::PixelCentroidTask::computeProperties(), SourceXtractor::ReferenceCoordinatesTask::computeProperties(), SourceXtractor::ShapeParametersTask::computeProperties(), SourceXtractor::SNRRatioSourceTask::computeProperties(), SourceXtractor::SourceFlagsSourceTask::computeProperties(), SourceXtractor::SourceIDTask::computeProperties(), SourceXtractor::VignetArraySourceTask::computeProperties(), SourceXtractor::WorldCentroidTask::computeProperties(), SourceXtractor::SourceWithOnDemandProperties::operator=(), setIndexedProperty(), SourceXtractor::SimpleSourceGroup::~SimpleSourceGroup(), and SourceXtractor::SourceGroupWithOnDemandProperties::~SourceGroupWithOnDemandProperties().

|
pure virtual |
Implemented in SourceXtractor::SimpleSource, SourceXtractor::SimpleSourceGroup, SourceXtractor::SourceGroupInterface, SourceXtractor::SourceGroupInterface::SourceWrapper, SourceXtractor::SourceGroupWithOnDemandProperties::EntangledSource, SourceXtractor::SourceGroupWithOnDemandProperties, and SourceXtractor::SourceWithOnDemandProperties.