ImmutableSplitStringRange is an analogue to the ImmutableIteratorRange for a SplitStringRange. More...
#include <kanzi/core.ui/binding/split_string_range.hpp>
Static Public Member Functions | |
static ImmutableSplitStringRangeSharedPtr | create (SplitStringRangeSharedPtr sourceRange, SplitStringRange::SplitPosition splitPos) |
Creates a new immutable split string range. | |
Protected Attributes | |
SplitStringRangeSharedPtr | m_sourceRange |
Pointer to source range. | |
SplitStringRange::SplitPosition | m_splitPos |
Split position in source range. | |
Additional Inherited Members | |
Public Member Functions inherited from kanzi::AbstractIndexedRange | |
PropertyObjectSharedPtr | getPropertyObjectByIndex (size_t index) |
Gets a property object by index. | |
bool | getPropertyValueByIndex (size_t index, AbstractPropertyType propertyType, Variant &value) |
Access a property in a property object at an index. | |
size_t | getSize () |
Gets the size of the indexed range. | |
bool | getValueByIndex (size_t index, Variant &value) |
Reads a value by index and writes it to a variant. | |
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. | |
ImmutableSplitStringRange is an analogue to the ImmutableIteratorRange for a SplitStringRange.
|
inlineexplicitprotected |
Constructor.
sourceRange | Source split string range. |
splitPos | Split position into the source range. |
|
static |
Creates a new immutable split string range.
sourceRange | Source split string range. |
splitPos | Split position into the source range. |
|
overrideprotectedvirtual |
AbstractRange::evaluateOverride() implementation.
Reimplemented from kanzi::AbstractRange.
|
overrideprotectedvirtual |
AbstractRange::locationBeginOverride() implementation.
Implements kanzi::AbstractRange.
|
overrideprotectedvirtual |
AbstractRange::getSizeOverride() implementation.
Implements kanzi::AbstractIndexedRange.
|
overrideprotectedvirtual |
AbstractRange::getPropertyObjectByIndexOverride() implementation.
Implements kanzi::AbstractIndexedRange.
|
overrideprotectedvirtual |
AbstractRange::getPropertyValueByIndexOverride() implementation.
Implements kanzi::AbstractIndexedRange.
|
overrideprotectedvirtual |
AbstractRange::getValueByIndexOverride() implementation.
Implements kanzi::AbstractIndexedRange.
|
protected |
Pointer to source range.
|
protected |
Split position in source range.