Kanzi  3.9.5
Kanzi Engine API
kanzi::PropertyAccessRange::PropertyAccessRangeLocation Class Reference

Location implementation for property access range. More...

#include <kanzi/core.ui/binding/property_access_range.hpp>

Inheritance diagram for kanzi::PropertyAccessRange::PropertyAccessRangeLocation:
[legend]

Static Public Member Functions

static AbstractRangeLocationPtr create (PropertyAccessRange &range, AbstractRangeLocationPtr location)
 Creates a new range location. More...
 

Protected Member Functions

bool advanceOverride () override
 AbstractRangeLocation::advanceOverride() implementation. More...
 
AbstractRangeLocationPtr cloneOverride () override
 AbstractRangeLocation::cloneOverride() implementation. More...
 
PropertyObjectSharedPtr getPropertyObjectOverride () override
 AbstractRangeLocation::getPropertyObjectOverride() implementation. More...
 
bool getPropertyValueOverride (AbstractPropertyType propertyType, Variant &value) override
 AbstractRangeLocation::getPropertyValueOverride() implementation. More...
 
PropertyAccessRangegetRange ()
 Accesses the range with correct type. More...
 
const PropertyAccessRangegetRange () const
 Accesses the range with correct type. More...
 
bool getValueOverride (Variant &value) override
 AbstractRangeLocation::getValueOverride() implementation. More...
 
bool isValidOverride () const override
 AbstractRangeLocation::isValidOverride() implementation. More...
 
bool matchesOverride (const AbstractRangeLocation &other) const override
 AbstractRangeLocation::matchesOverride() implementation. More...
 
 PropertyAccessRangeLocation (PropertyAccessRange &range, AbstractRangeLocationPtr location)
 Constructor. More...
 
- Protected Member Functions inherited from kanzi::AbstractRangeLocation
 AbstractRangeLocation (AbstractRange &range)
 Constructor. More...
 

Protected Attributes

AbstractRangeLocationPtr m_location
 Location into the source range. More...
 
- Protected Attributes inherited from kanzi::AbstractRangeLocation
AbstractRangem_range
 Reference to source range. More...
 

Additional Inherited Members

- Public Member Functions inherited from kanzi::AbstractRangeLocation
bool advance ()
 Advances the location. More...
 
unique_ptr< AbstractRangeLocationclone ()
 Returns a clone of this range location. More...
 
PropertyObjectSharedPtr getPropertyObject ()
 Access to a property object at the location. More...
 
bool getPropertyValue (AbstractPropertyType propertyType, Variant &value)
 Access a property in a property object at a location. More...
 
AbstractRangegetRange ()
 Returns a reference to the range being iterated. More...
 
const AbstractRangegetRange () const
 Returns a const reference to the range being iterated. More...
 
bool getValue (Variant &value)
 Access a value from a location. More...
 
bool isValid () const
 Indicates whether the location is valid. More...
 
bool matches (const AbstractRangeLocation &other) const
 Indicates whether a range location matches another. More...
 
 operator bool () const
 Cast to bool operator. More...
 
bool operator!= (const AbstractRangeLocation &rhs) const
 Not equals operator. More...
 
bool operator== (const AbstractRangeLocation &rhs) const
 Equals operator. More...
 
virtual ~AbstractRangeLocation ()=default
 Destructor. More...
 

Detailed Description

Location implementation for property access range.

Constructor & Destructor Documentation

◆ PropertyAccessRangeLocation()

kanzi::PropertyAccessRange::PropertyAccessRangeLocation::PropertyAccessRangeLocation ( PropertyAccessRange range,
AbstractRangeLocationPtr  location 
)
inlineexplicitprotected

Constructor.

Parameters
rangeParent range.
locationLocation into the source range.

Member Function Documentation

◆ create()

static AbstractRangeLocationPtr kanzi::PropertyAccessRange::PropertyAccessRangeLocation::create ( PropertyAccessRange range,
AbstractRangeLocationPtr  location 
)
inlinestatic

Creates a new range location.

Parameters
rangeParent range.
locationLocation into the source range.

◆ getRange() [1/2]

PropertyAccessRange& kanzi::PropertyAccessRange::PropertyAccessRangeLocation::getRange ( )
inlineprotected

Accesses the range with correct type.

Returns
Casted range.

◆ getRange() [2/2]

const PropertyAccessRange& kanzi::PropertyAccessRange::PropertyAccessRangeLocation::getRange ( ) const
inlineprotected

Accesses the range with correct type.

Returns
Casted range.

◆ cloneOverride()

AbstractRangeLocationPtr kanzi::PropertyAccessRange::PropertyAccessRangeLocation::cloneOverride ( )
overrideprotectedvirtual

◆ matchesOverride()

bool kanzi::PropertyAccessRange::PropertyAccessRangeLocation::matchesOverride ( const AbstractRangeLocation other) const
overrideprotectedvirtual

◆ isValidOverride()

bool kanzi::PropertyAccessRange::PropertyAccessRangeLocation::isValidOverride ( ) const
overrideprotectedvirtual

◆ advanceOverride()

bool kanzi::PropertyAccessRange::PropertyAccessRangeLocation::advanceOverride ( )
overrideprotectedvirtual

◆ getPropertyObjectOverride()

PropertyObjectSharedPtr kanzi::PropertyAccessRange::PropertyAccessRangeLocation::getPropertyObjectOverride ( )
overrideprotectedvirtual

◆ getPropertyValueOverride()

bool kanzi::PropertyAccessRange::PropertyAccessRangeLocation::getPropertyValueOverride ( AbstractPropertyType  propertyType,
Variant value 
)
overrideprotectedvirtual

◆ getValueOverride()

bool kanzi::PropertyAccessRange::PropertyAccessRangeLocation::getValueOverride ( Variant value)
overrideprotectedvirtual

Member Data Documentation

◆ m_location

AbstractRangeLocationPtr kanzi::PropertyAccessRange::PropertyAccessRangeLocation::m_location
protected

Location into the source range.


The documentation for this class was generated from the following file: