oaIntProp Class Reference

Inheritance diagram for oaIntProp:

oaProp oaObject


Public Methods

oaInt4 getValue () const
void setValue (oaInt4 value)

Static Public Methods

oaIntProp * create (oaObject *object, const oaString &name, oaInt4 value)

Detailed Description

The oaIntProp is a property that has an integer 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

oaIntProp * oaIntProp::create oaObject *    object,
const oaString &    name,
oaInt4    value
[static]
 

This function creates an integer 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 oaIntProp
Exceptions:
oacInvalidObjForProp 
oacPropNameUsed 

oaInt4 oaIntProp::getValue   const
 

This function returns the value of this property.

void oaIntProp::setValue oaInt4    value
 

This function sets this property to the specified value.


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

Return to top of page