![]() |
Open CASCADE Technology Reference Manual 8.0.2
|
Scoped permission for an owner layer to edit one item it owns. More...
#include <BRepGraph_LayerLock.hxx>
Public Member Functions | |
| ScopedOwnerEdit (BRepGraph_LayerLock &theLayer, const BRepGraph_ItemId theItem, const Standard_GUID &theOwnerId) | |
| ~ScopedOwnerEdit () | |
| ScopedOwnerEdit (const ScopedOwnerEdit &)=delete | |
| ScopedOwnerEdit & | operator= (const ScopedOwnerEdit &)=delete |
| ScopedOwnerEdit (ScopedOwnerEdit &&theOther) noexcept | |
| ScopedOwnerEdit & | operator= (ScopedOwnerEdit &&theOther) noexcept |
Scoped permission for an owner layer to edit one item it owns.
The scope traverses upward to find the root owner for GUID verification, then temporarily clears the fast owned bit on the specific item so existing editor mutation APIs can be reused by the owning layer.
| BRepGraph_LayerLock::ScopedOwnerEdit::ScopedOwnerEdit | ( | BRepGraph_LayerLock & | theLayer, |
| const BRepGraph_ItemId | theItem, | ||
| const Standard_GUID & | theOwnerId ) |
| BRepGraph_LayerLock::ScopedOwnerEdit::~ScopedOwnerEdit | ( | ) |
|
delete |
|
noexcept |
|
delete |
|
noexcept |