wpIsObjectInitialized
This instance method is called to determine if new object initialization has completed.
Syntax
_wpIsObjectInitialized(somSelf)
Parameters
- somSelf (WPObject *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPObject.
Returns
- rc (BOOL) - returns
- Initialization indicator.
- TRUE: Object is initialized.
- FALSE: Object is not initialized.
Remarks
This method is useful in other methods whose processing may differ depending on whether the object is in the process of being created or has completed creation. Setting the object's state to initialized is one of the final steps of object creation during move, copy, and create operations. Certain methods, such as wpSaveDeferred and wpSaveImmediate, are only valid on initialized objects. wpIsObjectInitialized can be used within wpSetup to determine if wpSetup is being called during object creation (wpIsObjectInitialized returns FALSE) or after the object has been created, for example from WinSetObjectData (wpIsObjectInitialized returns TRUE).
How to Override
This method should not be overridden.