Property access range wraps the access of properties from another range. More...
#include <kanzi/core.ui/binding/property_access_range.hpp>
Classes | |
| class | PropertyAccessRangeLocation |
| Location implementation for property access range. More... | |
Public Member Functions | |
| void | adapt (AbstractRange &sourceRange, AbstractPropertyType propertyType) |
| Adapts a new range and property type. | |
| AbstractPropertyType | getPropertyType () const |
| Gets the property type used for access. | |
Public Member Functions inherited from kanzi::AbstractRange | |
| bool | adaptView (AbstractRange &potentialViewRange, size_t length) |
| Attempts to reuse a view over this range. | |
| AbstractRangeIterator | beginIteration () |
| Gets an iterator to the beginning of this range. | |
| AbstractRangeSharedPtr | createView (size_t length) |
| Creates a view over this range. | |
| AbstractRangeSharedPtr | evaluate () |
| Evaluate the abstract range. | |
| AbstractRangeLocationPtr | locationBegin () |
| Gets an iteratable location to beginning of the range. | |
| virtual | ~AbstractRange ()=default |
| Destructor. | |
Static Public Member Functions | |
| static PropertyAccessRangeSharedPtr | create (AbstractRangeSharedPtr sourceRange, AbstractPropertyType propertyType) |
| Creates a new iterator range. | |
Protected Member Functions | |
| AbstractRangeLocationPtr | locationBeginOverride () override |
| AbstractRange::locationBeginOverride() implementation. | |
| PropertyAccessRange (AbstractRangeSharedPtr sourceRange, AbstractPropertyType propertyType) | |
| Constructor. | |
Protected Member Functions inherited from kanzi::AbstractRange | |
| AbstractRange ()=default | |
| Constructor. | |
| virtual bool | adaptViewOverride (AbstractRange &potentialViewRange, size_t length) |
| Implementation-dependent adaptation of a view over the range. | |
| virtual AbstractRangeSharedPtr | createViewOverride (size_t length) |
| Implementation-dependent view over the range. | |
| virtual AbstractRangeSharedPtr | evaluateOverride () |
| Implementation-dependent evaluation of the range. | |
Protected Attributes | |
| AbstractPropertyType | m_propertyType |
| Property type being accessed. | |
| AbstractRangeSharedPtr | m_sourceRangeReference |
| Reference to the source range. | |
Property access range wraps the access of properties from another range.
As opposed to reading the values and writing a ValueRange, PropertyAccessRange provides a lazy access to the properties of another range.
|
inlineexplicitprotected |
Constructor.
| sourceRange | Range to iterate. |
| propertyType | Property type to access. |
|
static |
Creates a new iterator range.
| sourceRange | Range to iterate. |
| propertyType | Property type to access. |
| void kanzi::PropertyAccessRange::adapt | ( | AbstractRange & | sourceRange, |
| AbstractPropertyType | propertyType ) |
Adapts a new range and property type.
| sourceRange | Range to iterate. |
| propertyType | Property type to access. |
|
inline |
Gets the property type used for access.
|
overrideprotectedvirtual |
AbstractRange::locationBeginOverride() implementation.
Implements kanzi::AbstractRange.
|
protected |
Reference to the source range.
|
protected |
Property type being accessed.