SourceXtractorPlusPlus
0.10
Please provide a description of the project.
|
#include <SourceGroupInterface.h>
Public Member Functions | |
SourceWrapper (std::shared_ptr< SourceInterface > source) | |
SourceWrapper (const SourceWrapper &source) | |
const Property & | getProperty (const PropertyId &property_id) const override |
void | setProperty (std::unique_ptr< Property > property, const PropertyId &property_id) override |
bool | operator< (const SourceWrapper &other) const |
SourceInterface & | getRef () 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 | |
std::shared_ptr< SourceInterface > | m_source |
Definition at line 50 of file SourceGroupInterface.h.
|
inline |
Definition at line 53 of file SourceGroupInterface.h.
|
inline |
Definition at line 55 of file SourceGroupInterface.h.
|
inlineoverridevirtual |
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 57 of file SourceGroupInterface.h.
References m_source.
|
inline |
Definition at line 69 of file SourceGroupInterface.h.
References m_source.
|
inline |
Definition at line 65 of file SourceGroupInterface.h.
References m_source.
|
inlineoverridevirtual |
Implements SourceXtractor::SourceInterface.
Definition at line 61 of file SourceGroupInterface.h.
References m_source, and std::move().
|
private |
Definition at line 78 of file SourceGroupInterface.h.
Referenced by getProperty(), getRef(), operator<(), and setProperty().