oaFloatProp Class Reference

Inheritance diagram for oaFloatProp:

oaProp oaObject


Public Methods

oaFloat getValue () const
void setValue (oaFloat value)

Static Public Methods

oaFloatProp * create (oaObject *object, const oaString &name, oaFloat value)

Detailed Description

The oaFloatProp is a property that has a 32-bit floating point 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

oaFloatProp * oaFloatProp::create oaObject *    object,
const oaString &    name,
oaFloat    value
[static]
 

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

Parameters:
object The object to which to attach the property
name The property name
value The property value
Returns:
A pointer to the oaFloatProp
Exceptions:
oacInvalidObjForProp 
oacPropNameUsed 

oaFloat oaFloatProp::getValue   const
 

This function returns the value of this property.

void oaFloatProp::setValue oaFloat    value
 

This function sets this property to the specified value.

Parameters:
value The property value to set


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

Return to top of page