|
SourceXtractorPlusPlus 0.19.2
SourceXtractor++, the next generation SExtractor
|
#include <SourceGroupInterface.h>


Public Member Functions | |
| SourceWrapper (std::unique_ptr< SourceInterface > source) | |
| SourceWrapper (const SourceWrapper &source)=delete | |
| SourceWrapper (SourceWrapper &&)=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 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. | |
| 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. | |
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) |
| virtual const Property & | getProperty (const PropertyId &property_id) const =0 |
| virtual void | setProperty (std::unique_ptr< Property > property, const PropertyId &property_id)=0 |
Private Attributes | |
| std::unique_ptr< SourceInterface > | m_source |
Definition at line 45 of file SourceGroupInterface.h.
|
inlineexplicit |
Definition at line 48 of file SourceGroupInterface.h.
|
delete |
|
default |
|
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 54 of file SourceGroupInterface.h.
References m_source.
|
virtual |
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.
|
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 66 of file SourceGroupInterface.h.
References m_source.
|
inline |
Definition at line 62 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 58 of file SourceGroupInterface.h.
References m_source, and std::move().

|
virtual |
Implements SourceXtractor::SourceInterface.
|
private |
Definition at line 75 of file SourceGroupInterface.h.
Referenced by getProperty(), getRef(), operator<(), and setProperty().