Expression binding operation. More...
#include <kanzi/core.ui/binding/expression_binding_processor.hpp>
Classes | |
struct | Settings |
Settings contain information about expression binding operation, i.e. More... | |
Public Member Functions | |
virtual void | attach (Binding &binding) KZ_OVERRIDE |
BindingOperation::attach() implementation. More... | |
virtual void | detach () KZ_OVERRIDE |
BindingOperation::detach() implementation. More... | |
virtual void | execute () KZ_OVERRIDE |
BindingOperation::execute() implementation. More... | |
virtual BindingOperationSharedPtr | clone () KZ_OVERRIDE |
BindingOperation::clone() implementation. More... | |
Public Attributes | |
Settings | settings |
Information about expression operation. More... | |
BindingExpressionFunction | operation |
Operation function pointer. More... | |
const Variant * | firstArgumentRegister |
Register for first argument to operation function. More... | |
PropertyField | firstArgumentField |
Cached first argument field. More... | |
const Variant * | secondArgumentRegister |
Register for second argument to operation function. More... | |
PropertyField | secondArgumentField |
Cached second argument field. More... | |
const Variant * | thirdArgumentRegister |
Register for third argument to operation function. More... | |
PropertyField | thirdArgumentField |
Cached third argument field. More... | |
Variant * | outputRegister |
Register for output argument of operation function. More... | |
PropertyField | outputField |
Cached output argument field. More... | |
Expression binding operation.
When adding new expression operation to binding, create instance of BindingExpressionOpCode, leave its fields to default values, set fields of its Settings to appropriate values and add the BindingExpressionOpCode instance to a binding.
|
virtual |
BindingOperation::attach() implementation.
Implements kanzi::BindingOperation.
|
virtual |
BindingOperation::detach() implementation.
Implements kanzi::BindingOperation.
|
virtual |
BindingOperation::execute() implementation.
Implements kanzi::BindingOperation.
|
virtual |
BindingOperation::clone() implementation.
Implements kanzi::BindingOperation.
Settings kanzi::BindingExpressionOpCode::settings |
Information about expression operation.
BindingExpressionFunction kanzi::BindingExpressionOpCode::operation |
Operation function pointer.
const Variant* kanzi::BindingExpressionOpCode::firstArgumentRegister |
Register for first argument to operation function.
PropertyField kanzi::BindingExpressionOpCode::firstArgumentField |
Cached first argument field.
const Variant* kanzi::BindingExpressionOpCode::secondArgumentRegister |
Register for second argument to operation function.
PropertyField kanzi::BindingExpressionOpCode::secondArgumentField |
Cached second argument field.
const Variant* kanzi::BindingExpressionOpCode::thirdArgumentRegister |
Register for third argument to operation function.
PropertyField kanzi::BindingExpressionOpCode::thirdArgumentField |
Cached third argument field.
Variant* kanzi::BindingExpressionOpCode::outputRegister |
Register for output argument of operation function.
PropertyField kanzi::BindingExpressionOpCode::outputField |
Cached output argument field.