]> OCCT Git - occt.git/commit
Coding - Update method guards for consistency #333
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Mon, 3 Feb 2025 11:16:00 +0000 (12:16 +0100)
committerGitHub <noreply@github.com>
Mon, 3 Feb 2025 11:16:00 +0000 (11:16 +0000)
commit1f386af59f9864101eeb0b53c2339f3f4cda888d
treed969f193336388241a0c0bf0d059ac9b093893ca
parent3ce9ec765181d169b0080cc1d6a7a537ecbbf695
Coding - Update method guards for consistency #333

Apply new regex replacement with method's guards in .cxx
Update GH workflow with style checking
283 files changed:
.github/actions/clang-format-check/action.yml
src/AIS/AIS_GlobalStatus.cxx
src/AIS/AIS_InteractiveContext.cxx
src/AIS/AIS_LightSource.cxx
src/AIS/AIS_MediaPlayer.cxx
src/AIS/AIS_Trihedron.cxx
src/AIS/AIS_TrihedronOwner.cxx
src/AIS/AIS_ViewController.cxx
src/Aspect/Aspect_Background.cxx
src/Aspect/Aspect_DisplayConnection.cxx
src/Aspect/Aspect_GenId.cxx
src/Aspect/Aspect_GradientBackground.cxx
src/Aspect/Aspect_NeutralWindow.cxx
src/Aspect/Aspect_OpenVRSession.cxx
src/Aspect/Aspect_SkydomeBackground.cxx
src/Aspect/Aspect_VKeySet.cxx
src/Aspect/Aspect_WindowInputListener.cxx
src/Aspect/Aspect_XRSession.cxx
src/BOPAlgo/BOPAlgo_ArgumentAnalyzer.cxx
src/BRepExtrema/BRepExtrema_OverlapTool.cxx
src/BRepExtrema/BRepExtrema_SelfIntersection.cxx
src/BRepFill/BRepFill_TrimShellCorner.cxx
src/BRepLib/BRepLib_PointCloudShape.cxx
src/BRepLib/BRepLib_ToolTriangulatedShape.cxx
src/BRepMesh/BRepMesh_Delaun.cxx
src/BVH/BVH_Properties.cxx
src/Bnd/Bnd_OBB.cxx
src/Bnd/Bnd_Range.cxx
src/D3DHost/D3DHost_FrameBuffer.cxx
src/D3DHost/D3DHost_GraphicDriver.cxx
src/D3DHost/D3DHost_GraphicDriverFactory.cxx
src/D3DHost/D3DHost_View.cxx
src/D3DHostTest/D3DHostTest.cxx
src/DsgPrs/DsgPrs_DatumPrs.cxx
src/Extrema/Extrema_GenExtCS.cxx
src/Extrema/Extrema_GenExtPS.cxx
src/Extrema/Extrema_GenExtSS.cxx
src/Font/Font_FTFont.cxx
src/Font/Font_FTLibrary.cxx
src/Font/Font_FontMgr.cxx
src/Font/Font_SystemFont.cxx
src/Font/Font_TextFormatter.cxx
src/Graphic3d/Graphic3d_ArrayOfPrimitives.cxx
src/Graphic3d/Graphic3d_AspectFillArea3d.cxx
src/Graphic3d/Graphic3d_AspectLine3d.cxx
src/Graphic3d/Graphic3d_AspectMarker3d.cxx
src/Graphic3d/Graphic3d_AspectText3d.cxx
src/Graphic3d/Graphic3d_Aspects.cxx
src/Graphic3d/Graphic3d_AttribBuffer.cxx
src/Graphic3d/Graphic3d_BSDF.cxx
src/Graphic3d/Graphic3d_Buffer.cxx
src/Graphic3d/Graphic3d_BvhCStructureSet.cxx
src/Graphic3d/Graphic3d_BvhCStructureSetTrsfPers.cxx
src/Graphic3d/Graphic3d_CLight.cxx
src/Graphic3d/Graphic3d_CView.cxx
src/Graphic3d/Graphic3d_Camera.cxx
src/Graphic3d/Graphic3d_ClipPlane.cxx
src/Graphic3d/Graphic3d_CubeMap.cxx
src/Graphic3d/Graphic3d_CubeMapOrder.cxx
src/Graphic3d/Graphic3d_CubeMapPacked.cxx
src/Graphic3d/Graphic3d_CubeMapSeparate.cxx
src/Graphic3d/Graphic3d_CullingTool.cxx
src/Graphic3d/Graphic3d_FrameStats.cxx
src/Graphic3d/Graphic3d_FrameStatsData.cxx
src/Graphic3d/Graphic3d_GraphicDriver.cxx
src/Graphic3d/Graphic3d_GraphicDriverFactory.cxx
src/Graphic3d/Graphic3d_Group.cxx
src/Graphic3d/Graphic3d_Layer.cxx
src/Graphic3d/Graphic3d_LightSet.cxx
src/Graphic3d/Graphic3d_MarkerImage.cxx
src/Graphic3d/Graphic3d_MaterialAspect.cxx
src/Graphic3d/Graphic3d_MediaTexture.cxx
src/Graphic3d/Graphic3d_MediaTextureSet.cxx
src/Graphic3d/Graphic3d_PBRMaterial.cxx
src/Graphic3d/Graphic3d_PresentationAttributes.cxx
src/Graphic3d/Graphic3d_SequenceOfHClipPlane.cxx
src/Graphic3d/Graphic3d_ShaderAttribute.cxx
src/Graphic3d/Graphic3d_ShaderManager.cxx
src/Graphic3d/Graphic3d_ShaderObject.cxx
src/Graphic3d/Graphic3d_ShaderProgram.cxx
src/Graphic3d/Graphic3d_StructureManager.cxx
src/Graphic3d/Graphic3d_Text.cxx
src/Graphic3d/Graphic3d_Texture1D.cxx
src/Graphic3d/Graphic3d_Texture1Dmanual.cxx
src/Graphic3d/Graphic3d_Texture1Dsegment.cxx
src/Graphic3d/Graphic3d_Texture2D.cxx
src/Graphic3d/Graphic3d_Texture2Dplane.cxx
src/Graphic3d/Graphic3d_Texture3D.cxx
src/Graphic3d/Graphic3d_TextureEnv.cxx
src/Graphic3d/Graphic3d_TextureMap.cxx
src/Graphic3d/Graphic3d_TextureParams.cxx
src/Graphic3d/Graphic3d_TextureRoot.cxx
src/Graphic3d/Graphic3d_TransformPers.cxx
src/Graphic3d/Graphic3d_TransformPersScaledAbove.cxx
src/Graphic3d/Graphic3d_Vertex.cxx
src/Graphic3d/Graphic3d_ViewAffinity.cxx
src/IVtk/IVtk_IShapeMesher.cxx
src/IVtkDraw/IVtkDraw_Interactor.cxx
src/IVtkTools/IVtkTools_ShapeDataSource.cxx
src/IVtkTools/IVtkTools_SubPolyDataFilter.cxx
src/Image/Image_AlienPixMap.cxx
src/Image/Image_DDSParser.cxx
src/Image/Image_Diff.cxx
src/Image/Image_PixMap.cxx
src/Image/Image_SupportedFormats.cxx
src/Image/Image_Texture.cxx
src/IntTools/IntTools_BeanFaceIntersector.cxx
src/IntTools/IntTools_TopolTool.cxx
src/Media/Media_BufferPool.cxx
src/Media/Media_CodecContext.cxx
src/Media/Media_FormatContext.cxx
src/Media/Media_Frame.cxx
src/Media/Media_Packet.cxx
src/Media/Media_Scaler.cxx
src/Message/Message.cxx
src/OSD/OSD_Directory.cxx
src/OSD/OSD_Disk.cxx
src/OSD/OSD_File.cxx
src/OSD/OSD_MemInfo.cxx
src/OSD/OSD_OpenFile.cxx
src/OSD/OSD_Parallel_TBB.cxx
src/OSD/OSD_Path.cxx
src/OSD/OSD_Process.cxx
src/OSD/OSD_ThreadPool.cxx
src/OSD/OSD_signal.cxx
src/OpenGl/OpenGl_Aspects.cxx
src/OpenGl/OpenGl_AspectsProgram.cxx
src/OpenGl/OpenGl_AspectsSprite.cxx
src/OpenGl/OpenGl_AspectsTextureSet.cxx
src/OpenGl/OpenGl_Buffer.cxx
src/OpenGl/OpenGl_CappingAlgo.cxx
src/OpenGl/OpenGl_CappingPlaneResource.cxx
src/OpenGl/OpenGl_Caps.cxx
src/OpenGl/OpenGl_Clipping.cxx
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_DepthPeeling.cxx
src/OpenGl/OpenGl_Element.cxx
src/OpenGl/OpenGl_Flipper.cxx
src/OpenGl/OpenGl_Font.cxx
src/OpenGl/OpenGl_FrameBuffer.cxx
src/OpenGl/OpenGl_FrameStats.cxx
src/OpenGl/OpenGl_FrameStatsPrs.cxx
src/OpenGl/OpenGl_GlFunctions.cxx
src/OpenGl/OpenGl_GraduatedTrihedron.cxx
src/OpenGl/OpenGl_GraphicDriver.cxx
src/OpenGl/OpenGl_GraphicDriverFactory.cxx
src/OpenGl/OpenGl_Group.cxx
src/OpenGl/OpenGl_IndexBuffer.cxx
src/OpenGl/OpenGl_LayerList.cxx
src/OpenGl/OpenGl_LineAttributes.cxx
src/OpenGl/OpenGl_PBREnvironment.cxx
src/OpenGl/OpenGl_PointSprite.cxx
src/OpenGl/OpenGl_PrimitiveArray.cxx
src/OpenGl/OpenGl_Sampler.cxx
src/OpenGl/OpenGl_ShaderManager.cxx
src/OpenGl/OpenGl_ShaderObject.cxx
src/OpenGl/OpenGl_ShaderProgram.cxx
src/OpenGl/OpenGl_ShaderStates.cxx
src/OpenGl/OpenGl_ShadowMap.cxx
src/OpenGl/OpenGl_StencilTest.cxx
src/OpenGl/OpenGl_Structure.cxx
src/OpenGl/OpenGl_StructureShadow.cxx
src/OpenGl/OpenGl_Text.cxx
src/OpenGl/OpenGl_TextBuilder.cxx
src/OpenGl/OpenGl_Texture.cxx
src/OpenGl/OpenGl_TextureBuffer.cxx
src/OpenGl/OpenGl_TextureFormat.cxx
src/OpenGl/OpenGl_TextureSet.cxx
src/OpenGl/OpenGl_UniformBuffer.cxx
src/OpenGl/OpenGl_VertexBuffer.cxx
src/OpenGl/OpenGl_View.cxx
src/OpenGl/OpenGl_View_Raytrace.cxx
src/OpenGl/OpenGl_Window.cxx
src/OpenGl/OpenGl_Workspace.cxx
src/OpenGlTest/OpenGlTest.cxx
src/Poly/Poly_ArrayOfNodes.cxx
src/Poly/Poly_ArrayOfUVNodes.cxx
src/Poly/Poly_MergeNodesTool.cxx
src/Poly/Poly_Triangulation.cxx
src/Prs3d/Prs3d.cxx
src/Prs3d/Prs3d_Arrow.cxx
src/Prs3d/Prs3d_ArrowAspect.cxx
src/Prs3d/Prs3d_DatumAspect.cxx
src/Prs3d/Prs3d_DimensionAspect.cxx
src/Prs3d/Prs3d_Drawer.cxx
src/Prs3d/Prs3d_LineAspect.cxx
src/Prs3d/Prs3d_PlaneAspect.cxx
src/Prs3d/Prs3d_PointAspect.cxx
src/Prs3d/Prs3d_PresentationShadow.cxx
src/Prs3d/Prs3d_ShadingAspect.cxx
src/Prs3d/Prs3d_Text.cxx
src/Prs3d/Prs3d_TextAspect.cxx
src/PrsMgr/PrsMgr_PresentableObject.cxx
src/PrsMgr/PrsMgr_Presentation.cxx
src/PrsMgr/PrsMgr_PresentationManager.cxx
src/Quantity/Quantity_Color.cxx
src/RWGltf/RWGltf_CafWriter.cxx
src/RWGltf/RWGltf_GltfJsonParser.cxx
src/RWGltf/RWGltf_GltfLatePrimitiveArray.cxx
src/RWGltf/RWGltf_GltfMaterialMap.cxx
src/RWGltf/RWGltf_TriangulationReader.cxx
src/RWMesh/RWMesh.cxx
src/RWMesh/RWMesh_CafReader.cxx
src/RWMesh/RWMesh_CoordinateSystemConverter.cxx
src/RWMesh/RWMesh_EdgeIterator.cxx
src/RWMesh/RWMesh_FaceIterator.cxx
src/RWMesh/RWMesh_MaterialMap.cxx
src/RWMesh/RWMesh_ShapeIterator.cxx
src/RWMesh/RWMesh_TriangulationReader.cxx
src/RWMesh/RWMesh_TriangulationSource.cxx
src/RWMesh/RWMesh_VertexIterator.cxx
src/RWObj/RWObj_CafWriter.cxx
src/RWObj/RWObj_MtlReader.cxx
src/RWObj/RWObj_ObjMaterialMap.cxx
src/RWObj/RWObj_ObjWriterContext.cxx
src/RWObj/RWObj_Reader.cxx
src/RWObj/RWObj_TriangulationReader.cxx
src/RWPly/RWPly_CafWriter.cxx
src/RWPly/RWPly_PlyWriterContext.cxx
src/RWStepShape/RWStepShape_RWEdgeCurve.cxx
src/Resource/Resource_Manager.cxx
src/Select3D/Select3D_InteriorSensitivePointSet.cxx
src/Select3D/Select3D_SensitiveGroup.cxx
src/Select3D/Select3D_SensitivePoly.cxx
src/Select3D/Select3D_SensitivePrimitiveArray.cxx
src/Select3D/Select3D_SensitiveSphere.cxx
src/Select3D/Select3D_SensitiveTriangulation.cxx
src/Select3D/Select3D_SensitiveWire.cxx
src/SelectBasics/SelectBasics_SelectingVolumeManager.cxx
src/SelectMgr/SelectMgr_AxisIntersector.cxx
src/SelectMgr/SelectMgr_BVHThreadPool.cxx
src/SelectMgr/SelectMgr_EntityOwner.cxx
src/SelectMgr/SelectMgr_RectangularFrustum.cxx
src/SelectMgr/SelectMgr_SelectableObject.cxx
src/SelectMgr/SelectMgr_Selection.cxx
src/SelectMgr/SelectMgr_SelectionImageFiller.cxx
src/SelectMgr/SelectMgr_SensitiveEntity.cxx
src/SelectMgr/SelectMgr_TriangularFrustum.cxx
src/SelectMgr/SelectMgr_TriangularFrustumSet.cxx
src/SelectMgr/SelectMgr_ViewClipRange.cxx
src/Standard/Standard_ArrayStreamBuffer.cxx
src/Standard/Standard_CLocaleSentry.cxx
src/Standard/Standard_Condition.cxx
src/Standard/Standard_Dump.cxx
src/Standard/Standard_Failure.cxx
src/StdPrs/StdPrs_BRepFont.cxx
src/StdPrs/StdPrs_BRepTextBuilder.cxx
src/StdPrs/StdPrs_ShadedShape.cxx
src/StdPrs/StdPrs_ToolTriangulatedShape.cxx
src/StdPrs/StdPrs_WFShape.cxx
src/StdSelect/StdSelect_BRepOwner.cxx
src/V3d/V3d_AmbientLight.cxx
src/V3d/V3d_DirectionalLight.cxx
src/V3d/V3d_Plane.cxx
src/V3d/V3d_PositionLight.cxx
src/V3d/V3d_PositionalLight.cxx
src/V3d/V3d_SpotLight.cxx
src/V3d/V3d_Trihedron.cxx
src/V3d/V3d_View.cxx
src/V3d/V3d_Viewer.cxx
src/ViewerTest/ViewerTest.cxx
src/ViewerTest/ViewerTest_ContinuousRedrawer.cxx
src/ViewerTest/ViewerTest_EventManager.cxx
src/ViewerTest/ViewerTest_V3dView.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
src/WNT/WNT_HIDSpaceMouse.cxx
src/WNT/WNT_Window.cxx
src/Wasm/Wasm_Window.cxx
src/XCAFDoc/XCAFDoc_AssemblyGraph.cxx
src/XCAFDoc/XCAFDoc_Editor.cxx
src/XCAFDoc/XCAFDoc_Note.cxx
src/XCAFDoc/XCAFDoc_NoteBalloon.cxx
src/XCAFDoc/XCAFDoc_NoteBinData.cxx
src/XCAFDoc/XCAFDoc_NoteComment.cxx
src/XCAFDoc/XCAFDoc_NotesTool.cxx
src/XCAFDoc/XCAFDoc_VisMaterial.cxx
src/XCAFPrs/XCAFPrs_AISObject.cxx
src/XCAFPrs/XCAFPrs_DocumentExplorer.cxx
src/XDEDRAW/XDEDRAW_Colors.cxx
src/Xw/Xw_Window.cxx
src/gp/gp_Mat.cxx
src/gp/gp_Mat2d.cxx
src/gp/gp_Vec.cxx