|
SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
|
#include <SourceWithOnDemandProperties.h>


Protected Member Functions | |
| const Property & | getProperty (const PropertyId &property_id) const override |
| void | setProperty (std::unique_ptr< Property > property, const PropertyId &property_id) override |
Private Attributes | |
| std::shared_ptr< const TaskProvider > | m_task_provider |
| PropertyHolder | m_property_holder |
Provides getProperty() and setProperty() implementations which use a TaskProvider to compute the non already available properties on demand.
Definition at line 43 of file SourceWithOnDemandProperties.h.
|
virtualdefault |
Destructor.
|
delete |
|
delete |
|
explicit |
Constructor.
Definition at line 35 of file SourceWithOnDemandProperties.cpp.
|
overrideprotectedvirtual |
Returns a reference to the requested property. The property may be computed if needed Throws a PropertyNotFoundException if the property cannot be provided.
Implements SourceXtractor::SourceInterface.
Definition at line 39 of file SourceWithOnDemandProperties.cpp.
References Elements::Logging::debug(), SourceXtractor::PropertyHolder::getProperty(), SourceXtractor::PropertyHolder::isPropertySet(), Euclid::Configuration::logger, m_property_holder, and m_task_provider.

|
virtual |
Returns a reference to the requested property. The property may be computed if needed Throws a PropertyNotFoundException if the property cannot be provided.
Implements SourceXtractor::SourceInterface.
|
inline |
Convenience template method to call getProperty() with a more user-friendly syntax.
Definition at line 57 of file SourceInterface.h.
|
delete |
|
delete |
|
inline |
Definition at line 72 of file SourceInterface.h.
|
overrideprotectedvirtual |
Implements SourceXtractor::SourceInterface.
Definition at line 61 of file SourceWithOnDemandProperties.cpp.
References m_property_holder, std::move(), and SourceXtractor::PropertyHolder::setProperty().

|
virtual |
Implements SourceXtractor::SourceInterface.
|
private |
Definition at line 77 of file SourceWithOnDemandProperties.h.
Referenced by getProperty(), and setProperty().
|
private |
Definition at line 76 of file SourceWithOnDemandProperties.h.
Referenced by getProperty().