Location implementation for typed value range. More...
#include <kanzi/core.ui/binding/value_range.hpp>
Static Public Member Functions | |
static AbstractRangeLocationPtr | create (ValueRange &range, iterator iter) |
Creates a new range location. | |
Protected Member Functions | |
bool | advanceOverride () override |
AbstractValueRangeLocation::matchesOverride() implementation. | |
AbstractRangeLocationPtr | cloneOverride () override |
AbstractValueRangeLocation::cloneOverride() implementation. | |
PropertyObjectSharedPtr | getPropertyObjectOverride () override |
AbstractValueRangeLocation::matchesOverride() implementation. | |
bool | getPropertyValueOverride (AbstractPropertyType propertyType, Variant &value) override |
AbstractValueRangeLocation::getPropertyValueOverride() implementation. | |
ValueRange & | getRange () |
Accesses the range with correct type. | |
const ValueRange & | getRange () const |
Accesses the range with correct type. | |
bool | getValueOverride (Variant &value) override |
AbstractValueRangeLocation::getValueOverride() implementation. | |
bool | isValidOverride () const override |
AbstractValueRangeLocation::isValidOverride() implementation. | |
bool | matchesOverride (const AbstractRangeLocation &other) const override |
AbstractValueRangeLocation::matchesOverride() implementation. | |
ValueRangeLocation (ValueRange &range, iterator iter) | |
Constructor. | |
Protected Member Functions inherited from kanzi::AbstractRangeLocation | |
AbstractRangeLocation (AbstractRange &range) | |
Constructor. | |
Protected Attributes | |
iterator | m_iter |
Iterator into the range. | |
Protected Attributes inherited from kanzi::AbstractRangeLocation | |
AbstractRange & | m_range |
Reference to source range. | |
Additional Inherited Members | |
Public Member Functions inherited from kanzi::AbstractRangeLocation | |
bool | advance () |
Advances the location. | |
unique_ptr< AbstractRangeLocation > | clone () |
Returns a clone of this range location. | |
PropertyObjectSharedPtr | getPropertyObject () |
Access to a property object at the location. | |
bool | getPropertyValue (AbstractPropertyType propertyType, Variant &value) |
Access a property in a property object at a location. | |
AbstractRange & | getRange () |
Returns a reference to the range being iterated. | |
const AbstractRange & | getRange () const |
Returns a const reference to the range being iterated. | |
bool | getValue (Variant &value) |
Access a value from a location. | |
bool | isValid () const |
Indicates whether the location is valid. | |
bool | matches (const AbstractRangeLocation &other) const |
Indicates whether a range location matches another. | |
operator bool () const | |
Cast to bool operator. | |
bool | operator!= (const AbstractRangeLocation &rhs) const |
Not equals operator. | |
bool | operator== (const AbstractRangeLocation &rhs) const |
Equals operator. | |
virtual | ~AbstractRangeLocation ()=default |
Destructor. | |
Location implementation for typed value range.
|
inlineexplicitprotected |
Constructor.
range | Parent range. |
iter | Iterator into the range. |
|
inlinestatic |
Creates a new range location.
range | Parent range. |
iter | Iterator into the range. |
|
inlineprotected |
Accesses the range with correct type.
|
inlineprotected |
Accesses the range with correct type.
|
overrideprotectedvirtual |
AbstractValueRangeLocation::cloneOverride() implementation.
Implements kanzi::AbstractRangeLocation.
|
overrideprotectedvirtual |
AbstractValueRangeLocation::matchesOverride() implementation.
Implements kanzi::AbstractRangeLocation.
|
overrideprotectedvirtual |
AbstractValueRangeLocation::isValidOverride() implementation.
Implements kanzi::AbstractRangeLocation.
|
overrideprotectedvirtual |
AbstractValueRangeLocation::matchesOverride() implementation.
Implements kanzi::AbstractRangeLocation.
|
overrideprotectedvirtual |
AbstractValueRangeLocation::matchesOverride() implementation.
Implements kanzi::AbstractRangeLocation.
|
overrideprotectedvirtual |
AbstractValueRangeLocation::getPropertyValueOverride() implementation.
Implements kanzi::AbstractRangeLocation.
|
overrideprotectedvirtual |
AbstractValueRangeLocation::getValueOverride() implementation.
Implements kanzi::AbstractRangeLocation.
|
protected |
Iterator into the range.