ACIS Interface Change History

From DocR21

Jump to: navigation, search

When compiling your application against a new version of ACIS, you may encounter compilation errors that are associated with one or more changes to the ACIS interface. The purpose of this article is to provide information to help you expedite the resolution of such errors.

Contents

R20

Class entity_error_info

The entity_error_info class is now typedef'd as error_info, and its former implementation moved to the deprecated class entity_error_info_legacy (declared in deprecated_ent_err_info.hxx). As a consequence, the following methods no longer compile:

  • entity_error_info::get_entity_id
  • entity_error_info::get_entity_id_count

Quick Fix: Replace all code references to entity_error_info by entity_error_info_legacy.
Best Fix: Replace entity_error_info with error_info and use error_info::get_entities_alive to access ENTITYs directly (in conjunction with the ENTITY::tag method if an ID is really needed).

Class rem_error_info

The header file rem_error.hxx associated with the rem_error_info class has been renamed deprecated_rem_error.hxx.
Quick Fix: Replace each reference to the old header with a reference to the new header.
Best Fix: Use error_info in place of rem_error_info.

See Also

Personal tools
Live