#include <corenodes.h>
PortInfo stores information about a port, it is returned by CoreNodeBaseInterface::GetPortInfo() .
公共成员函数 |
|
const DataType & | GetAccessType () const |
String | ToString (const FormatStatement *format=nullptr) const |
Public Attributes |
|
Id | name |
DataType | type |
DataType | accessType |
WIRETYPE | wtypes |
MicroNode::FLAGS | flags |
const DataType & GetAccessType | ( | ) | const |
Returns the access type of the port. For non-state ports, this is the decayed type , otherwise it's the l-value-reference type of type .
String ToString | ( | const FormatStatement * |
format
=
nullptr
|
) | const |
Returns a String representation of this @CLASS.
[in] | formatStatement | Nullptr or additional formatting instruction. |
Id name |
The name of the port. Port names have to be unique per direction for a core node.
DataType type |
The type of the port. This is usually a const type, only for state ports it is non-const.
|
mutable |
WIRETYPE wtypes |
The union of the wire types of all inner connections of the port.
MicroNode::FLAGS flags |
Additional flags for the port.