Method |
Description |
---|
AcAxDocLock::AcAxDocLock () |
Default constructor. Locks the current document with the normal lock type. |
AcAxDocLock::AcAxDocLock (AcDbDatabase *, DocLockType) |
The constructor gets the document context for the input database to which the specified lock type is applied. Input pDatabase should not be NULL, or an assert is fired in debug mode. |
AcAxDocLock::AcAxDocLock (AcDbObjectId&, DocLockType) |
This constructor uses AcDbObjectId::database() to get document context for the database to which the specified lock type is applied.If input objectId is null (AcDbObjectId::kNull), the AcAxDocLock is not properly constructed. In debug mode, an assert is fired as a reminder. |