Kanzi  3.9.4
Kanzi Engine API
kanzi::BindingExpressionOpCodeParameters Struct Reference

Runtime Parameters for binding expression opcodes. More...

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

Public Member Functions

 BindingExpressionOpCodeParameters (const Variant *argument1, PropertyField field1, const Variant *argument2, PropertyField field2, const Variant *argument3, PropertyField field3, Variant *output, PropertyField outputField, BindingLookupContext *lookupContext)
 Constructor. More...
 
 BindingExpressionOpCodeParameters (const Variant *argument1, PropertyField field1, const Variant *argument2, PropertyField field2, Variant *output, PropertyField outputField, BindingLookupContext *lookupContext)
 Constructor. More...
 
 BindingExpressionOpCodeParameters (const Variant *argument1, PropertyField field1, const Variant *argument2, PropertyField field2, Variant *output, PropertyField outputField)
 Constructor. More...
 
 BindingExpressionOpCodeParameters (const Variant *argument1, PropertyField field1, Variant *output, PropertyField outputField)
 Constructor. More...
 
 BindingExpressionOpCodeParameters (const Variant *argument1, PropertyField field1, Variant *output, PropertyField outputField, BindingLookupContext *lookupContext)
 Constructor. More...
 
 BindingExpressionOpCodeParameters ()=default
 Empty constructor. More...
 

Public Attributes

array< PropertyField, s_registerCountargumentFields
 
array< const Variant *, s_registerCountargumentRegisters
 
BindingLookupContextlookupContext
 Lookup context. More...
 
PropertyField outputField
 Cached output argument field. More...
 
VariantoutputRegister
 Register for output argument of operation function. More...
 

Static Public Attributes

static constexpr uint32_t s_registerCount
 

Detailed Description

Runtime Parameters for binding expression opcodes.

Filled from BindingExpressionOpCode structure and passed to binding expression function.

Constructor & Destructor Documentation

◆ BindingExpressionOpCodeParameters() [1/6]

kanzi::BindingExpressionOpCodeParameters::BindingExpressionOpCodeParameters ( const Variant argument1,
PropertyField  field1,
const Variant argument2,
PropertyField  field2,
const Variant argument3,
PropertyField  field3,
Variant output,
PropertyField  outputField,
BindingLookupContext lookupContext 
)
inlineexplicit

Constructor.

Parameters
argument1First argument.
field1First argument field.
argument2Second argument.
field2Second argument field.
argument3Third argument.
field3Third argument field.
outputOutput argument.
outputFieldOutput field.
lookupContextLookup context.

◆ BindingExpressionOpCodeParameters() [2/6]

kanzi::BindingExpressionOpCodeParameters::BindingExpressionOpCodeParameters ( const Variant argument1,
PropertyField  field1,
const Variant argument2,
PropertyField  field2,
Variant output,
PropertyField  outputField,
BindingLookupContext lookupContext 
)
inlineexplicit

Constructor.

Third argument is not initialized.

Parameters
argument1First argument.
field1First argument field.
argument2Second argument.
field2Second argument field.
outputOutput argument.
outputFieldOutput field.
lookupContextLookup context.

◆ BindingExpressionOpCodeParameters() [3/6]

kanzi::BindingExpressionOpCodeParameters::BindingExpressionOpCodeParameters ( const Variant argument1,
PropertyField  field1,
const Variant argument2,
PropertyField  field2,
Variant output,
PropertyField  outputField 
)
inlineexplicit

Constructor.

Third argument is not initialized. Lookup context is not initialized.

Parameters
argument1First argument.
field1First argument field.
argument2Second argument.
field2Second argument field.
outputOutput argument.
outputFieldOutput field.

◆ BindingExpressionOpCodeParameters() [4/6]

kanzi::BindingExpressionOpCodeParameters::BindingExpressionOpCodeParameters ( const Variant argument1,
PropertyField  field1,
Variant output,
PropertyField  outputField 
)
inlineexplicit

Constructor.

Second and third arguments are not initialized. Lookup context is not initialized.

Parameters
argument1First argument.
field1First argument field.
outputOutput argument.
outputFieldOutput field.

◆ BindingExpressionOpCodeParameters() [5/6]

kanzi::BindingExpressionOpCodeParameters::BindingExpressionOpCodeParameters ( const Variant argument1,
PropertyField  field1,
Variant output,
PropertyField  outputField,
BindingLookupContext lookupContext 
)
inlineexplicit

Constructor.

Second and third arguments are not initialized. Lookup context is not initialized.

Parameters
argument1First argument.
field1First argument field.
outputOutput argument.
outputFieldOutput field.
lookupContextLookup context.

◆ BindingExpressionOpCodeParameters() [6/6]

kanzi::BindingExpressionOpCodeParameters::BindingExpressionOpCodeParameters ( )
explicitdefault

Empty constructor.

Member Data Documentation

◆ s_registerCount

constexpr uint32_t kanzi::BindingExpressionOpCodeParameters::s_registerCount
static

◆ argumentRegisters

array<const Variant*, s_registerCount> kanzi::BindingExpressionOpCodeParameters::argumentRegisters

◆ argumentFields

array<PropertyField, s_registerCount> kanzi::BindingExpressionOpCodeParameters::argumentFields

◆ outputRegister

Variant* kanzi::BindingExpressionOpCodeParameters::outputRegister

Register for output argument of operation function.

◆ outputField

PropertyField kanzi::BindingExpressionOpCodeParameters::outputField

Cached output argument field.

◆ lookupContext

BindingLookupContext* kanzi::BindingExpressionOpCodeParameters::lookupContext

Lookup context.


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