Inheritance diagram for oaVoidPointerAppDef:
Public Methods | |
void | set (T *object, const void *value) |
void * | get (const T *object) |
Static Public Methods | |
oaVoidPointerAppDef< T > * | get (const oaString &name) |
oaVoidPointerAppDef< T > * | get (const oaString &name, const oaAppObjectDef *objDef) |
oaVoidPointerAppDef< T > * | find (const oaString &name) |
oaVoidPointerAppDef< T > * | find (const oaString &name, const oaAppObjectDef *objDef) |
Once created, a pointer field is added to each object of the specified dataType, with the specified default value. Applications can use the new data field for whatever purpose is necessary.
This type of extension is useful because it allows externally defined memory to be stored with each object being extended.
Note: Because the data is externally defined, this extension type cannot be marked persistent.
For additional information on defining and using AppDefs, see oaAppDef and Extending the Database in the Programmer's Guide.
|
This function returns an oaVoidPointerAppDef object with this dataType and the specified 'name' that is associated with the specified object extension 'objDef'.
|
|
This function returns an oaVoidPointerAppDef object with this dataType and the specified 'name' if it exists.
|
|
This function returns the value of this data extension on the specified object.
|
|
This function constructs a void pointer extension with the specified name for the specified object type.
|
|
This function constructs a void pointer extension with the specified name.
|
|
This function sets the value of this data extension.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.