class NodeInput

A NodeInput is a data structure that holds a reference to the node we are connected at and its related output number. More...

Definition#include <data-flow/include/Node.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


Detailed Description

A NodeInput is a data structure that holds a reference to the node we are connected at and its related output number.

int outputID

The outputID of the connected node

Node * node

The reference of the node

string name

The name of the input

 NodeInput (Node *n, int t, const string &inputName) :outputID(t),node(n),name(inputName)

Constructor with a node and an outputID

 NodeInput (const NodeInput &in)

Copy constructor

NodeInput&  operator= (const NodeInput &in)

equality operator

 NodeInput () : outputID(-1), node(NULL)

default constructor

 NodeInput (const string &inputName) : outputID(-1), node(NULL), name(inputName)

constructor with a nodeName