oaHierProp Class Reference

Inheritance diagram for oaHierProp:

oaProp oaObject


Static Public Methods

oaHierProp * create (oaObject *object, const oaString &name)

Detailed Description

The oaHierProp class is a hierarchical property. Hierarchical properties have no direct value but they may have other properties attached to them including oaHierProps. Hence they can create multi-level trees of properties that organize collections of related properties.

For example, you could create a hierarchical property on a design called "constraints" and add properties representing constraints to that HierProp.

Note that calling oaProp::getValue on a hierarchical property will return the constant string "oaHierProp".

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

oaHierProp * oaHierProp::create oaObject *    object,
const oaString &    name
[static]
 

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

Exceptions:
oacInvalidObjForProp 
oacPropNameUsed 


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

Return to top of page