Main Page   Namespace List   Class Hierarchy   Compound List   Namespace Members   Compound Members   Related Pages  

NodeInterface Class Reference

Type information for an interface of a node. More...

List of all members.


Public Types

enum  Type {
  invalidType,
  eventIn,
  eventOut,
  exposedField,
  field
}
 Identify the type of interface. More...


Public Methods

 NodeInterface (Type type, FieldValue::Type fieldType, const std::string &id)
 Constructor.


Public Attributes

Type type
 The interface type.

FieldValue::Type fieldType
 The field data type handled by this interface.

std::string id
 The name of this interface.


Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &out, const NodeInterface::Type type)
 Stream inserter.

std::istream & operator>> (std::istream &in, NodeInterface::Type &type)
 Stream extractor.


Detailed Description

Type information for an interface of a node.


Member Enumeration Documentation

enum Type
 

Identify the type of interface.

Enumeration values:
invalidType  Used to indicate an invalid or unknown interface type.

eventIn  An eventIn.

eventOut  An eventOut.

exposedField  An exposedField.

field  A field.


Constructor & Destructor Documentation

NodeInterface Type    type,
FieldValue::Type    fieldType,
const std::string &    id
 

Constructor.

Parameters:
type the type of interface.
fieldType the field data type handled by the interface.
id the name of the interface.

Friends And Related Function Documentation

std::ostream & operator<< std::ostream &    out,
const NodeInterface::Type    type
[related]
 

Stream inserter.

If type is NodeInterface::invalidType, failbit is set on out.

Parameters:
out an output stream.
type a node interface type.
Returns:
out.

std::istream & operator>> std::istream &    in,
NodeInterface::Type   type
[related]
 

Stream extractor.

Parameters:
in an input stream.
type a node interface type.
Returns:
in.

Member Data Documentation

fieldType
 

The field data type handled by this interface.

id
 

The name of this interface.

type
 

The interface type.