SourceXtractorPlusPlus
0.11
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 |
template<typename PropertyType > | |
const PropertyType & | getProperty (unsigned int index=0) const |
Convenience template method to call getProperty() with a more user-friendly syntax. More... | |
virtual const Property & | getProperty (const PropertyId &property_id) const=0 |
template<typename PropertyType , typename ... Args> | |
void | setProperty (Args... args) |
virtual void | setProperty (std::unique_ptr< Property > property, const PropertyId &property_id)=0 |
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... | |
![]() | |
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.
virtual const Property& SourceXtractor::SourceInterface::getProperty |
Returns a reference to the requested property. The property may be computed if needed Throws a PropertyNotFoundException if the property cannot be provided.
|
inline |
Convenience template method to call getProperty() with a more user-friendly syntax.
Definition at line 57 of file SourceInterface.h.
|
inline |
Definition at line 69 of file SourceGroupInterface.h.
References m_source.
|
inline |
Definition at line 65 of file SourceGroupInterface.h.
References m_source.
|
inline |
Convenience template method to call setProperty() with a more user-friendly syntax.
Definition at line 64 of file SourceInterface.h.
|
inline |
Definition at line 72 of file SourceInterface.h.
|
inlineoverridevirtual |
Implements SourceXtractor::SourceInterface.
Definition at line 61 of file SourceGroupInterface.h.
References m_source, and std::move().
virtual void SourceXtractor::SourceInterface::setProperty |
|
private |
Definition at line 78 of file SourceGroupInterface.h.
Referenced by getProperty(), getRef(), operator<(), and setProperty().