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


Public Member Functions | |
| EntangledSource (std::shared_ptr< SourceInterface > source, SourceGroupWithOnDemandProperties &group) | |
| virtual | ~EntangledSource ()=default |
| const Property & | getProperty (const PropertyId &property_id) const override |
| void | setProperty (std::unique_ptr< Property > property, const PropertyId &property_id) override |
| bool | operator< (const EntangledSource &other) const |
| 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) |
Private Attributes | |
| PropertyHolder | m_property_holder |
| std::shared_ptr< SourceInterface > | m_source |
| SourceGroupWithOnDemandProperties & | m_group |
Friends | |
| void | SourceGroupWithOnDemandProperties::clearGroupProperties () |
| void | SourceGroupWithOnDemandProperties::merge (SourceGroupInterface &&) |
Definition at line 96 of file SourceGroupWithOnDemandProperties.h.
| SourceXtractor::SourceGroupWithOnDemandProperties::EntangledSource::EntangledSource | ( | std::shared_ptr< SourceInterface > | source, |
| SourceGroupWithOnDemandProperties & | group ) |
Definition at line 27 of file EntangledSource.cpp.
References std::dynamic_pointer_cast(), m_group, m_source, and SourceXtractor::SourceGroupWithOnDemandProperties::SourceGroupWithOnDemandProperties().
Referenced by operator<(), and ~EntangledSource().

|
virtualdefault |
|
overridevirtual |
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 40 of file EntangledSource.cpp.
References SourceXtractor::GroupTask::computeProperties(), m_group, m_property_holder, and m_source.

| bool SourceXtractor::SourceGroupWithOnDemandProperties::EntangledSource::operator< | ( | const EntangledSource & | other | ) | const |
Definition at line 83 of file EntangledSource.cpp.
References EntangledSource(), and m_source.

|
overridevirtual |
Implements SourceXtractor::SourceInterface.
Definition at line 79 of file EntangledSource.cpp.
References m_property_holder, and std::move().

|
friend |
|
friend |
|
private |
Definition at line 114 of file SourceGroupWithOnDemandProperties.h.
Referenced by EntangledSource(), and getProperty().
|
private |
Definition at line 112 of file SourceGroupWithOnDemandProperties.h.
Referenced by SourceXtractor::SourceGroupWithOnDemandProperties::clearGroupProperties(), getProperty(), and setProperty().
|
private |
Definition at line 113 of file SourceGroupWithOnDemandProperties.h.
Referenced by EntangledSource(), getProperty(), and operator<().