Inheritance diagram for oaConstraint:
Public Methods | |
void | getName (oaString &name) const |
oaConstraintDef * | getDef () const |
oaValue * | getValue () const |
void | getParams (oaConstraintParamArray ¶ms) const |
void | getID (oaString &id) const |
void | getDescription (oaString &description) const |
oaBoolean | hasParams () const |
oaBoolean | isHard () const |
void | setValue (oaValue *value) |
void | setParams (const oaConstraintParamArray ¶ms) |
void | setHard (oaBoolean isHard) |
void | setID (const oaString &id) |
void | setDescription (const oaString &description) |
void | destroy () |
Public Types | |
enum | { dtIndex = oacBaseConstraintDataType } |
oaConstraints always have a value, and are created in the same database as that value. oaConstraints get applied to objects by being placed in an oaConstraintGroup.
The oaConstraint class can be observed by deriving from oaObserver<oaConstraint>.
|
This function destroys this constraint removing it from any constraint groups it is a part of. |
|
This function returns the definition for this constraint. |
|
This function returns the description string of this constraint.
|
|
This function returns the id string of this constraint.
|
|
This function returns the name of this constraint. If a name wasn't specified on creation one is automatically generated.
|
|
This function returns the parameters associated with this constraint
|
|
This function returns the value for this constraint |
|
This function returns a boolean indicating whether or not the constraint has parameters associated with it. |
|
This function returns a boolean indicated whether or not this is a hard constraint. |
|
This function sets the description string of this constraint.
|
|
This function sets a boolean attribute on the constraint indicating whether or not it is hard.
|
|
This function sets the ID string of this constraint.
|
|
This function sets the parameters for this constraint. The old parameters are destroyed.
|
|
This function sets the value for this constraint. The old value is destroyed.
|
|
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.