SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
SourceXtractor::SourceInterface Class Referenceabstract

The SourceInterface is an abstract "source" that has properties attached to it. More...

#include <SourceInterface.h>

Inheritance diagram for SourceXtractor::SourceInterface:

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 PropertygetProperty (const PropertyId &property_id) const =0
virtual void setProperty (std::unique_ptr< Property > property, const PropertyId &property_id)=0

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~SourceInterface()

virtual SourceXtractor::SourceInterface::~SourceInterface ( )
virtualdefault

Destructor.

Member Function Documentation

◆ getProperty() [1/2]

virtual const Property & SourceXtractor::SourceInterface::getProperty ( const PropertyId & property_id) const
pure virtual

◆ getProperty() [2/2]

template<typename PropertyType>
const PropertyType & SourceXtractor::SourceInterface::getProperty ( unsigned int index = 0) const
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().

Here is the call graph for this function:

◆ setIndexedProperty()

template<typename PropertyType, typename ... Args>
void SourceXtractor::SourceInterface::setIndexedProperty ( std::size_t index,
Args... args )
inline

◆ setProperty() [1/2]

template<typename PropertyType, typename ... Args>
void SourceXtractor::SourceInterface::setProperty ( Args... args)
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().

Here is the call graph for this function:

◆ setProperty() [2/2]


The documentation for this class was generated from the following file: