ObjectSpace :: overloadObjectSpace - Overload object space
In order to support overload features for object spaces (e.g. overloading resources in a application resource database), object space handles may be overloaded by any number of other object spaces. The last overloading object space is always the object space on top, which is searched first.
Calling the function will automatically set on the overload property. In order to disable the overload feature temporarily the overload property may be set to false.
Implementation details
The object space passed in cObjectSpace will be overloaded by the current object space. When the current object space is already overloading another object space, this object space will be disconnected. When the objects space handle cObjectSpace is invalid (closed), overload is reset.
- cObjectSpace
- Object space reference
The reference refers to an opened or not opened object space handle.