Commit 2ef374f
committed
Coding - Updated macroses to c++17 standards
- Replace legacy Standard_OVERRIDE occurrences with C++ override specifier
across many headers and sources (TKGeomBase, ProjLib, FEmTool, GeomLib,
Visualization modules, AIS, Prs3d, PrsDim, Select3D/SelectMgr, StdSelect,
V3d, etc.). This makes virtual function overrides explicit and improves
compiler checks.
- Replace Standard_FALLTHROUGH markers with the standard C++17
[[fallthrough]] attribute in switch statements to express intentional
fall-throughs in a standards-compliant way.
- Apply corresponding small signature/format adjustments where needed
(keeping existing Standard_EXPORT and other project-specific macros).
- No algorithmic or behavioral changes intended; changes are focused on
code modernisation and suppressing compiler warnings while improving
code clarity and safety.
Files touched include (non-exhaustive): many headers and sources under
src/ModelingData, src/Visualization (TKD3DHost, TKIVtk, TKOpenGl, TKMeshVS,
TKV3d, TKService), and various Select3D/SelectMgr/StdSelect/Prs3d/PrsDim/AIS
components.1 parent 279da59 commit 2ef374f
1,535 files changed
Lines changed: 7909 additions & 7961 deletions
File tree
- dox
- contribution
- upgrade
- samples
- glfw
- ios/UIKitSample/UIKitSample
- mfc/standard
- 01_Geometry/src
- 04_HLR/src
- Common
- qt
- Common/src
- OCCTOverview
- code
- src
- src
- ApplicationFramework
- TKBinL
- BinLDrivers
- BinMDF
- BinMDataStd
- BinMDocStd
- BinMFunction
- TKBinTObj/BinTObjDrivers
- TKBin
- BinDrivers
- BinMDataXtd
- BinMNaming
- TKCAF
- AppStd
- TDataXtd
- TNaming
- TKCDF
- CDF
- LDOM
- PCDM
- TKLCAF
- AppStdL
- TDF
- TDataStd
- TDocStd
- TFunction
- TKStdL/StdLDrivers
- TKStd/StdDrivers
- TKTObj/TObj
- TKVCAF/TPrsStd
- TKXmlL
- XmlLDrivers
- XmlMDF
- XmlMDataStd
- XmlMDocStd
- XmlMFunction
- TKXmlTObj/XmlTObjDrivers
- TKXml
- XmlDrivers
- XmlMDataXtd
- XmlMNaming
- DataExchange
- TKBinXCAF
- BinMXCAFDoc
- BinXCAFDrivers
- TKDECascade
- DEBREP
- DEXCAF
- TKDEGLTF
- DEGLTF
- RWGltf
- TKDEIGES
- BRepToIGESBRep
- DEIGES
- IGESAppli
- IGESBasic
- IGESControl
- IGESConvGeom
- IGESData
- IGESDefs
- IGESDimen
- IGESDraw
- IGESGeom
- IGESGraph
- IGESSelect
- IGESSolid
- IGESToBRep
- TKDEOBJ
- DEOBJ
- RWObj
- TKDEPLY/DEPLY
- TKDESTEP
- APIHeaderSection
- DESTEP
- HeaderSection
- RWHeaderSection
- RWStepAP214
- STEPCAFControl
- STEPControl
- STEPEdit
- STEPSelections
- StepAP214
- StepBasic
- StepData
- StepDimTol
- StepElement
- StepFEA
- StepGeom
- StepKinematics
- StepRepr
- StepSelect
- StepShape
- StepVisual
- TKDESTL
- DESTL
- RWStl
- TKDEVRML
- DEVRML
- VrmlAPI
- VrmlData
- TKDE/DE
- TKRWMesh/RWMesh
- TKXCAF
- XCAFApp
- XCAFDoc
- XCAFPrs
- TKXSBase
- IFGraph
- IFSelect
- Interface
- MoniTool
- TransferBRep
- Transfer
- XSControl
- TKXmlXCAF
- XmlMXCAFDoc
- XmlXCAFDrivers
- Draw
- DRAWEXE
- TKDCAF
- DDF
- DDataStd
- DDocStd
- DNaming
- DrawDim
- TKDraw
- DBRep
- DrawTrSurf
- Draw
- TKIVtkDraw/IVtkDraw
- TKOpenGlTest/OpenGlTest
- TKQADraw/QABugs
- TKTObjDRAW/TObjDRAW
- TKTopTest
- BOPTest
- BRepTest
- DrawFairCurve
- GeometryTest
- HLRTest
- TKViewerTest/ViewerTest
- TKXSDRAWSTL/XSDRAWSTL
- TKXSDRAW/XSDRAW
- FoundationClasses
- TKMath
- BVH
- Bnd
- PLib
- Poly
- TopLoc
- gp
- math
- TKernel
- FSD
- Message
- NCollection
- OSD
- Quantity
- Standard
- Storage
- TCollection
- UnitsAPI
- Units
- ModelingAlgorithms
- TKBO
- BOPAlgo
- BOPDS
- BOPTools
- BRepAlgoAPI
- IntTools
- TKBool
- BRepFill
- TopOpeBRepBuild
- TopOpeBRepDS
- TKExpress/Expr
- TKFeat
- BRepFeat
- LocOpe
- TKFillet
- BRepBlend
- BRepFilletAPI
- BlendFunc
- Blend
- ChFi3d
- ChFiDS
- FilletSurf
- TKGeomAlgo
- FairCurve
- GccInt
- Geom2dInt
- GeomFill
- GeomInt
- GeomPlate
- IntCurveSurface
- IntCurve
- IntPatch
- IntPolyh
- IntWalk
- Law
- NLPlate
- TKHLR
- Contap
- HLRBRep
- Intrv
- TKHelix/HelixGeom
- TKMesh
- BRepMeshData
- BRepMesh
- TKOffset
- BRepOffsetAPI
- BRepOffset
- BiTgte
- Draft
- TKPrim
- BRepPreviewAPI
- BRepPrimAPI
- BRepPrim
- BRepSweep
- TKShHealing
- ShapeAnalysis
- ShapeBuild
- ShapeConstruct
- ShapeCustom
- ShapeExtend
- ShapeFix
- ShapeProcess
- ShapeUpgrade
- TKTopAlgo
- BRepApprox
- BRepBuilderAPI
- BRepCheck
- BRepExtrema
- BRepGProp
- BRepLib
- BRepTopAdaptor
- Bisector
- ModelingData
- TKBRep
- BRepAdaptor
- BRepTools
- BRep
- BinTools
- TopoDS
- TKG2d
- Adaptor2d
- Geom2dAdaptor
- Geom2dEvaluator
- Geom2d
- TKG3d
- Adaptor3d
- AdvApprox
- GeomAdaptor
- GeomEvaluator
- Geom
- TKGeomBase
- AppDef
- AppParCurves
- Approx
- BndLib
- Extrema
- FEmTool
- GeomConvert
- GeomLib
- ProjLib
- Visualization
- TKD3DHost/D3DHost
- TKIVtk
- IVtkOCC
- IVtkTools
- IVtkVTK
- TKMeshVS/MeshVS
- TKOpenGl/OpenGl
- TKService
- Aspect
- Cocoa
- Graphic3d
- Image
- WNT
- Wasm
- Xw
- TKV3d
- AIS
- Prs3d
- PrsDim
- PrsMgr
- Select3D
- SelectMgr
- StdPrs
- StdSelect
- V3d
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
566 | | - | |
| 566 | + | |
567 | 567 | | |
568 | 568 | | |
569 | 569 | | |
| |||
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
583 | | - | |
| 583 | + | |
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
939 | 939 | | |
940 | 940 | | |
941 | 941 | | |
942 | | - | |
| 942 | + | |
943 | 943 | | |
944 | 944 | | |
945 | 945 | | |
| |||
1261 | 1261 | | |
1262 | 1262 | | |
1263 | 1263 | | |
1264 | | - | |
| 1264 | + | |
1265 | 1265 | | |
1266 | 1266 | | |
1267 | 1267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
83 | | - | |
| 82 | + | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
| 101 | + | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
0 commit comments