|
Rose
|
A container which holds the subordinate Node objects. More...
#include <StructuredTypes.h>


Public Member Functions | |
| std::string_view | nodeId () const noexcept override |
| virtual void | add (const std::shared_ptr< Node > &node) |
| void | remove (const std::shared_ptr< Node > &node) |
Public Member Functions inherited from rose::Node | |
| Node (const std::shared_ptr< Container > &container) | |
| Create a node and add it to a Container. More... | |
| void | setId (const Id &nodeId) noexcept |
| Set Id. | |
| std::string_view | getId () const |
| Get Id. | |
| IdPath | getIdPath () const |
| Get the Id Path. | |
| virtual void | addedToContainer () |
| Called when a Node is added to a Container. More... | |
| std::shared_ptr< Container > | container () |
| std::shared_ptr< Container > | container () const |
| template<typename C > | |
| std::shared_ptr< C > | containerAs () |
| template<typename C > | |
| std::shared_ptr< C > | containerAs () const |
| std::shared_ptr< const Node > | getNode () const |
| Get a const std::shared_ptr to this node. More... | |
| std::shared_ptr< Node > | getNode () |
| Get a std::shared_ptr to this node. More... | |
| template<typename NodeType > | |
| std::shared_ptr< const Node > | getNode () const |
| Get a std::shared_ptr<const NodeType> to this node. More... | |
| template<typename NodeType > | |
| std::shared_ptr< NodeType > | getNode () |
| Get a std::shared_ptr<NodeType> to this node. More... | |
| std::shared_ptr< Node > | remove () |
Static Public Attributes | |
| static constexpr std::string_view | id = "Container" |
Static Public Attributes inherited from rose::Node | |
| static constexpr std::string_view | id = "Node" |
Additional Inherited Members | |
Public Types inherited from rose::Node | |
| using | NodePtr = std::shared_ptr< Node > |
Static Public Member Functions inherited from rose::Node | |
| template<typename NodeType > | |
| static std::shared_ptr< NodeType > | create () |
| Create a Node with no arguments. More... | |
| template<typename NodeType , typename ... Args> | |
| static std::shared_ptr< NodeType > | create (Args ... args) |
| Create a Node with arguments. More... | |
| template<typename NodeType , typename ContainerType , typename ... Args> | |
| static std::shared_ptr< NodeType > | add (ContainerType container, Args ... args) |
| Create a Node with arguments and add to a Container. More... | |
Protected Attributes inherited from rose::Node | |
| std::weak_ptr< Container > | mContainer {} |
| The Container that holds the Node. More... | |
| Id | mId {} |
A container which holds the subordinate Node objects.
1.8.13