Kanzi  3.9.7
Kanzi Engine API
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. More...
 
AbstractPropertyTypeDescriptor::ValueSourceOwnercreateValueSourceOwner (ValueSourceBindingTargetRuntime &targetRuntime, bool reuseAllowed) override
 BindingLookupContext::createValueSourceOwner() implementation. More...
 
NodegetNode ()
 Returns the node used for lookup. More...
 
ObjectSharedPtr lookup (string_view path) override
 BindingLookupContext::lookup() implementation. More...
 
void registerGlobalNotification (string_view path, BindingLookupNotificationBase &notificationObject) override
 BindingLookupContext::registerGlobalNotification() implementation. More...
 
void registerLocalNotification (PropertyObject *object, string_view path, BindingLookupNotificationBase &notificationObject) override
 BindingLookupContext::registerLocalNotification() implementation. More...
 
void unregisterGlobalNotification (string_view path, BindingLookupNotificationBase &notificationObject) override
 BindingLookupContext::unregisterGlobalNotification() implementation. More...
 
void unregisterLocalNotification (PropertyObject *object, string_view path, BindingLookupNotificationBase &notificationObject) override
 BindingLookupContext::unregisterLocalNotification() implementation. More...
 
- Public Member Functions inherited from kanzi::BindingLookupContext
virtual void * lookupRaw (string_view path)
 Looks up object by path. More...
 
virtual ~BindingLookupContext ()=default
 Destructor. More...
 

Static Public Member Functions

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

Protected Member Functions

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

Detailed Description

Binding lookup context for Node.

Since
Kanzi 3.7.0

Constructor & Destructor Documentation

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

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.
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.
BindingLookupContextPtr kanzi::BindingNodeLookupContext::clone ( )
overridevirtual

BindingLookupContext::clone() implementation.

Reimplemented from kanzi::BindingLookupContext.

ObjectSharedPtr kanzi::BindingNodeLookupContext::lookup ( string_view  path)
overridevirtual
AbstractPropertyTypeDescriptor::ValueSourceOwner* kanzi::BindingNodeLookupContext::createValueSourceOwner ( ValueSourceBindingTargetRuntime targetRuntime,
bool  reuseAllowed 
)
overridevirtual
void kanzi::BindingNodeLookupContext::registerGlobalNotification ( string_view  path,
BindingLookupNotificationBase notificationObject 
)
overridevirtual
void kanzi::BindingNodeLookupContext::unregisterGlobalNotification ( string_view  path,
BindingLookupNotificationBase notificationObject 
)
overridevirtual
void kanzi::BindingNodeLookupContext::registerLocalNotification ( PropertyObject object,
string_view  path,
BindingLookupNotificationBase notificationObject 
)
overridevirtual
void kanzi::BindingNodeLookupContext::unregisterLocalNotification ( PropertyObject object,
string_view  path,
BindingLookupNotificationBase notificationObject 
)
overridevirtual
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: