PortList Class Reference

#include <nodesystem.h>

Inheritance diagram for PortList:

Detailed Description

PortList represents a port list within a NodeSystem. Each Node has exactly two port lists, one for its top-level input ports and one for its top-level output ports. Also each Port may have nested ports, therefore Port has PortList as base class.

PortList allows for read-only access to the port list of the NodeSystem. If you want to make modifications, you have to use MutablePortList instead.

Public Types

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

Static Public Member Functions

static MAXON_ATTRIBUTE_FORCE_INLINE const PortListNullValue ()
 

Additional Inherited Members

- Public Member Functions inherited from PortListFunctions< GNodeBase >
PORT_DIR GetPortDirection () const
 
Result< NodeSelector< BASE::MUTABLE > > GetNode () const
 
Result< IteratorGetPorts () const
 
Result< PortSelector< BASE::MUTABLE > > GetSinglePort () const
 
Result< PortSelector< BASE::MUTABLE > > FindPort (const InternedId &port) const
 
Result< PortSelector< BASE::MUTABLE > > FindPort (const Id &port) const
 
Result< void > InitFromPath (typename maxon::nodes::details::NodeFunctionsSuper< GNodeBase >::NodeSystemCtorParam system, PATH &&path, NODE_KIND check=NODE_KIND::PORTLIST_MASK|NODE_KIND::PORT_MASK)
 

Member Typedef Documentation

◆ Super

Member Function Documentation

◆ NullValue()

static MAXON_ATTRIBUTE_FORCE_INLINE const PortList& NullValue ( )
static