Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
TObj_CheckModel Class Reference

#include <TObj_CheckModel.hxx>

Inheritance diagram for TObj_CheckModel:
Inheritance graph
[legend]

Public Member Functions

 TObj_CheckModel (const Handle< TObj_Model > &theModel)
 Initialize checker by model.
void SetToFix (const Standard_Boolean theToFix)
 Sets flag allowing fixing inconsistencies.
Standard_Boolean IsToFix () const
 Returns true if it is allowed to fix inconsistencies.
const Handle< TObj_Model > & GetModel () const
 Returns the checked model.
virtual ~TObj_CheckModel ()
 Empty virtual destructor.
virtual Standard_Boolean Perform ()
 Performs all checks. Descendants should call parent method before doing own checks. This implementation checks OCAF references and back references between objects of the model. Returns true if no inconsistencies found.

Detailed Description

This class provides consistency check of the TObj model. It collects all inconsistencies in the status bits and prepaires messages to be sent using SendStatusMessages (SendMessages) method. It supports also the fix mode, in which some inconsistencies are corrected.


Constructor & Destructor Documentation

virtual TObj_CheckModel::~TObj_CheckModel ( ) [inline, virtual]

Member Function Documentation


The documentation for this class was generated from the following file: