company logo

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.

Return value:  Object space reference ( odaba::ObjectSpace & )

The reference refers to an opened or not opened object space handle.

Implementation overview

Implementation details

  1. 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.

  2. to list
  3. 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.

  4. to list