]> OCCT Git - occt-copy.git/commit
0029740: Draw Harness - eliminate redundant casts to AIS_InteractiveObject
authorkgv <kgv@opencascade.com>
Mon, 23 Jul 2018 18:12:13 +0000 (21:12 +0300)
committeraba <aba@opencascade.com>
Mon, 11 Feb 2019 15:26:28 +0000 (18:26 +0300)
commitc03a4ac3accad3ea17df0516dd997a5ec765eb42
tree602e69f8086e86b55f05803fe4f9caaa79c030ec
parent4621567b79917b09a860926e5d76f172a71e45db
0029740: Draw Harness - eliminate redundant casts to AIS_InteractiveObject

NCollecton_DoubleMap has been extended with two new methods Find1() and Find2()
performing lookup and returning found key withoout throwing an exception
(similar to NCollection_DataMap::Find()).

ViewerTest_DoubleMapOfInteractiveAndName has been redeclared to define
Handle(AIS_InteractiveObject) key instead of Handle(Standard_Transient).
21 files changed:
src/NCollection/NCollection_DoubleMap.hxx
src/QABugs/QABugs_1.cxx
src/QABugs/QABugs_11.cxx
src/QABugs/QABugs_16.cxx
src/QABugs/QABugs_9.cxx
src/ViewerTest/ViewerTest.cxx
src/ViewerTest/ViewerTest_DoubleMapOfInteractiveAndName.hxx
src/ViewerTest/ViewerTest_ObjectCommands.cxx
src/ViewerTest/ViewerTest_OpenGlCommands.cxx
src/ViewerTest/ViewerTest_RelationCommands.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
tests/bugs/vis/bug137_1 [deleted file]
tests/bugs/vis/bug137_10 [deleted file]
tests/bugs/vis/bug137_11 [deleted file]
tests/bugs/vis/bug137_2 [deleted file]
tests/bugs/vis/bug137_3 [deleted file]
tests/bugs/vis/bug137_6 [deleted file]
tests/bugs/vis/bug137_7 [deleted file]
tests/bugs/vis/bug137_8 [deleted file]
tests/bugs/vis/bug137_9 [deleted file]
tools/ToolsDraw/ToolsDraw.cxx