mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024841: Remove duplicated and/or unused instances of collections
Removed duplicated instantiations of TCollection classes: - BRepMAT2d_SequenceOfBasicElt: duplicates MAT_SequenceOfBasicElt - BRepMesh_NodeHasherOfDataStructureOfDelaun, BRepMesh_IDMapOfNodeOfDataStructureOfDelaun: not used - QADNaming_DataMapOfShapeOfName: duplicates DNaming_DataMapOfShapeOfName - TDF_LabelLabelMap: not used - Graphic3d_SequenceOfAddress: not used - CDM_StackOfDocument: duplicates ListOfDocument (after fix on #24742) - Draw_MapOfFunctions: duplicates Plugin_MapOfFunctions - ExprIntrp_SkackOfNames: duplicates TColStd_ListOfAsciiString (after fix on #24742) - in package Storage: (H)SeqOfPersistent, MapPSDHasher, (H)SeqOfCallback: not used In addition, inheritance of MeshVS_ColorHasher from TColStd_MapIntegerHasher is dropped as it is useless but leads to problems if TColStd_MapIntegerHasher is converted to template. First of the two overloaded functions Draw::Load() removed as it is unused. Removed unused classes and files from PCollection and related packages.
This commit is contained in:
@@ -47,12 +47,9 @@ is
|
||||
-- the BasicElts contained in the bisecting locus.
|
||||
|
||||
|
||||
class SequenceOfBasicElt instantiates Sequence from TCollection
|
||||
(BasicElt from MAT);
|
||||
|
||||
class DataMapOfShapeSequenceOfBasicElt instantiates DataMap from TCollection
|
||||
(Shape from TopoDS,
|
||||
SequenceOfBasicElt from BRepMAT2d,
|
||||
SequenceOfBasicElt from MAT,
|
||||
ShapeMapHasher from TopTools);
|
||||
|
||||
class DataMapOfBasicEltShape instantiates
|
||||
|
@@ -29,9 +29,9 @@
|
||||
#include <TColGeom2d_SequenceOfCurve.hxx>
|
||||
#include <MAT_Graph.hxx>
|
||||
#include <MAT_BasicElt.hxx>
|
||||
#include <BRepTools_WireExplorer.hxx>
|
||||
#include <BRepMAT2d_SequenceOfBasicElt.hxx>
|
||||
#include <MAT_SequenceOfBasicElt.hxx>
|
||||
#include <BRepMAT2d_DataMapOfShapeSequenceOfBasicElt.hxx>
|
||||
#include <BRepTools_WireExplorer.hxx>
|
||||
#include <TColStd_DataMapIteratorOfDataMapOfIntegerInteger.hxx>
|
||||
#include <TColStd_DataMapOfIntegerInteger.hxx>
|
||||
#include <Precision.hxx>
|
||||
@@ -170,7 +170,7 @@ void BRepMAT2d_LinkTopoBilo::LinkToWire(const TopoDS_Wire& W,
|
||||
Handle(MAT_BasicElt) BE;
|
||||
Handle(Standard_Type) Type;
|
||||
TopTools_SequenceOfShape TopoSeq;
|
||||
BRepMAT2d_SequenceOfBasicElt EmptySeq;
|
||||
MAT_SequenceOfBasicElt EmptySeq;
|
||||
|
||||
TColStd_DataMapIteratorOfDataMapOfIntegerInteger Ite;
|
||||
TColStd_DataMapOfIntegerInteger LinkBECont;
|
||||
|
Reference in New Issue
Block a user