Inheritance diagram for oaEnumProp:
Public Methods | |
void | getValue (oaString &value) const |
void | setValue (const oaString &value) |
oaEnumCollection | getEnums () const |
Static Public Methods | |
oaEnumProp * | create (oaObject *object, const oaString &name, const oaString &value, oaUInt4 numEnums, const oaString *enums) |
oaEnumProp * | create (oaObject *object, const oaString &name, const oaString &value, const oaStringArray &enums) |
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.
|
This function creates an enumerated property with the specified attributes. An exception is thrown if a property already exists on the object with the specified name or if the specified value doesn't match one of the enumerated values.
|
|
This function creates an enumerated property with the specified attributes. The specified name is checked to verify it is unique for properties on the specified object. An exception is thrown if a property already exists on the object with the specified name. An exception is thrown if the value is not one of the strings in the array of allowed values.
|
|
This function returns a collection of the valid enums for this property. |
|
This function returns the value of this property. Reimplemented from oaProp. |
|
This function sets this property to the specified value.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.