|
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_EXPORT 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.
|
Private Member Functions |
Standard_EXPORT Standard_Boolean | checkReferences () |
| Check References (and back references in model). This method just tries to find object to that this reference is indicate and test if that object is not null or not deleted. Also it test if that object has back reference to correct object (object that has forward reference).
|
| Handle (TObj_Model) myModel |
Private Attributes |
Standard_Boolean | myToFix |