]> OCCT Git - occt.git/commitdiff
Coding - Clear up XSAlgo package #188
authordpasukhi <dpasukhi@opencascade.com>
Thu, 12 Dec 2024 20:39:02 +0000 (20:39 +0000)
committerdpasukhi <dpasukhi@opencascade.com>
Thu, 12 Dec 2024 20:59:56 +0000 (20:59 +0000)
Removed XSAlgo_ToolContainer which is have no functionality.
Removed XSAlgo_Caller as no more used.
Remove XSAlgo_AlgoContainer.lxx as no more needed.

src/XSAlgo/FILES
src/XSAlgo/XSAlgo_AlgoContainer.cxx
src/XSAlgo/XSAlgo_AlgoContainer.hxx
src/XSAlgo/XSAlgo_AlgoContainer.lxx [deleted file]
src/XSAlgo/XSAlgo_Caller.hxx [deleted file]
src/XSAlgo/XSAlgo_ToolContainer.cxx [deleted file]
src/XSAlgo/XSAlgo_ToolContainer.hxx [deleted file]

index 9e535d2da900915a6bc4f349456b6c6fb1d073ed..a14e64a73d590d5d5d755e9cf33b5f7adb4f8238 100644 (file)
@@ -2,7 +2,3 @@ XSAlgo.cxx
 XSAlgo.hxx
 XSAlgo_AlgoContainer.cxx
 XSAlgo_AlgoContainer.hxx
-XSAlgo_AlgoContainer.lxx
-XSAlgo_Caller.hxx
-XSAlgo_ToolContainer.cxx
-XSAlgo_ToolContainer.hxx
index a2a1459c32e4707d693f2cd8504ce35e29df19e7..9eb4d009830728cbc3877843d67fa0661a2631eb 100644 (file)
 #include <TransferBRep_ShapeMapper.hxx>
 #include <UnitsMethods.hxx>
 #include <XSAlgo_AlgoContainer.hxx>
-#include <XSAlgo_ToolContainer.hxx>
 #include <TopExp_Explorer.hxx>
 
 IMPLEMENT_STANDARD_RTTIEXT(XSAlgo_AlgoContainer,Standard_Transient)
 
-//=======================================================================
-//function : XSAlgo_AlgoContainer
-//purpose  : 
-//=======================================================================
-XSAlgo_AlgoContainer::XSAlgo_AlgoContainer()
-{
-  myTC = new XSAlgo_ToolContainer;
-}
-
 //=======================================================================
 //function : PrepareForTransfer
 //purpose  : 
index acba23dcfe385381df02740677231d63c4c24a77..6530b99c62adbab8e1d51a74b824aec766a7f6c3 100644 (file)
@@ -34,22 +34,13 @@ class Transfer_FinderProcess;
 class XSAlgo_AlgoContainer;
 DEFINE_STANDARD_HANDLE(XSAlgo_AlgoContainer, Standard_Transient)
 
-
 class XSAlgo_AlgoContainer : public Standard_Transient
 {
-
 public:
 
-  
   //! Empty constructor
-  Standard_EXPORT XSAlgo_AlgoContainer();
-  
-  //! Sets ToolContainer
-    void SetToolContainer (const Handle(XSAlgo_ToolContainer)& TC);
-  
-  //! Returns ToolContainer
-    Handle(XSAlgo_ToolContainer) ToolContainer() const;
-  
+  XSAlgo_AlgoContainer() {};
+
   //! Performs actions necessary for preparing environment
   //! for transfer. Empty in Open version.
   Standard_EXPORT virtual void PrepareForTransfer() const;
@@ -88,29 +79,7 @@ public:
   //! from item startTPitem
   Standard_EXPORT virtual void MergeTransferInfo (const Handle(Transfer_FinderProcess)& FP, const Handle(Standard_Transient)& info) const;
 
-
-
-
   DEFINE_STANDARD_RTTIEXT(XSAlgo_AlgoContainer,Standard_Transient)
-
-protected:
-
-
-
-
-private:
-
-
-  Handle(XSAlgo_ToolContainer) myTC;
-
-
 };
 
-
-#include <XSAlgo_AlgoContainer.lxx>
-
-
-
-
-
 #endif // _XSAlgo_AlgoContainer_HeaderFile
