Inheritance diagram for oaTimeAppDef:
Public Methods | |
void | set (T *object, oaTime value) |
oaTime | get (const T *object) |
oaTime | getDefault () const |
Static Public Methods | |
oaTimeAppDef< T > * | get (const oaString &name, oaTime defValue=oaTime(0), oaBoolean persist=true) |
oaTimeAppDef< T > * | get (const oaString &name, const oaAppObjectDef *objDef, oaTime defValue=oaTime(0), oaBoolean persist=true) |
oaTimeAppDef< T > * | find (const oaString &name) |
oaTimeAppDef< T > * | find (const oaString &name, const oaAppObjectDef *objDef) |
Once are created, a time field is added to each object of the specified dataType. The default value for the time extension is the epoch (0). Applications can use the new time field for any purpose.
For additional information on defining and using AppDefs, see oaAppDef and Extending the Database in the Programmer's Guide.
|
This function returns an oaTimeAppDef object with this dataType and the specified 'name' that is associated with the specified object extension 'objDef'.
|
|
This function returns an oaTimeAppDef object with this dataType and the specified 'name' if it exists.
|
|
This function returns the value of this extension.
|
|
This function constructs an oaTimeAppDef object, creating a time extension with the specified name for the specified object type.
|
|
This function constructs an oaTimeAppDef class time extension with the specified name. You can create a time extension on any object except another extension.
|
|
This function returns the default value for this time extension. |
|
This function sets the value of this extension.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.