0024870: Provide OCCT RTTI test cases
authorabv <abv@opencascade.com>
Tue, 30 Jun 2015 07:25:48 +0000 (10:25 +0300)
committerabv <abv@opencascade.com>
Sun, 12 Jul 2015 09:30:27 +0000 (12:30 +0300)
commite8862cf41a310e818707ab36a351363dba480d31
treecb862205ea595eb3141a4f83bfd00d75a10538c2
parentc60ae7f6b19cd039a441ed3322ae233bfa9cd333
0024870: Provide OCCT RTTI test cases

Test commands for checking performance and functionality of OCCT handles and RTTI added.
New test case added for that: test perf fclasses handle.

Implementation of opencascade::handle improved to enable compile-time error if two handles of incompatible types are compared.
Comparison of handle to NULL is not possible any more; method IsNull() should be used instead.

Method LDOM_MemManager::Doc() is removed to avoid cyclic dependency of headers; constructor of LDOM_Document(LDOM_MemManager&) is used directly instead.

Inclusion of headers corrected for compilation after previous patch.
29 files changed:
src/BRepBuilderAPI/BRepBuilderAPI_Sewing.hxx
src/BRepLib/BRepLib_CheckCurveOnSurface.lxx
src/BRepTools/BRepTools.hxx
src/BRepTools/BRepTools_Modifier.hxx
src/IntPatch/IntPatch_Point.hxx
src/Interface/Interface_Graph.hxx
src/LDOM/LDOM_BasicAttribute.cxx
src/LDOM/LDOM_BasicElement.cxx
src/LDOM/LDOM_BasicText.cxx
src/LDOM/LDOM_Element.cxx
src/LDOM/LDOM_MemManager.hxx
src/LDOM/LDOM_Node.hxx
src/QANCollection/FILES
src/QANCollection/QANCollection.cxx
src/QANCollection/QANCollection.hxx
src/QANCollection/QANCollection_Handle.cxx [new file with mode: 0644]
src/RWStl/RWStl.hxx
src/ShapeFix/ShapeFix.hxx
src/ShapeFix/ShapeFix_Root.hxx
src/ShapeFix/ShapeFix_Shape.hxx
src/Standard/Standard_Handle.hxx
src/StepShape/StepShape_Edge.hxx
src/XmlMDataStd/XmlMDataStd_ExtStringArrayDriver.cxx
src/XmlMDataStd/XmlMDataStd_ExtStringListDriver.cxx
src/XmlMDataStd/XmlMDataStd_NamedDataDriver.cxx
src/XmlMDataStd/XmlMDataStd_ReferenceArrayDriver.cxx
src/XmlMDataStd/XmlMDataStd_ReferenceListDriver.cxx
src/XmlMFunction/XmlMFunction_ScopeDriver.cxx
tests/perf/fclasses/handle [new file with mode: 0644]