diff --git a/src/XSAlgo/XSAlgo_AlgoContainer.lxx b/src/XSAlgo/XSAlgo_AlgoContainer.lxx
deleted file mode 100644 (file)
index c8bcd8b..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-// Created on: 2000-01-28
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#include <XSAlgo_AlgoContainer.hxx>
-
-//=======================================================================
-//function : SetToolContainer
-//purpose  : 
-//=======================================================================
-
-inline  void XSAlgo_AlgoContainer::SetToolContainer(const Handle(XSAlgo_ToolContainer)& TC) 
-{
-  myTC = TC;
-}
-
-//=======================================================================
-//function : ToolContainer
-//purpose  : 
-//=======================================================================
-
-inline  Handle(XSAlgo_ToolContainer) XSAlgo_AlgoContainer::ToolContainer() const
-{
-  return myTC;
-}
diff --git a/src/XSAlgo/XSAlgo_Caller.hxx b/src/XSAlgo/XSAlgo_Caller.hxx
deleted file mode 100644 (file)
index d90f4fb..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-// Created on: 2000-01-19
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#ifndef _XSAlgo_Caller_HeaderFile
-#define _XSAlgo_Caller_HeaderFile
-
-//! Identifies the caller of the algorithm
-enum XSAlgo_Caller
-{
-XSAlgo_DEFAULT,
-XSAlgo_IGES,
-XSAlgo_STEP
-};
-
-#endif // _XSAlgo_Caller_HeaderFile
diff --git a/src/XSAlgo/XSAlgo_ToolContainer.cxx b/src/XSAlgo/XSAlgo_ToolContainer.cxx
deleted file mode 100644 (file)
index 0e4cb86..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-// Created on: 2000-01-19
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-
-#include <Standard_Type.hxx>
-#include <XSAlgo_ToolContainer.hxx>
-
-IMPLEMENT_STANDARD_RTTIEXT(XSAlgo_ToolContainer,Standard_Transient)
-
-//=======================================================================
-//function : XSAlgo_ToolContainer
-//purpose  : 
-//=======================================================================
-XSAlgo_ToolContainer::XSAlgo_ToolContainer()
-{
-}
-/*
-//=======================================================================
-//function : FixWire
-//purpose  : 
-//=======================================================================
-
-Handle(ShapeFix_Wire) XSAlgo_ToolContainer::FixWire() const
-{
-  return new ShapeFix_Wire;
-}
-*/
diff --git a/src/XSAlgo/XSAlgo_ToolContainer.hxx b/src/XSAlgo/XSAlgo_ToolContainer.hxx
deleted file mode 100644 (file)
index 9b5460e..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// Created on: 2000-01-19
-// Created by: data exchange team
-// Copyright (c) 2000-2014 OPEN CASCADE SAS
-//
-// This file is part of Open CASCADE Technology software library.
-//
-// This library is free software; you can redistribute it and/or modify it under
-// the terms of the GNU Lesser General Public License version 2.1 as published
-// by the Free Software Foundation, with special exception defined in the file
-// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
-// distribution for complete text of the license and disclaimer of any warranty.
-//
-// Alternatively, this file may be used under the terms of Open CASCADE
-// commercial license or contractual agreement.
-
-#ifndef _XSAlgo_ToolContainer_HeaderFile
-#define _XSAlgo_ToolContainer_HeaderFile
-
-#include <Standard.hxx>
-#include <Standard_Type.hxx>
-
-#include <Standard_Transient.hxx>
-
-
-class XSAlgo_ToolContainer;
-DEFINE_STANDARD_HANDLE(XSAlgo_ToolContainer, Standard_Transient)
-
-//! Returns tools used by AlgoContainer
-class XSAlgo_ToolContainer : public Standard_Transient
-{
-
-public:
-
-  
-  //! Empty constructor
-  Standard_EXPORT XSAlgo_ToolContainer();
-
-
-
-
-  DEFINE_STANDARD_RTTIEXT(XSAlgo_ToolContainer,Standard_Transient)
-
-protected:
-
-
-
-
-private:
-
-
-
-
-};
-
-
-
-
-
-
-
-#endif // _XSAlgo_ToolContainer_HeaderFile