Variable expression value source. More...
#include <kanzi/core.ui/binding/variable_expression_value_source.hpp>
Public Member Functions | |
PropertyField | getPropertyField () const |
Gets the source property field. More... | |
AbstractPropertyType | getPropertyType () const |
Gets the source property type. More... | |
Public Member Functions inherited from kanzi::AbstractExpressionValueSource | |
BindingSourcePtr | convertToBindingSource () |
Converts this expression value source to a matching binding source. More... | |
AbstractExpressionValueSourceRuntimePtr | createRuntime (ExpressionBindingSourceRuntime &host) |
Creates a runtime for this expression value source. More... | |
virtual | ~AbstractExpressionValueSource () |
Destructor. More... | |
Static Public Member Functions | |
static VariableExpressionValueSourceSharedPtr | create (AbstractPropertyType propertyType, PropertyField field) |
Creates a variable expression value source. More... | |
static VariableExpressionValueSourceSharedPtr | create (AbstractPropertyType propertyType) |
Creates a variable expression value source. More... | |
Protected Member Functions | |
BindingSourcePtr | convertToBindingSourceOverride () override |
AbstractExpressionValueSource::convertToBindingSourceOverride() implementation. More... | |
AbstractExpressionValueSourceRuntimePtr | createRuntimeOverride (ExpressionBindingSourceRuntime &host) override |
AbstractExpressionValueSource::createRuntimeOverride() implementation. More... | |
VariableExpressionValueSource (AbstractPropertyType propertyType, PropertyField field) | |
Constructor. More... | |
Protected Member Functions inherited from kanzi::AbstractExpressionValueSource | |
AbstractExpressionValueSource () | |
Constructor. More... | |
Protected Attributes | |
PropertyField | m_field |
Property field to read when property is changed. More... | |
AbstractPropertyType | m_propertyType |
Property type to listen to. More... | |
Variable expression value source.
Reads a variable in a variable host.
|
inlineprotected |
Constructor.
propertyType | Property type to listen to. |
field | Property field to read. |
|
static |
Creates a variable expression value source.
propertyType | Property type to listen to. |
field | Property field to read. |
|
inlinestatic |
Creates a variable expression value source.
Uses the whole property.
propertyType | Property type to listen to. |
|
inline |
Gets the source property type.
|
inline |
Gets the source property field.
|
overrideprotectedvirtual |
AbstractExpressionValueSource::createRuntimeOverride() implementation.
Implements kanzi::AbstractExpressionValueSource.
|
overrideprotectedvirtual |
AbstractExpressionValueSource::convertToBindingSourceOverride() implementation.
Implements kanzi::AbstractExpressionValueSource.
|
protected |
Property type to listen to.
|
protected |
Property field to read when property is changed.