Kanzi 3.9.10
kanzi::BindingNodeLookupContext Class Reference

Binding lookup context for Node. More...

#include <kanzi/core.ui/node/binding_node_lookup_context.hpp>

Inheritance diagram for kanzi::BindingNodeLookupContext:
[legend]

Public Member Functions

BindingLookupContextPtr clone () override
 BindingLookupContext::clone() implementation.
 
AbstractPropertyTypeDescriptor::ValueSourceOwnercreateValueSourceOwner (ValueSourceBindingTargetRuntime &targetRuntime, bool reuseAllowed) override
 BindingLookupContext::createValueSourceOwner() implementation.
 
NodegetNode ()
 Returns the node used for lookup.
 
ObjectSharedPtr lookup (string_view path) override
 BindingLookupContext::lookup() implementation.
 
void registerGlobalNotification (string_view path, BindingLookupNotificationBase &notificationObject) override
 BindingLookupContext::registerGlobalNotification() implementation.
 
void registerLocalNotification (PropertyObject *object, string_view path, BindingLookupNotificationBase &notificationObject) override
 BindingLookupContext::registerLocalNotification() implementation.
 
void unregisterGlobalNotification (string_view path, BindingLookupNotificationBase &notificationObject) override
 BindingLookupContext::unregisterGlobalNotification() implementation.
 
void unregisterLocalNotification (PropertyObject *object, string_view path, BindingLookupNotificationBase &notificationObject) override
 BindingLookupContext::unregisterLocalNotification() implementation.
 
- Public Member Functions inherited from kanzi::BindingLookupContext
virtual voidlookupRaw (string_view path)
 Looks up object by path.
 
virtual ~BindingLookupContext ()=default
 Destructor.
 

Static Public Member Functions

static BindingLookupContextPtr create (Node &node)
 Creates a binding lookup context for given node.
 
static BindingLookupContextPtr create (Node &node, NodeSharedPtr templateRoot)
 Creates a binding lookup context for given node.
 

Protected Member Functions

 BindingNodeLookupContext (Node &node, NodeSharedPtr templateRoot)
 Constructor.
 
- Protected Member Functions inherited from kanzi::BindingLookupContext
 BindingLookupContext ()=default
 Constructor.
 

Detailed Description

Binding lookup context for Node.

Since
Kanzi 3.7.0

Constructor & Destructor Documentation

◆ BindingNodeLookupContext()

kanzi::BindingNodeLookupContext::BindingNodeLookupContext ( Node & node,
NodeSharedPtr templateRoot )
inlineexplicitprotected

Constructor.

Parameters
nodeNode to use as base for lookup.
templateRootTemplate root of this node. May be empty.

Member Function Documentation

◆ create() [1/2]

static BindingLookupContextPtr kanzi::BindingNodeLookupContext::create ( Node & node,
NodeSharedPtr templateRoot )
static

Creates a binding lookup context for given node.

Parameters
nodeNode to use as base for lookup.
templateRootTemplate root for given node.

◆ create() [2/2]

static BindingLookupContextPtr kanzi::BindingNodeLookupContext::create ( Node & node)
static

Creates a binding lookup context for given node.

Template root is not initialized.

Parameters
nodeNode to use as base for lookup.

◆ clone()

BindingLookupContextPtr kanzi::BindingNodeLookupContext::clone ( )
overridevirtual

BindingLookupContext::clone() implementation.

Reimplemented from kanzi::BindingLookupContext.

◆ lookup()

ObjectSharedPtr kanzi::BindingNodeLookupContext::lookup ( string_view path)
overridevirtual

◆ createValueSourceOwner()

AbstractPropertyTypeDescriptor::ValueSourceOwner * kanzi::BindingNodeLookupContext::createValueSourceOwner ( ValueSourceBindingTargetRuntime & targetRuntime,
bool reuseAllowed )
overridevirtual

◆ registerGlobalNotification()

void kanzi::BindingNodeLookupContext::registerGlobalNotification ( string_view path,
BindingLookupNotificationBase & notificationObject )
overridevirtual

◆ unregisterGlobalNotification()

void kanzi::BindingNodeLookupContext::unregisterGlobalNotification ( string_view path,
BindingLookupNotificationBase & notificationObject )
overridevirtual

◆ registerLocalNotification()

void kanzi::BindingNodeLookupContext::registerLocalNotification ( PropertyObject * object,
string_view path,
BindingLookupNotificationBase & notificationObject )
overridevirtual

◆ unregisterLocalNotification()

void kanzi::BindingNodeLookupContext::unregisterLocalNotification ( PropertyObject * object,
string_view path,
BindingLookupNotificationBase & notificationObject )
overridevirtual

◆ getNode()

Node & kanzi::BindingNodeLookupContext::getNode ( )
inline

Returns the node used for lookup.

Returns
The node used for lookup.

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