derived_portattributes.h File Reference

Namespaces

 maxon
 
 maxon::nodes
 

Enumerations

enum class  PORT_FLAGS {
  NONE ,
  HIDDEN ,
  USED_FOR_TEMPLATE_ARGUMENT ,
  USED_FOR_INPUTPORTTYPE_TEMPLATE_ARGUMENT ,
  CONSTANT ,
  VARIADIC ,
  VARIADIC_TEMPLATE ,
  INHERITS_NESTED_PORTS ,
  SYNTHESIZES_NESTED_PORTS ,
  HAS_CHILDREN ,
  USED_FOR_INPUTBUNDLE_TEMPLATE_ARGUMENT ,
  CHAIN ,
  DYNAMIC ,
  USED_FOR_DYNAMIC_TYPE ,
  USED_FOR_PORTTYPE_DEPENDENCY ,
  USED_FOR_PORTTYPE_DEPENDENCY_MASK ,
  HAS_FIXED_TYPE ,
  USED_FOR_VALUE_MODE_TEMPLATE_ARGUMENT
}
 

Functions

enum maxon::nodes::PORT_FLAGS MAXON_ENUM_FLAGS (PORT_FLAGS)
 
 MAXON_ATTRIBUTE (DataType, SynthesizedType, "synthesizedtype", MAXON_ATTRIBUTE_READONLY)
 
 MAXON_ATTRIBUTE (DataType, OutputTypeConstraint, "outputtypeconstraint", MAXON_ATTRIBUTE_READONLY)
 
 MAXON_ATTRIBUTE (DataType, PortType, "type", MAXON_ATTRIBUTE_READONLY)
 
 MAXON_ATTRIBUTE (PORT_FLAGS, PortFlags, "portflags", MAXON_ATTRIBUTE_READONLY)
 

Variables

 NONE
 
 HIDDEN
 
 USED_FOR_TEMPLATE_ARGUMENT
 
 USED_FOR_INPUTPORTTYPE_TEMPLATE_ARGUMENT
 
 CONSTANT
 
 VARIADIC
 
 VARIADIC_TEMPLATE
 
 INHERITS_NESTED_PORTS
 
 SYNTHESIZES_NESTED_PORTS
 
 HAS_CHILDREN
 
 USED_FOR_INPUTBUNDLE_TEMPLATE_ARGUMENT
 
 CHAIN
 
 DYNAMIC
 
 USED_FOR_DYNAMIC_TYPE
 
 USED_FOR_PORTTYPE_DEPENDENCY
 
 USED_FOR_PORTTYPE_DEPENDENCY_MASK
 
 HAS_FIXED_TYPE
 
 USED_FOR_VALUE_MODE_TEMPLATE_ARGUMENT
 

Variable Documentation

◆ NONE

NONE

No flag set.

◆ HIDDEN

HIDDEN

The port shall be hidden.

◆ USED_FOR_TEMPLATE_ARGUMENT

USED_FOR_TEMPLATE_ARGUMENT

The port is used for an argument for a TemplateParameter of a node template.

◆ USED_FOR_INPUTPORTTYPE_TEMPLATE_ARGUMENT

USED_FOR_INPUTPORTTYPE_TEMPLATE_ARGUMENT

The port's type is used to deduce an argument for a TypeTemplateParameter of a downstream input port of a node template.

◆ CONSTANT

CONSTANT

It is required that the port has a constant value.

◆ VARIADIC

VARIADIC

The port is a variadic port, possibly with a fixed count (don't confuse with a variadic port instance).

◆ VARIADIC_TEMPLATE

VARIADIC_TEMPLATE

The port is a true variadic port (don't confuse with a variadic port instance). Set in addition to VARIADIC.

◆ INHERITS_NESTED_PORTS

INHERITS_NESTED_PORTS

The port inherits nested ports from upstream ports, see InheritNestedPorts.

◆ SYNTHESIZES_NESTED_PORTS

SYNTHESIZES_NESTED_PORTS

The port synthesizes nested ports from downstream ports, see SynthesizeNestedPorts.

◆ HAS_CHILDREN

HAS_CHILDREN

The port has children (so it's a port bundle or a variadic port).

◆ USED_FOR_INPUTBUNDLE_TEMPLATE_ARGUMENT

USED_FOR_INPUTBUNDLE_TEMPLATE_ARGUMENT

The port is used for an argument for an BundleTemplateParameter of an input port of a node template.

◆ CHAIN

CHAIN

The port belongs to a chain.

◆ DYNAMIC

DYNAMIC

The port is marked with the Dynamic or TransientDynamic attribute.

◆ USED_FOR_DYNAMIC_TYPE

USED_FOR_DYNAMIC_TYPE

There's a downstream port with dynamic type (see DynamicTypeConstraint) where this port's type may have an influence on.

◆ USED_FOR_PORTTYPE_DEPENDENCY

USED_FOR_PORTTYPE_DEPENDENCY

There's a downstream port which has some dependency on the type of the current port, for example a component access input bundle.

◆ USED_FOR_PORTTYPE_DEPENDENCY_MASK

USED_FOR_PORTTYPE_DEPENDENCY_MASK

Combination of USED_FOR_INPUTPORTTYPE_TEMPLATE_ARGUMENT and USED_FOR_PORTTYPE_DEPENDENCY. When any of the flags of this mask are set, this means that the type of the current port has an influence on some downstream port. Then the template argument matching algorithm makes sure that the deduced type of the current port is propagated to inner groups/templates.

◆ HAS_FIXED_TYPE

HAS_FIXED_TYPE

The port's synthesized type is derived from a FixedPortType at the port or one of its downstream ports.

◆ USED_FOR_VALUE_MODE_TEMPLATE_ARGUMENT

USED_FOR_VALUE_MODE_TEMPLATE_ARGUMENT

The port's value mode is used to deduce an argument for a ValueModeTemplateParameter of a downstream port of a node template.