AcDbSoftPointerId

 

此类是一个特殊的AcDbObjectId,用于区分AcDbSoftPointerId 定义的一个对象是否被一些其他对象软参考。它的属性与更一般的AcDbObjectId相同。

 

继承自

AcDbObjectId

 

包含文件

dbid.h

 

提示

当建立一个参考至另一个对象时,考虑是否参考应保护一个对象以免被清除,或是否WBLOCK需要跟随这个指针参照并复制参照,以及是否需要有拥有-被拥有的关系。

在一个对象可能选择地参考另一个对象时,使用一个AcDbSoftPointerId参考另一个对象(即,没有对象依赖另一个对象的存在,一个对象对另一个对象只需要知道是否另一个对象存在)。

 

参见

AcDbHardPointerId, AcDbHardOwrnershipId, AcDbSoftOwnershipId, AcDbHandle

 

成员

 

AcDbSoftPointerId赋值操作符

AcDbSoftPointerId::operator = 函数

inline AcDbSoftPointerId &

operator =(

const AcDbStub* pStub);

pStub

内部使用

仅供AutoCAD内部使用。


inline AcDbSoftPointerId &

operator =(

const AcDbObjectId& id);

id

传递要复制的objectId

id将数据复制至AcDbSoftPointerId对象。


inline AcDbSoftPointerId &

operator =(

const AcDbSoftPointerId& id);

id

传递要复制的softPointerId

id复制数据至AcDbSoftPointerId对象。

 

AcDbSoftPointerId建构器和析构器

AcDbSoftPointerId::AcDbSoftPointerId 函数

inline

AcDbSoftPointerId(

const AcDbStub* pStub);

pStub

内部使用

仅供AutoCAD内部使用。


inline

AcDbSoftPointerId(

const AcDbObjectId& id);

id

传递要复制的objectId

创建新的AcDbSoftPointerId对象并复制id的数据至它。

 


inline

AcDbSoftPointerId();

默认建构器。初始化ID0

 

AcDbSoftPointerId转换函数

AcDbSoftPointerId::operator AcDbStub* 函数

inline

operator AcDbStub*() const;

仅供AutoCAD内部使用。

 

AcDbSoftPointerId操作符

AcDbSoftPointerId::operator != 函数

inline bool

operator !=(

const AcDbStub* pStub) const;

pStub

未说明

Description to come


inline bool

operator !=(

const AcDbObjectId& id) const;

id

未说明

Description to come

 

AcDbSoftPointerId::operator == 函数

inline bool

operator ==(

const AcDbStub* pStub) const;

pStub

未说明

Description to come


inline bool

operator ==(

const AcDbObjectId& id) const;

id

未说明

Description to come