oaDoubleProp Class Reference

Inheritance diagram for oaDoubleProp:

oaProp oaObject


Public Methods

oaDouble getValue () const
void setValue (oaDouble value)

Static Public Methods

oaDoubleProp * create (oaObject *object, const oaString &name, oaDouble value)

Detailed Description

The oaDoubleProp is a property that has a 64-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

oaDoubleProp * oaDoubleProp::create oaObject *    object,
const oaString &    name,
oaDouble    value
[static]
 

This function creates a double property with the specified attributes.

Note: 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 oaDoubleProp
Exceptions:
oacInvalidObjForProp 
oacPropNameUsed 

oaDouble oaDoubleProp::getValue   const
 

This function returns the value of this property.

void oaDoubleProp::setValue oaDouble    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