CAD Exchanger SDK
cadex::ModelCheck_XmlReportGenerator Class Reference

Generates validity report in the XML format. More...

Inheritance diagram for cadex::ModelCheck_XmlReportGenerator:
cadex::ModelCheck_ReportGenerator

Classes

struct  BRepCheckerMode
 Flags to tune ModelCheck_BRepChecker report format. More...
 

Public Member Functions

 ModelCheck_XmlReportGenerator (const char *theFileName)
 
 ModelCheck_XmlReportGenerator (const wchar_t *theFileName)
 
 ModelCheck_XmlReportGenerator (const TCollection_ExtendedString &theFileName)
 
virtual bool Generate (const ModelCheck_ModelChecker &theChecker)
 
virtual bool Generate (const ModelCheck_BRepChecker &theChecker)
 
virtual bool Dump ()
 
void SetBRepCheckerMode (BRepCheckerMode::FlagType theMode)
 Sets a mode for ModelCheck_BRepChecker report. More...
 
const std::shared_ptr< internal::ModelCheck_XmlReportGeneratorImpl > & Impl () const
 Returns an internal implementation object.
 

Detailed Description

Generates validity report in the XML format.

Member Function Documentation

◆ SetBRepCheckerMode()

void cadex::ModelCheck_XmlReportGenerator::SetBRepCheckerMode ( BRepCheckerMode::FlagType  theMode)

Sets a mode for ModelCheck_BRepChecker report.

For convenience accepts a bitwise sequence of flags.

Example:

typedef ModelCheck_XmlReportGenerator::BRepCheckerMode Mode;
ModelCheck_XmlReportGenerator aGen;
aGen.SetBRepCheckerMode (Mode::Contents | Mode::ByShape);