Share

AcDbSoftPointerId

Class Hierarchy

AcDbObjectId
    AcDbSoftPointerId

C++

class AcDbSoftPointerId : public AcDbObjectId;

File

dbid.h

Description

This class is a specialization of AcDbObjectId that is used to distinguish an object specified by an AcDbSoftPointerId as being soft pointed to by some other object. Its other properties are the same as the more generic AcDbObjectId.

Remarks

When establishing a reference to another object, consider whether the reference should protect an object from purge, or if WBLOCK needs to follow the pointer reference and copy the reference as well, and whether or not there needs to be an owner-ownee relationship.

Use an AcDbSoftPointerId to reference another object when an object may optionally reference another object (that is, neither object relies on the other's existence, one just needs to know about the other if the other exists at all).

Links

AcDbSoftPointerId Constructor, AcDbSoftPointerId Operators

See Also

AcDbHardPointerId, AcDbHardOwnershipId, AcDbSoftOwnershipId, AcDbHandle

Was this information helpful?