ODA Product: | ODA PRC SDK |
Sample Name: | OdPrcAudit |
Categories: | C++ / Advanced / Working with .prc files / Android, iOS, macOS, Linux, Windows |
Source Code Location: | Prc/Examples/OdPrcAudit |
A sample application that audits a .prc file.
To run the OdPrcAudit
sample application, please do the following:
<PRC_DIR>\exe\<version>
<PRC_DIR>/bin/<version>
<PRC_DIR>
is a directory where you unpacked the PRC SDK archive.
To determine your <version>
parameter, please see the
appropriate section
in the Download ODA PRC SDK topic.
OdPrcAudit <filename>
filename
|
Full path to a .prc file that should be audited. |
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:
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:
Copyright © 2002 – 2020. Open Design Alliance. All rights reserved.
|