SUPERV.StreamLink Interface Reference

Interface of the link. More...

import "SUPERV.idl";

Inheritance diagram for SUPERV.StreamLink:

Inheritance graph

Public Member Functions

SUPERV::StreamPort OutStreamPort ()
SUPERV::StreamPort InStreamPort ()
SUPERV::Port OutPort ()
SUPERV::Port InPort ()
boolean IsValid ()
boolean IsEqual (in SUPERV::Link aLink)
Methods used for representation of links in GUI of SALOME application :
long CoordsSize ()
boolean AddCoord (in long index, in long X, in long Y)
boolean ChangeCoord (in long index, in long X, in long Y)
boolean RemoveCoord (in long index)
boolean Coords (in long index, out long X, out long Y)

Detailed Description

This interface contains a set of methods used for representation and management of the links connecting nodes in a graph.


Member Function Documentation

SUPERV::StreamPort SUPERV.StreamLink.OutStreamPort  ) 
 

Returns the Output StreamPort of the StreamLink

SUPERV::StreamPort SUPERV.StreamLink.InStreamPort  ) 
 

Returns the Input StreamPort of the StreamLink

SUPERV::Port SUPERV.Link.OutPort  )  [inherited]
 

Returns the Output Port of the Link

SUPERV::Port SUPERV.Link.InPort  )  [inherited]
 

Returns the Input Port of the Link

long SUPERV.Link.CoordsSize  )  [inherited]
 

Returns the number of coordinate points which are included in the link.

Note:

Every link can contain a set of coordinate points which constitute it. These points have index numbers (beginning from 1) and coordinates defining their position in the window. Indexing of the points starts from input port to output port of the corresponding link.

boolean SUPERV.Link.AddCoord in long  index,
in long  X,
in long  Y
[inherited]
 

Adds a coordinate point to the link.

Parameters:
index Index of the point.
X Coordinates of the point.
Y Coordinates of the point.

boolean SUPERV.Link.ChangeCoord in long  index,
in long  X,
in long  Y
[inherited]
 

Changes the location of a definite coordinate point of the link.

Parameters:
index Index of the point.
X Coordinates of the point.
Y Coordinates of the point.

boolean SUPERV.Link.RemoveCoord in long  index  )  [inherited]
 

Removes a coordinate point of the link.

Parameters:
index Index of the point.

boolean SUPERV.Link.Coords in long  index,
out long  X,
out long  Y
[inherited]
 

Sets the location of a coordinate point of the link.

Parameters:
index Index of the point.
X Coordinates of the point.
Y Coordinates of the point.

boolean SUPERV.Link.IsValid  )  [inherited]
 

Checks if the types of Ports that it connects are compatible

boolean SUPERV.Link.IsEqual in SUPERV::Link  aLink  )  [inherited]
 

Check if the Link equals to the another given Link