Share

AcAxObjectRefPtr Constructor

Overload List

Method Description
AcAxObjectRefPtr::AcAxObjectRefPtr () Default constructor.
AcAxObjectRefPtr::AcAxObjectRefPtr (AcAxObjectRef* const, AcDb::OpenMode, bool) This constructor creates an AcAxObjectRefPtr instance for smart-pointer access to an object represented by an AcAxObjectRef instance.If the underlying object is database-resident, the constructor attempts to open the object using the supplied mode, including erased objects if the openErased parameter is true. If the underlying object is not database resident, it does not attempt to open the object.The constructor calls AcAxObjectRef::release() on the objRef pointer passed to it. The AcAxObjectRefPtr destructor restores the reference. Callers should not rely on the objRef instance for the lifetime of the AcAxObjectRefPtr. Instead, they should use the AcAxObjectRefPtr instance for... more

Was this information helpful?