Kanzi  3.9.6
Kanzi Engine API
kanzi::ObjectPropertyExpressionValueSourceRuntime Class Reference

Runtime for object property expression value source. More...

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

Inheritance diagram for kanzi::ObjectPropertyExpressionValueSourceRuntime:
[legend]

Public Member Functions

string getPath () const
 Gets source path. More...
 
PropertyField getPropertyField () const
 Gets property field. More...
 
AbstractPropertyType getPropertyType () const
 Gets property type. More...
 
- Public Member Functions inherited from kanzi::AbstractExpressionValueSourceRuntime
void attach ()
 Attaches this source. More...
 
void detach ()
 Detaches this source. More...
 
VariantgetRegister ()
 Gets the variant from this value source. More...
 
const VariantgetRegister () const
 Gets the variant from this value source. More...
 
virtual ~AbstractExpressionValueSourceRuntime ()
 Destructor. More...
 

Protected Member Functions

BindingLookupContextgetLookupContext ()
 Gets the binding lookup context. More...
 
 ObjectPropertyExpressionValueSourceRuntime (const ObjectPropertyExpressionValueSource &source, ExpressionBindingSourceRuntime &host)
 Constructor. More...
 
- Protected Member Functions inherited from kanzi::AbstractExpressionValueSourceRuntime
 AbstractExpressionValueSourceRuntime (ExpressionBindingSourceRuntime &host)
 Constructor. More...
 
virtual void attachOverride ()=0
 Implementation-dependent attach. More...
 
virtual void detachOverride ()=0
 Implementation-dependent detach. More...
 

Protected Attributes

PropertyObjectWeakPtr m_object
 Property object attached to. More...
 
const ObjectPropertyExpressionValueSourcem_source
 The Object Property expression value source of this runtime. More...
 
- Protected Attributes inherited from kanzi::AbstractExpressionValueSourceRuntime
Variant m_cachedValue
 Cached value stored. More...
 
ExpressionBindingSourceRuntimem_host
 Host multi binding source. More...
 

Detailed Description

Runtime for object property expression value source.

Since
Kanzi 3.7.0

Constructor & Destructor Documentation

◆ ObjectPropertyExpressionValueSourceRuntime()

kanzi::ObjectPropertyExpressionValueSourceRuntime::ObjectPropertyExpressionValueSourceRuntime ( const ObjectPropertyExpressionValueSource source,
ExpressionBindingSourceRuntime host 
)
inlineprotected

Constructor.

Parameters
sourceThe Object Property expression value source for this runtime.
hostThe host multi-binding source runtime.

Member Function Documentation

◆ getPath()

string kanzi::ObjectPropertyExpressionValueSourceRuntime::getPath ( ) const

Gets source path.

Returns
path to source.

◆ getPropertyType()

AbstractPropertyType kanzi::ObjectPropertyExpressionValueSourceRuntime::getPropertyType ( ) const

Gets property type.

Returns
Property type for this source.

◆ getPropertyField()

PropertyField kanzi::ObjectPropertyExpressionValueSourceRuntime::getPropertyField ( ) const

Gets property field.

Returns
Property field for this source.

◆ getLookupContext()

BindingLookupContext& kanzi::ObjectPropertyExpressionValueSourceRuntime::getLookupContext ( )
protected

Gets the binding lookup context.

Returns
Reference to binding lookup context.

Member Data Documentation

◆ m_object

PropertyObjectWeakPtr kanzi::ObjectPropertyExpressionValueSourceRuntime::m_object
protected

Property object attached to.

◆ m_source

const ObjectPropertyExpressionValueSource& kanzi::ObjectPropertyExpressionValueSourceRuntime::m_source
protected

The Object Property expression value source of this runtime.


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