PortInfo Struct Reference

#include <corenodes.h>

Detailed Description

PortInfo stores information about a port, it is returned by CoreNodeBaseInterface::GetPortInfo().

Public Member Functions

String ToString (const FormatStatement *format=nullptr) const
 

Public Attributes

Id id
 
DataType type
 
WIRETYPE wtypes
 
MicroNode::FLAGS flags
 

Member Function Documentation

◆ ToString()

String ToString ( const FormatStatement format = nullptr) const

Returns a String representation of this @CLASS.

Parameters
[in]formatStatementNullptr or additional formatting instruction.
Returns
String representation of this @CLASS.

Member Data Documentation

◆ id

Id id

The identifier of the port. Port identifiers have to be unique per direction for a core node.

◆ type

DataType type

The type of the port.

◆ wtypes

WIRETYPE wtypes

The union of the wire types of all inner connections of the port.

◆ flags

Additional flags for the port.