SALOME documentation central

Ports::PortProperties Interface Reference

Interface of a PortProperties. This interface permits to set and get properties associated to a port. Each uses or provides port have a PortProperties object. But this object could be empty. More...

Inheritance diagram for Ports::PortProperties:
Inheritance graph

Public Member Functions

void set_property (in string name, in any value) raises (Ports::BadType, Ports::BadValue, Ports::NotDefined)
 This operation permits to set a value of a property.
any get_property (in string name) raises (Ports::NotDefined)
 This operation permits to get property's value.

Detailed Description

Interface of a PortProperties. This interface permits to set and get properties associated to a port. Each uses or provides port have a PortProperties object. But this object could be empty.


Member Function Documentation

void Ports::PortProperties::set_property ( in string  name,
in any  value 
) raises (Ports::BadType, Ports::BadValue, Ports::NotDefined)

This operation permits to set a value of a property.

Parameters:
name property's name.
value value of the property.
Exceptions:
Ports::BadType 
Ports::NotDefined 
any Ports::PortProperties::get_property ( in string  name  )  raises (Ports::NotDefined)

This operation permits to get property's value.

Parameters:
name property's name.
Returns:
value of the property.
Exceptions:
Ports::NotDefined 

Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS