If the application executed properly, you will see the following console window:
If an error occurs during the application execution, you will see an appropriate error message in the console window.
For example, the following picture illustrates the program output in the case when it was called with wrong arguments:
Additional Information
ODA PRC SDK audit functionality is not implemented yet. The audit
public interface will be used for future implementation.
Sample application source code is located in the OdPrcAudit.cpp file. This
file contains the application entry point (main() function). The main() function
also contains
common sections before and after the source code section that illustrate
how to audit a .prc file's content.
The general audit process includes these steps:
Load a ODA PRC SDK module for .prc functionality support.
Create an instance of the OdPrcAuditInfoImpl class. This class contains
audit functionality.
Create a drawing database for the .prc file.
Read the .prc file's content into the created database and check for errors.
If one or more errors are found, a report is generated that details information
about each error.