SourceXtractorPlusPlus
0.10
Please provide a description of the project.
|
#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 |
![]() | |
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) |
Private Attributes | |
PropertyHolder | m_property_holder |
std::shared_ptr< SourceInterface > | m_source |
SourceGroupWithOnDemandProperties & | m_group |
Friends | |
void | SourceGroupWithOnDemandProperties::clearGroupProperties () |
void | SourceGroupWithOnDemandProperties::merge (const SourceGroupInterface &) |
Definition at line 95 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(), and m_source.
|
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 e, SourceXtractor::PropertyHolder::getProperty(), SourceXtractor::PropertyHolder::isPropertySet(), and SourceXtractor::SourceGroupWithOnDemandProperties::m_property_holder.
bool SourceXtractor::SourceGroupWithOnDemandProperties::EntangledSource::operator< | ( | const EntangledSource & | other | ) | const |
Definition at line 83 of file EntangledSource.cpp.
References m_source.
|
overridevirtual |
Implements SourceXtractor::SourceInterface.
Definition at line 79 of file EntangledSource.cpp.
References SourceXtractor::SourceGroupWithOnDemandProperties::m_property_holder, std::move(), and SourceXtractor::PropertyHolder::setProperty().
|
friend |
|
friend |
|
private |
Definition at line 113 of file SourceGroupWithOnDemandProperties.h.
|
private |
Definition at line 111 of file SourceGroupWithOnDemandProperties.h.
|
private |
Definition at line 112 of file SourceGroupWithOnDemandProperties.h.
Referenced by EntangledSource(), and operator<().