AcDbSoftPointerId类
此类是一个特殊的AcDbObjectId,用于区分AcDbSoftPointerId 定义的一个对象是否被一些其他对象软参考。它的属性与更一般的AcDbObjectId相同。
继承自
AcDbObjectId
包含文件
dbid.h
提示
当建立一个参考至另一个对象时,考虑是否参考应保护一个对象以免被清除,或是否WBLOCK需要跟随这个指针参照并复制参照,以及是否需要有拥有-被拥有的关系。
在一个对象可能选择地参考另一个对象时,使用一个AcDbSoftPointerId参考另一个对象(即,没有对象依赖另一个对象的存在,一个对象对另一个对象只需要知道是否另一个对象存在)。
参见
AcDbHardPointerId, AcDbHardOwrnershipId,
AcDbSoftOwnershipId, AcDbHandle
成员
AcDbSoftPointerId::operator = 函数 inline AcDbSoftPointerId & operator =( const AcDbStub* pStub);
仅供AutoCAD内部使用。 inline AcDbSoftPointerId & operator =( const AcDbObjectId& id);
从id将数据复制至AcDbSoftPointerId对象。 inline AcDbSoftPointerId & operator =( const AcDbSoftPointerId& id);
从id复制数据至AcDbSoftPointerId对象。 |
AcDbSoftPointerId::AcDbSoftPointerId 函数 inline AcDbSoftPointerId( const AcDbStub* pStub);
仅供AutoCAD内部使用。 inline AcDbSoftPointerId( const AcDbObjectId& id);
创建新的AcDbSoftPointerId对象并复制id的数据至它。 inline AcDbSoftPointerId(); 默认建构器。初始化ID为0。 |
AcDbSoftPointerId::operator AcDbStub* 函数 inline operator AcDbStub*() const; 仅供AutoCAD内部使用。 |
AcDbSoftPointerId::operator != 函数 inline bool operator !=( const AcDbStub* pStub) const;
Description to come。 inline bool operator !=( const AcDbObjectId& id) const;
Description to come。 |
||||
AcDbSoftPointerId::operator == 函数 inline bool operator ==( const AcDbStub* pStub) const;
Description to come。 inline bool operator ==( const AcDbObjectId& id) const;
Description to come。 |