返回介绍

30.4.2.1 Operations on collections

发布于 2020-09-09 22:56:02 字数 843 浏览 855 评论 0 收藏 0

A traverse collection can be obtained (i.e. created) from a design collection using vpi_handle(). The call would take on the form of:

vpiHandle objCollection;
/* Obtain a traverse collection from the object collection */
vpi_handle(vpiTrvsCollection, objCollection);

The usage of this capability is discussed in Section 30.8.7.

Another optional method is defined, which is used in the case the user wishes to directly control the data load, for loading data of objects in a collection: vpi_load(). This operation loads all the objects in the collection. It is equivalent to performing a vpi_load() on every single handle of the object elements in the collection.

A traversal method is also defined on collections of traverse handles; i.e. collections of type vpiTrvsCollection. The method is vpi_goto().

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文