Murl::Resource::IGraphNode Interface Referenceabstract
The IGraphNode resource interface. More...
#include "murl_resource_i_graph_node.h"
Inherited by Murl::Resource::NativeGraph::NativeNode, and Murl::Resource::XmlGraph::Node.
Public Member Functions | |
virtual String | GetName () const =0 |
Get the class name of the node to create. More... | |
virtual UInt32 | GetNumberOfChildren () const =0 |
Get the node's number of children. More... | |
virtual const IGraphNode * | GetChild (UInt32 index) const =0 |
Get the node's child at a given index. More... | |
virtual const IAttributes * | GetAttributes () const =0 |
Get the optional node attributes. More... | |
virtual const IGraph * | GetOwner () const =0 |
Get the graph resource owning this node. More... | |
Detailed Description
The IGraphNode resource interface.
This interface represents a single node contained in a Resource::IGraph object.
Member Function Documentation
◆ GetName()
|
pure virtual |
Get the class name of the node to create.
- Returns
- The class name.
◆ GetNumberOfChildren()
|
pure virtual |
Get the node's number of children.
- Returns
- The number of children.
◆ GetChild()
|
pure virtual |
Get the node's child at a given index.
- Parameters
-
index The child index, in the range from 0 to GetNumberOfChildren()-1.
- Returns
- The child node, or null if index is out of range.
◆ GetAttributes()
|
pure virtual |
Get the optional node attributes.
- Returns
- A pointer to the attributes object, or null if not present.
◆ GetOwner()
|
pure virtual |
Get the graph resource owning this node.
- Returns
- A pointer to the graph object, or null if not present.
The documentation for this interface was generated from the following file:
- murl_resource_i_graph_node.h