Helper class used to modify the ExclusiveActivityHostContent of an ExclusiveActivityHost. More...
#include <kanzi/ui/node/concept/activity/exclusive_activity_host_content_handler.hpp>
Static Public Member Functions | |
static ExclusiveActivityHostConcept::ExclusiveActivityHostContent | addActivity (Node &hostNode, string_view name, string_view controllerPropertyValue, string_view prefabPath) |
Adds an Activity node to the given ExclusiveActivityHost by modifying its ExclusiveActivityHostContentProperty. | |
static ExclusiveActivityHostConcept::ExclusiveActivityHostContent | read (string_view value) |
Converts an Exclusive Activity Host Content from a string to an ExclusiveActivityHostContent object. | |
static ExclusiveActivityHostConcept::ExclusiveActivityHostContent | removeActivity (Node &hostNode, string_view name) |
Removes an Activity node from the given ExclusiveActivityHost by modifying its ExclusiveActivityHostContentProperty. | |
static string | write (const ExclusiveActivityHostConcept::ExclusiveActivityHostContent &content) |
Converts an Exclusive Activity Host Content from an ExclusiveActivityHostContent object to a string. | |
Helper class used to modify the ExclusiveActivityHostContent of an ExclusiveActivityHost.
|
static |
Adds an Activity node to the given ExclusiveActivityHost by modifying its ExclusiveActivityHostContentProperty.
hostNode | The ExclusiveActivityHost node whose ExclusiveActivityHostContentProperty this function modifies. |
name | The name of the Activity node that this function adds as a child node of the given ExclusiveActivityHost node. |
controllerPropertyValue | The value of the ControllerProperty that activates the Activity node. |
prefabPath | The path to the prefab of the Activity node. |
|
static |
Removes an Activity node from the given ExclusiveActivityHost by modifying its ExclusiveActivityHostContentProperty.
hostNode | The ExclusiveActivityHost node whose ExclusiveActivityHostContentProperty this function modifies. |
name | The name of the Activity node that this function removes from the given ExclusiveActivityHost node. |
|
static |
Converts an Exclusive Activity Host Content from a string to an ExclusiveActivityHostContent object.
value | Content description as a string. |
|
static |
Converts an Exclusive Activity Host Content from an ExclusiveActivityHostContent object to a string.
content | Structure that describes the Activity nodes. |