Provides information about conversion errors that occured during export process. More...
#include <cadex/Base_WriterStatistics.hxx>
Public Member Functions | |
ErrorIterator (const Base_WriterStatistics &theStatistics) | |
Constructor. | |
bool | HasNext () const |
Returns if there are errors left to iterate through. | |
const Base_ExportError & | Next () |
Returns the next export error. | |
Provides information about conversion errors that occured during export process.
Implements iterator interface. Each element returned by this iterator is an instance of cadex::Base_ExportError class, which provides access to the error message and its context.
Currently the functionality of collecting export errors is implemented only for ACIS, IGES, JT, Parasolid, STEP and Rhino.
The information about export errors can be retrieved after Base_Writer::Transfer has completed.
cadex::Base_WriterStatistics::ErrorIterator::ErrorIterator | ( | const Base_WriterStatistics & | theStatistics | ) |
Constructor.
Use the Base_WriterStatistics instance extracted from ACIS_Writer, IGES_Writer, JT_Writer, Para_Writer, STEP_Writer or Rhino_Writer.