Context of object

These functions provide navigatability from a given ptr<IObject> to the associated PSpace/PersistStore/LSS if any.


PSpace* GetAssociatedPSpace(ptr<const IObject> po)

Get the PSpace associated with the given object, or else nullptr.


PersistStore* GetAssociatedPersistStore(ptr<const IObject> po)


ILogStructuredStore* GetAssociatedLss(ptr<const IObject> po)


bool ObjectsBelongToDifferentPSpaces(
    ptr<const IObject> po1,
    ptr<const IObject> po2)


bool ObjectsBelongToDifferentPersistStores(
    ptr<const IObject> po1,
    ptr<const IObject> po2)