AnyCAD C++ API  2018
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 
Public 成员函数 | 所有成员列表
AnyCAD::API::DocumentChangeArgs类 参考

The document change arguments. 更多...

#include <APIDocumentChangeArgs.h>

Public 成员函数

bool IsFromDocument (const Document &document) const
 
ElementIdSet GetDeletedIds () const
 
ElementIdSet GetUpdatedIds () const
 
ElementIdSet GetAddedIds () const
 

详细描述

The document change arguments.

TODO:

成员函数说明

ElementIdSet AnyCAD::API::DocumentChangeArgs::GetAddedIds ( ) const

Get the new added element ids.

返回
the added ids.
ElementIdSet AnyCAD::API::DocumentChangeArgs::GetDeletedIds ( ) const

Get the deleted element ids.

返回
the deleted ids.
ElementIdSet AnyCAD::API::DocumentChangeArgs::GetUpdatedIds ( ) const

Get the changed element ids.

返回
the changed ids.
bool AnyCAD::API::DocumentChangeArgs::IsFromDocument ( const Document document) const

Test if the message is from the target document.

参数
documentthe target document.
返回
true if from document.

该类的文档由以下文件生成: