Inheritance diagram for oaDataAppDef:
Public Methods | |
void | set (T *object, const oaByte *value) |
void | get (const T *object, oaByte *value) |
oaUInt4 | getSize () |
void | getDefault (oaByte *value) const |
Static Public Methods | |
oaDataAppDef< T > * | get (const oaString &name, oaUInt4 dataSize, const oaByte *defValue, oaBoolean persist=true) |
oaDataAppDef< T > * | get (const oaString &name, const oaAppObjectDef *objDef, oaUInt4 dataSize, const oaByte *defValue, oaBoolean persist=true) |
oaDataAppDef< T > * | find (const oaString &name) |
oaDataAppDef< T > * | find (const oaString &name, const oaAppObjectDef *objDef) |
A data field is added to each object of the specified dataType when the dataType is created. The default value of the data field is NULL. When an application is created, it can use the new data field for any necessary purpose. This type of extension is useful because it allows an application-defined block of data to be associated with each object.
Note: Since the type of data is unknown to OpenAccess, the contents are not byte swapped.
For additional information on defining and using AppDefs, see oaAppDef and Extending the Database in the Programmer's Guide.
|
This function returns an oaDataAppDef object with this dataType and the specified 'name' that is associated with the specified object extension 'objDef'.
|
|
This function returns an oaDataAppDef object with this dataType and the specified 'name' if it exists.
|
|
This function fills out the given byte array with the value of this data extension. The byte array should be allocated before calling this function.
|
|
This function constructs an oaDataAppDef object, creating a data extension with the specified name and dataSize for the specified type of object.
|
|
This function constructs an oaDataAppDef object, creating a data extension with the specified name and dataSize.
|
|
This function fills out the given byte array with the default value of this data extension. The byte array should be allocated before calling this function.
|
|
This function returns the size in bytes of the value for this data extension. |
|
This function sets the value of this data extension.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.