kanzi::BindingExpressionOpCode Struct Reference

Expression binding operation. More...

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

Inheritance diagram for kanzi::BindingExpressionOpCode:
kanzi::BindingOperation

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...
 
 BindingExpressionOpCode ()
 Constructor. More...
 

Public Attributes

Settings settings
 Information about expression operation. More...
 
BindingExpressionFunction operation
 Operation function pointer. More...
 
const VariantfirstArgumentRegister
 Register for first argument to operation function. More...
 
PropertyField firstArgumentField
 Cached first argument field. More...
 
const VariantsecondArgumentRegister
 Register for second argument to operation function. More...
 
PropertyField secondArgumentField
 Cached second argument field. More...
 
const VariantthirdArgumentRegister
 Register for third argument to operation function. More...
 
PropertyField thirdArgumentField
 Cached third argument field. More...
 
VariantoutputRegister
 Register for output argument of operation function. More...
 
PropertyField outputField
 Cached output argument field. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

kanzi::BindingExpressionOpCode::BindingExpressionOpCode ( )
inlineexplicit

Constructor.

Member Function Documentation

virtual void kanzi::BindingExpressionOpCode::attach ( Binding binding)
virtual
virtual void kanzi::BindingExpressionOpCode::detach ( )
virtual
virtual void kanzi::BindingExpressionOpCode::execute ( )
virtual
virtual BindingOperationSharedPtr kanzi::BindingExpressionOpCode::clone ( )
virtual

Member Data Documentation

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.


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