NodeSystemBasedNodeTemplateInterface Class Reference

#include <nodetemplate.h>

Inheritance diagram for NodeSystemBasedNodeTemplateInterface:

Detailed Description

NodeSystemBasedNodeTemplate is a NodeTemplate which is defined by a NodeSystem. NodesLib::CreateTemplateFromNodeSystem creates such a NodeTemplate. It uses the node system as a template which is modified according to the template arguments, for example it duplicates parts of the node system which belong to variadic port instances.

Public Member Functions

MAXON_METHOD Bool IsProtected () const
MAXON_METHOD Result< NodeSystemGetNodeSystem (const NodeSystemClass &cls, const AssetRepositoryRef &repo) const
MAXON_METHOD const NodeSystemData & GetNodeSystemData () const

Private Member Functions

 MAXON_INTERFACE (NodeSystemBasedNodeTemplateInterface, MAXON_REFERENCE_COPY_ON_WRITE, "net.maxon.node.interface.nodesystembasednodetemplate")

Member Function Documentation


MAXON_INTERFACE ( NodeSystemBasedNodeTemplateInterface  ,

◆ IsProtected()

MAXON_METHOD Bool IsProtected ( ) const

Checks if this template is a protected asset (so that the user can't see its inner setup).

True if the template is protected, false otherwise.

◆ GetNodeSystem()

MAXON_METHOD Result<NodeSystem> GetNodeSystem ( const NodeSystemClass &  cls,
const AssetRepositoryRef &  repo 
) const

Returns the node system which is used as a template.

[in]clsThe node system class to use.
[in]repoThe repository to use for asset lookup.
The underlying node system.

◆ GetNodeSystemData()

MAXON_METHOD const NodeSystemData& GetNodeSystemData ( ) const

Returns the node system data which is used for the template.

The underlying node system data.