Node Class Reference

#include <nodesystem.h>

Inheritance diagram for Node:

Detailed Description

Node represents a node within a NodeSystem. A node may be either the /root node/ of a node system or a /nested/ node (i.e., a child of another node). A direct child of a root node is called a /root child node/.

A node may be an /instance/ of another node, in which case it inherits the ports and nested nodes from that base node, but it is still possible to remove inherited ports and children, or add additional ones.

Node allows for read-only access to the node of the NodeSystem. If you want to make modifications, you have to use MutableNode instead.

Public Types

using Super = NodeFunctions< GNodeBase >
 
- Public Types inherited from NodeFunctions< GNodeBase >
using Iterator = GNodeIterator< NodeSelector< BASE::MUTABLE > >
 
using ResultFunctions = NodeFunctions< maxon::nodes::details::GNodeResultBase< SUPER > >
 
using Super = maxon::nodes::details::NodeFunctionsSuper< GNodeBase >
 

Static Public Member Functions

static MAXON_ATTRIBUTE_FORCE_INLINE const NodeNullValue ()
 

Additional Inherited Members

- Public Member Functions inherited from NodeFunctions< GNodeBase >
Result< NodeSelector< BASE::MUTABLE > > GetParent () const
 
Result< NodeSelector< BASE::MUTABLE > > FindChild (const InternedId &name) const
 
Result< NodeSelector< BASE::MUTABLE > > FindChild (const Id &name) const
 
Result< typename NODE::template Selector< BASE::MUTABLE > > FindInnerNode (const NODE &baseInner) const
 
Result< PortListSelector< BASE::MUTABLE > > GetPortList (PORT_DIR dir) const
 
Result< PortListSelector< BASE::MUTABLE > > GetInputs () const
 
Result< PortListSelector< BASE::MUTABLE > > GetOutputs () const
 
Result< IteratorGetChildren () const
 
Result< void > InitFromPath (typename maxon::nodes::details::NodeFunctionsSuper< GNodeBase >::NodeSystemCtorParam system, PATH &&path)
 

Member Typedef Documentation

◆ Super

Member Function Documentation

◆ NullValue()

static MAXON_ATTRIBUTE_FORCE_INLINE const Node& NullValue ( )
static