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. | |
AbstractPropertyType | getPropertyType () const |
Gets the source property type. | |
Public Member Functions inherited from kanzi::AbstractExpressionValueSource | |
BindingSourcePtr | convertToBindingSource () |
Converts this expression value source to a matching binding source. | |
AbstractExpressionValueSourceRuntimePtr | createRuntime (ExpressionBindingSourceRuntime &host) |
Creates a runtime for this expression value source. | |
virtual | ~AbstractExpressionValueSource () |
Destructor. | |
Static Public Member Functions | |
static VariableExpressionValueSourceSharedPtr | create (AbstractPropertyType propertyType) |
Creates a variable expression value source. | |
static VariableExpressionValueSourceSharedPtr | create (AbstractPropertyType propertyType, PropertyField field) |
Creates a variable expression value source. | |
Protected Member Functions | |
BindingSourcePtr | convertToBindingSourceOverride () override |
AbstractExpressionValueSource::convertToBindingSourceOverride() implementation. | |
AbstractExpressionValueSourceRuntimePtr | createRuntimeOverride (ExpressionBindingSourceRuntime &host) override |
AbstractExpressionValueSource::createRuntimeOverride() implementation. | |
VariableExpressionValueSource (AbstractPropertyType propertyType, PropertyField field) | |
Constructor. | |
Protected Member Functions inherited from kanzi::AbstractExpressionValueSource | |
AbstractExpressionValueSource () | |
Constructor. | |
Protected Attributes | |
PropertyField | m_field |
Property field to read when property is changed. | |
AbstractPropertyType | m_propertyType |
Property type to listen to. | |
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.