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 IGraphNodeGetChild (UInt32 index) const =0
 Get the node's child at a given index. More...
 
virtual const IAttributesGetAttributes () const =0
 Get the optional node attributes. More...
 
virtual const IGraphGetOwner () 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()

virtual String Murl::Resource::IGraphNode::GetName ( ) const
pure virtual

Get the class name of the node to create.

Returns
The class name.

◆ GetNumberOfChildren()

virtual UInt32 Murl::Resource::IGraphNode::GetNumberOfChildren ( ) const
pure virtual

Get the node's number of children.

Returns
The number of children.

◆ GetChild()

virtual const IGraphNode* Murl::Resource::IGraphNode::GetChild ( UInt32  index) const
pure virtual

Get the node's child at a given index.

Parameters
indexThe child index, in the range from 0 to GetNumberOfChildren()-1.
Returns
The child node, or null if index is out of range.

◆ GetAttributes()

virtual const IAttributes* Murl::Resource::IGraphNode::GetAttributes ( ) const
pure virtual

Get the optional node attributes.

Returns
A pointer to the attributes object, or null if not present.

◆ GetOwner()

virtual const IGraph* Murl::Resource::IGraphNode::GetOwner ( ) const
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


Copyright © 2011-2018 Spraylight GmbH.