SourceXtractorPlusPlus
0.10
Please provide a description of the project.
|
The SourceInterface is an abstract "source" that has properties attached to it. More...
#include <SourceInterface.h>
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 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.
|
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::FlexibleModelFittingTask::computeChiSquared(), SourceXtractor::MoffatModelEvaluatorTask::computeProperties(), SourceXtractor::ShapeParametersTask::computeProperties(), SourceXtractor::WorldCentroidTask::computeProperties(), SourceXtractor::BlendedFlagTask::computeProperties(), SourceXtractor::JacobianGroupTask::computeProperties(), SourceXtractor::MeasurementFrameGroupRectangleTask::computeProperties(), SourceXtractor::MeasurementFrameRectangleTask::computeProperties(), SourceXtractor::PeakValueTask::computeProperties(), SourceXtractor::SourceIDTask::computeProperties(), SourceXtractor::ApertureFlagTask::computeProperties(), SourceXtractor::AperturePhotometryArrayTask::computeProperties(), SourceXtractor::AutoPhotometryFlagTask::computeProperties(), SourceXtractor::MoffatModelFittingTask::computeProperties(), SourceXtractor::KronRadiusTask::computeProperties(), SourceXtractor::AutoPhotometryArrayTask::computeProperties(), SourceXtractor::AperturePhotometryTask::computeProperties(), SourceXtractor::CoreThresholdPartitionTask::computeProperties(), SourceXtractor::AutoPhotometryTask::computeProperties(), SourceXtractor::PixelCentroidTask::computeProperties(), SourceXtractor::PixelBoundariesTask::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::FlexibleModelFittingTask::createFrameModel(), SourceXtractor::FlexibleModelFittingTask::createImageCopy(), SourceXtractor::FlexibleModelFittingTask::createWeightImage(), SourceXtractor::MoffatCriteria::doesImpact(), SourceXtractor::extractSourceId(), SourceXtractor::Cleaning::findMostInfluentialSource(), SourceXtractor::FlexibleModelFittingDependentParameter::getPartialDerivatives(), SourceXtractor::FlexibleModelFittingTask::isFrameValid(), SourceXtractor::Cleaning::mergeSources(), SourceXtractor::LineSelectionCriteria::mustBeProcessed(), SourceXtractor::Cleaning::shouldClean(), SourceXtractor::OverlappingBoundariesCriteria::shouldGroup(), SourceXtractor::SplitSourcesCriteria::shouldGroup(), and SourceXtractor::FlexibleModelFittingTask::updateCheckImages().
|
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::SourceGroupWithOnDemandProperties::EntangledSource, SourceXtractor::SourceGroupWithOnDemandProperties, SourceXtractor::SourceWithOnDemandProperties, SourceXtractor::SimpleSourceGroup, SourceXtractor::SimpleSource, and SourceXtractor::SourceGroupInterface::SourceWrapper.
|
inline |
Convenience template method to call setProperty() with a more user-friendly syntax.
Definition at line 64 of file SourceInterface.h.
References setProperty().
Referenced by SourceXtractor::JacobianGroupTask::computeProperties(), SourceXtractor::MeasurementFrameGroupRectangleTask::computeProperties(), SourceXtractor::MeasurementFrameRectangleTask::computeProperties(), SourceXtractor::AperturePhotometryArrayTask::computeProperties(), SourceXtractor::PsfTask::computeProperties(), SourceXtractor::MeasurementFrameTask::computeProperties(), SourceXtractor::AperturePhotometryTask::computeProperties(), SourceXtractor::AutoPhotometryTask::computeProperties(), SourceXtractor::MeasurementFramePixelCentroidTask::computeProperties(), SourceXtractor::JacobianSourceTask::computeProperties(), SourceXtractor::ExternalFlagTask< Combine >::computeProperties(), SourceXtractor::BoundaryFlagSourceTask::computeProperties(), SourceXtractor::SaturateFlagSourceTask::computeProperties(), and SourceXtractor::DefaultMeasurementFrameTask::computeProperties().
|
inline |
Definition at line 72 of file SourceInterface.h.
Referenced by SourceXtractor::MoffatModelEvaluatorTask::computeProperties(), SourceXtractor::ShapeParametersTask::computeProperties(), SourceXtractor::WorldCentroidTask::computeProperties(), SourceXtractor::BlendedFlagTask::computeProperties(), SourceXtractor::PeakValueTask::computeProperties(), SourceXtractor::ApertureFlagTask::computeProperties(), SourceXtractor::AutoPhotometryFlagTask::computeProperties(), SourceXtractor::SourceIDTask::computeProperties(), SourceXtractor::MoffatModelFittingTask::computeProperties(), SourceXtractor::KronRadiusTask::computeProperties(), SourceXtractor::AutoPhotometryArrayTask::computeProperties(), SourceXtractor::PixelBoundariesTask::computeProperties(), SourceXtractor::CoreThresholdPartitionTask::computeProperties(), SourceXtractor::PixelCentroidTask::computeProperties(), SourceXtractor::GroupInfoTask::computeProperties(), SourceXtractor::IsophotalFluxTask::computeProperties(), SourceXtractor::DetectionFrameSourceStampTask::computeProperties(), SourceXtractor::DetectionFramePixelValuesTask::computeProperties(), SourceXtractor::NDetectedPixelsSourceTask::computeProperties(), SourceXtractor::SourceFlagsSourceTask::computeProperties(), SourceXtractor::PixelBoundariesTaskHalfMaximum::computeProperties(), and setIndexedProperty().
|
pure virtual |
Implemented in SourceXtractor::SourceGroupWithOnDemandProperties::EntangledSource, SourceXtractor::SourceGroupWithOnDemandProperties, SourceXtractor::SourceWithOnDemandProperties, SourceXtractor::SimpleSourceGroup, SourceXtractor::SimpleSource, and SourceXtractor::SourceGroupInterface::SourceWrapper.