Inheritance diagram for oaInterPointerAppDef:
Public Methods | |
void | set (T *object, const oaObject *otherObject) |
oaObject * | get (const T *object) |
Static Public Methods | |
oaInterPointerAppDef< T > * | get (const oaString &name, oaBoolean persist=true) |
oaInterPointerAppDef< T > * | get (const oaString &name, const oaAppObjectDef *objDef, oaBoolean persist=true) |
oaInterPointerAppDef< T > * | find (const oaString &name) |
oaInterPointerAppDef< T > * | find (const oaString &name, const oaAppObjectDef *objDef) |
Once created, a database object pointer field is added to each object of the specified dataType. The default value for the object pointer is NULL. Applications can use the new field for whatever purpose is necessary.
Note: The pointer must be NULL or must point to a persistent object in the same database. The pointer must not point at objects in another database, objects not in a database, the database itself (oaDesign or oaTech), or utility objects.
This extension is similar to the oaIntraPointerAppDef, except that oaInterPointerAppDef supports pointers to other types of objects within the same database. If only pointers to objects of the same type are created, use oaIntraPointerAppDef, since it requires slightly less memory and is slightly faster.
For additional information on defining and using AppDefs, see oaAppDef and Extending the Database in the Programmer's Guide.
|
This function returns an oaInterPointerAppDef object with this dataType and the specified 'name' that is associated with the specified object extension 'objDef'.
|
|
This function returns an oaInterPointerAppDef object with this dataType and the specified 'name' if it exists.
|
|
This function returns the value associated with this extension for the specified object. The value is returned as a pointer to an oaObject.
|
|
This function constructs an oaInterPointerAppDef with the specified name and associates it with the specified oaAppObjectDef class. The name must be unique for all extension types.
|
|
This function constructs an oaInterPointerAppDef with the specified name. The name must be unique for all extension types. You can create an oaInterPointerAppDef extension on any object except another extension.
|
|
This function sets the value associated with this extension for the specified object to the specified value.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.