oaDoubleRangeProp Class Reference

Inheritance diagram for oaDoubleRangeProp:

oaProp oaObject


Public Methods

oaDouble getValue () const
oaDouble getLowerBound () const
oaDouble getUpperBound () const
void setValue (oaDouble value)
void set (oaDouble lowerBound, oaDouble value, oaDouble upperBound)

Static Public Methods

oaDoubleRangeProp * create (oaObject *object, const oaString &name, oaDouble lowerBound, oaDouble value, oaDouble upperBound)

Detailed Description

The oaDoubleRangeProp is a property that has a double-type value as well as a range of valid values that the double is allowed to take on. The range can be used by a generic property editor to assist a user to enter a proper value.

Properties are application-defined values that can be added to any managed object in oaDesign, oaTech, and oaWafer databases except for the following paged objects: oaDevice, oaNode, oaParasiticNetwork, and oaSubNetwork.

To create properties on DM Objects, create the corresponding oaDMData object (using oaLibDMData::open, oaCellDMData::open, oaViewDMData::open, or oaCellViewDMData::open), then create properties on that oaDMData object.

See oaProp for a general discussion of properties.


Member Function Documentation

oaDoubleRangeProp * oaDoubleRangeProp::create oaObject *    object,
const oaString &    name,
oaDouble    lowerBound,
oaDouble    value,
oaDouble    upperBound
[static]
 

This function creates a double range property with the specified attributes. The specified name is checked to verify it is unique for properties on the specified object.

Exceptions:
oacInvalidObjForProp 
oacInvalidValueForFloatRange 
oacPropNameUsed 

oaDouble oaDoubleRangeProp::getLowerBound   const
 

This function returns the lower bound of this range property.

oaDouble oaDoubleRangeProp::getUpperBound   const
 

This function returns the upper bound of this range property.

oaDouble oaDoubleRangeProp::getValue   const
 

This function returns the value of this property.

void oaDoubleRangeProp::set oaDouble    lowerBound,
oaDouble    value,
oaDouble    upperBound
 

This function sets this property attributes to the specified values.

Exceptions:
oacInvalidValueForFloatRange 

void oaDoubleRangeProp::setValue oaDouble    value
 

This function sets this property to the specified value.

Exceptions:
oacInvalidValueForFloatRange 


The documentation for this class was generated from the following files:

Return to top of page