Archived issue #0024748
Remove unused instantiations of collection classes
Description
OCCT contains many instantiations of collections which are never used and can be removed to minimize amount of code:
- all classes defined in packages PColPGeom, PColPGeom2d
- some classes defined in Geom that have equivalents in TColGeom: SequenceOfBoundedSurface, (H)SequenceOfSurface
- in TColGeom: Array1OfBoundedCurve, (H)Array1OfBoundedSurface, HArray1OfBoundedCurve, (H)Array2OfBoundedSurface, (H)Array2OfBSplineSurface, HArray2OfBezierSurface, (H)SequenceOfBoundedSurface, HSequenceOfSurface
- in TColGeom2d: (H)Array1OfGeometry, (H)Array1OfBoundedCurve, HSequenceOfGeometry
- all classes defined in packages PColPGeom, PColPGeom2d
- some classes defined in Geom that have equivalents in TColGeom: SequenceOfBoundedSurface, (H)SequenceOfSurface
- in TColGeom: Array1OfBoundedCurve, (H)Array1OfBoundedSurface, HArray1OfBoundedCurve, (H)Array2OfBoundedSurface, (H)Array2OfBSplineSurface, HArray2OfBezierSurface, (H)SequenceOfBoundedSurface, HSequenceOfSurface
- in TColGeom2d: (H)Array1OfGeometry, (H)Array1OfBoundedCurve, HSequenceOfGeometry
Public activity
3 archived notes
Participants are labeled by their role within this record.
Fix (removing mentioned classes) pushed to CR24748, please review
Please test compilation of the patch and integrate.
Dear BugMaster,
Branch CR24748 (and products from GIT master) was compiled on Linux and Windows platforms.
[revision removed]
Number of compiler warnings in RELEASE mode:
occt component :
Linux: 29 (29 on master)
Windows: 0 (0 on master)
products component :
Linux: 12 (12 on master)
Windows: 2 (2 on master)
Number of compiler warnings in DEBUG mode:
occt component :
Linux: 15 (15 on master)
Windows: 0 (0 on master)
products component :
Linux: 7 (7 on master)
Windows: 1 (1 on master)
Wihtout testing
Branch CR24748 (and products from GIT master) was compiled on Linux and Windows platforms.
[revision removed]
Number of compiler warnings in RELEASE mode:
occt component :
Linux: 29 (29 on master)
Windows: 0 (0 on master)
products component :
Linux: 12 (12 on master)
Windows: 2 (2 on master)
Number of compiler warnings in DEBUG mode:
occt component :
Linux: 15 (15 on master)
Windows: 0 (0 on master)
products component :
Linux: 7 (7 on master)
Windows: 1 (1 on master)
Wihtout testing
Related records