SourceXtractorPlusPlus  0.11
Please provide a description of the project.
Public Member Functions | List of all members
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:
[legend]

Public Member Functions

virtual ~SourceInterface ()=default
 Destructor. More...
 
template<typename PropertyType >
const PropertyType & getProperty (unsigned int index=0) const
 Convenience template method to call getProperty() with a more user-friendly syntax. More...
 
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. More...
 
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]

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.

Referenced by SourceXtractor::FlexibleModelFittingExponentialModel::addForSource(), SourceXtractor::FlexibleModelFittingDevaucouleursModel::addForSource(), SourceXtractor::FlexibleModelFittingSersicModel::addForSource(), SourceXtractor::OutputRegistry::ColumnFromSource::ColumnFromSource(), SourceXtractor::GrowthCurveResampledTask::computeProperties(), SourceXtractor::GrowthCurveTask::computeProperties(), SourceXtractor::VignetArraySourceTask::computeProperties(), SourceXtractor::FluxRadiusTask::computeProperties(), SourceXtractor::MoffatModelEvaluatorTask::computeProperties(), SourceXtractor::SNRRatioSourceTask::computeProperties(), SourceXtractor::ShapeParametersTask::computeProperties(), SourceXtractor::WorldCentroidTask::computeProperties(), SourceXtractor::BlendedFlagTask::computeProperties(), SourceXtractor::MeasurementFrameRectangleTask::computeProperties(), SourceXtractor::PeakValueTask::computeProperties(), SourceXtractor::ApertureFlagTask::computeProperties(), SourceXtractor::SourceIDTask::computeProperties(), SourceXtractor::AperturePhotometryArrayTask::computeProperties(), SourceXtractor::AutoPhotometryFlagTask::computeProperties(), SourceXtractor::VignetSourceTask::computeProperties(), SourceXtractor::MoffatModelFittingTask::computeProperties(), SourceXtractor::KronRadiusTask::computeProperties(), SourceXtractor::AutoPhotometryArrayTask::computeProperties(), SourceXtractor::AperturePhotometryTask::computeProperties(), SourceXtractor::PixelCentroidTask::computeProperties(), SourceXtractor::CoreThresholdPartitionTask::computeProperties(), SourceXtractor::PixelBoundariesTask::computeProperties(), SourceXtractor::AutoPhotometryTask::computeProperties(), SourceXtractor::IsophotalFluxTask::computeProperties(), SourceXtractor::MeasurementFramePixelCentroidTask::computeProperties(), SourceXtractor::DetectionFrameSourceStampTask::computeProperties(), SourceXtractor::DetectionFramePixelValuesTask::computeProperties(), SourceXtractor::NDetectedPixelsSourceTask::computeProperties(), SourceXtractor::JacobianSourceTask::computeProperties(), SourceXtractor::SourceFlagsSourceTask::computeProperties(), SourceXtractor::ExternalFlagTask< Combine >::computeProperties(), SourceXtractor::BoundaryFlagSourceTask::computeProperties(), SourceXtractor::SaturateFlagSourceTask::computeProperties(), SourceXtractor::DefaultMeasurementFrameTask::computeProperties(), SourceXtractor::PixelBoundariesTaskHalfMaximum::computeProperties(), SourceXtractor::MoffatCriteria::doesImpact(), SourceXtractor::extractSourceId(), SourceXtractor::Cleaning::findMostInfluentialSource(), SourceXtractor::FlexibleModelFittingDependentParameter::getPartialDerivatives(), SourceXtractor::Cleaning::mergeSources(), SourceXtractor::LineSelectionCriteria::mustBeProcessed(), SourceXtractor::LdacWriter::notifySource(), SourceXtractor::Cleaning::shouldClean(), SourceXtractor::OverlappingBoundariesCriteria::shouldGroup(), and SourceXtractor::SplitSourcesCriteria::shouldGroup().

◆ getProperty() [2/2]

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

◆ 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.

Referenced by SourceXtractor::GrowthCurveResampledTask::computeProperties(), SourceXtractor::VignetArraySourceTask::computeProperties(), SourceXtractor::FluxRadiusTask::computeProperties(), SourceXtractor::MoffatModelEvaluatorTask::computeProperties(), SourceXtractor::ShapeParametersTask::computeProperties(), SourceXtractor::WorldCentroidTask::computeProperties(), SourceXtractor::SNRRatioSourceTask::computeProperties(), SourceXtractor::BlendedFlagTask::computeProperties(), SourceXtractor::PeakValueTask::computeProperties(), SourceXtractor::SourceIDTask::computeProperties(), SourceXtractor::ApertureFlagTask::computeProperties(), SourceXtractor::AutoPhotometryFlagTask::computeProperties(), SourceXtractor::MoffatModelFittingTask::computeProperties(), SourceXtractor::KronRadiusTask::computeProperties(), SourceXtractor::AutoPhotometryArrayTask::computeProperties(), SourceXtractor::PixelCentroidTask::computeProperties(), SourceXtractor::PixelBoundariesTask::computeProperties(), SourceXtractor::CoreThresholdPartitionTask::computeProperties(), SourceXtractor::IsophotalFluxTask::computeProperties(), SourceXtractor::DetectionFrameSourceStampTask::computeProperties(), SourceXtractor::DetectionFramePixelValuesTask::computeProperties(), SourceXtractor::NDetectedPixelsSourceTask::computeProperties(), SourceXtractor::SourceFlagsSourceTask::computeProperties(), SourceXtractor::PixelBoundariesTaskHalfMaximum::computeProperties(), and setIndexedProperty().

◆ setProperty() [2/2]

virtual void SourceXtractor::SourceInterface::setProperty ( std::unique_ptr< Property property,
const PropertyId property_id 
)
pure virtual

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