DataSource :: objectSpace - Object space handle
When the data source handle has been opened successfully, this handle refers to the opened object space, which is usually the same as the root object space for the database. When, however, an object space has been requested explicitly ( objectSpaceName() property), the corresponding subordinated object space is opened and referenced by this handle.
The reference refers to an opened or not opened object space handle.
Implementation overview
- Get object space handle
DataSource :: objectSpace (  ) - Set object space handle
DataSource :: objectSpace ( cObjectSpace )
Implementation details
-
Get object space handle
odaba::ObjectSpace & DataSource  :: objectSpace (  )
The property returns the object space handle for the data source. The object space handle might be invalid, when the data source has not been opened or has not been opened successfully.
to list
-
Set object space handle
odaba::ObjectSpace & DataSource  :: objectSpace ( odaba::ObjectSpace &cObjectSpace )
The function allows setting an opened object space handle for the data source. An object space set with this function is not closed when calling ( closeObjectSpace() ). When the data source has already opened an object space, it will be closed ( closeObjectSpace() ) before setting the new object space handle.
- cObjectSpace
- Object space reference
The reference refers to an opened or not opened object space handle.
to list
- cObjectSpace
- Object space reference