Version: 6.5.0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
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...

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. More...
 
any get_property (in string name) raises (Ports::NotDefined)
 This operation permits to get property's value. More...
 

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
nameproperty's name.
valuevalue 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
nameproperty's name.
Returns
value of the property.
Exceptions
Ports::NotDefined
Copyright © 2007-2012 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