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


Public Member Functions | |
| virtual | ~SourceWithOnDemandProperties ()=default |
| Destructor. | |
| SourceWithOnDemandProperties (const SourceWithOnDemandProperties &)=delete | |
| SourceWithOnDemandProperties & | operator= (const SourceWithOnDemandProperties &)=delete |
| SourceWithOnDemandProperties (SourceWithOnDemandProperties &&)=delete | |
| SourceWithOnDemandProperties & | operator= (SourceWithOnDemandProperties &&)=delete |
| SourceWithOnDemandProperties (std::shared_ptr< const TaskProvider > task_provider) | |
| Constructor. | |
| 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 | setProperty (Args... args) |
| Public Member Functions inherited from SourceXtractor::SourceInterface | |
| 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) |
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 |
References SourceWithOnDemandProperties().
Referenced by getProperty(), operator=(), operator=(), SourceWithOnDemandProperties(), and SourceWithOnDemandProperties().

|
delete |
|
explicit |
Constructor.
Definition at line 35 of file SourceWithOnDemandProperties.cpp.
References m_task_provider.
|
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 Euclid::Configuration::logger, m_property_holder, m_task_provider, and SourceWithOnDemandProperties().

|
inline |
Convenience template method to call getProperty() with a more user-friendly syntax.
Definition at line 57 of file SourceInterface.h.
|
delete |
|
delete |
References SourceXtractor::SourceInterface::getProperty(), SourceXtractor::SourceInterface::setProperty(), and SourceWithOnDemandProperties().

|
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, and std::move().

|
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(), and SourceWithOnDemandProperties().