Inheritance diagram for oaAttrDisplay:
Public Methods | |
void | getText (const oaNameSpace &ns, oaString &text) const |
oaObject * | getObject () const |
oaAttrType | getAttribute () const |
void | setObject (oaObject *object) |
Static Public Methods | |
oaAttrDisplay * | create (oaObject *object, oaAttrType attribute, oaLayerNum layerNum, oaPurposeNum purposeNum, const oaPoint &origin, oaTextAlign alignment, oaOrient orient, oaFont font, oaDist height, oaTextDisplayFormat format=oacNameTextDisplayFormat, oaBoolean overbar=false, oaBoolean visible=true, oaBoolean drafting=true) |
The oaAttrDisplay is contained in the design that contains the attached design object.
Note: The attribute is specified using one of many defined values. Each object type has its own set of values.
|
This function creates an oaAttrDisplay object that displays the specified attribute of the specified object. The object must be contained in a design database, and the attribute must be an attribute type of the object. The object on which an oaAttrDisplay can be created must be one of an oaNet, oaInst, oaTerm, oaInstTerm, oaAssignment, or oaDesign or an oacInvalidObjectForAttrDisplay exception is thrown.
|
|
This function returns the attribute displayed by this oaAttrDisplay object. |
|
This function returns the object whose attribute is displayed by this oaAttrDisplay object. |
|
This function returns the value of this attribute display according to the given nameSpace. The nameSpace is only valid for name type attributes. |
|
This function sets the object whose attribute is displayed by this attrDisplay object. An exception will be thrown if the object is not in the same database as this attrDisplay object or its type is different from that of the object currently associated with this attrDisplay object.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.