Application :: objectSpace - Get application object space
When running utilities, the object space handle is the access handle for the object space handled by the utility. When running OShell or OSI, the application object space is the object space for the data source currently active.
Return value: Object space reference ( odaba::ObjectSpace & )
The reference refers to an opened or not opened object space handle.
Implementation details
odaba::ObjectSpace
Application  :: objectSpace (  )
The function provides an object space handle for the current context. When the function is called while running an OSI function or expression, the object space handle from the current environment will be returned (data source). Otherwise, the utility context is checked and when running a utility, the object space handle is returned from the utility data source.
When not running in a utility or OSI context, the function throws an exception.