oaTimeProp Class Reference

Inheritance diagram for oaTimeProp:

oaProp oaObject


Public Methods

oaTime getValue () const
void setValue (oaTime value)

Static Public Methods

oaTimeProp * create (oaObject *object, const oaString &name, oaTime value)

Detailed Description

The oaTimeProp is a property that has a value of type oaTime. These represent a time and date with a resolution of 1 second.

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

oaTimeProp * oaTimeProp::create oaObject *    object,
const oaString &    name,
oaTime    value
[static]
 

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

Exceptions:
oacInvalidObjForProp 
oacPropNameUsed 

oaTime oaTimeProp::getValue   const
 

This function returns the value of this property.

void oaTimeProp::setValue oaTime    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