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
 Create info containing settings for this source. 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

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

Constructor.

Parameters
sourceRuntimeSource runtime for this value source.
createInfoCreation information for this value source.

Member Function Documentation

string kanzi::ObjectPropertyExpressionValueSourceRuntime::getPath ( ) const

Gets source path.

Returns
path to source.
AbstractPropertyType kanzi::ObjectPropertyExpressionValueSourceRuntime::getPropertyType ( ) const

Gets property type.

Returns
Property type for this source.
PropertyField kanzi::ObjectPropertyExpressionValueSourceRuntime::getPropertyField ( ) const

Gets property field.

Returns
Property field for this source.
BindingLookupContext& kanzi::ObjectPropertyExpressionValueSourceRuntime::getLookupContext ( )
protected

Gets the binding lookup context.

Returns
Reference to binding lookup context.

Member Data Documentation

PropertyObjectWeakPtr kanzi::ObjectPropertyExpressionValueSourceRuntime::m_object
protected

Property object attached to.

const ObjectPropertyExpressionValueSource& kanzi::ObjectPropertyExpressionValueSourceRuntime::m_source
protected

Create info containing settings for this source.


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