]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/GEOMAlgo/GEOMAlgo_BuilderTools.hxx
Salome HOME
0021672: [CEA 565] Dump Study from script
[modules/geom.git] / src / GEOMAlgo / GEOMAlgo_BuilderTools.hxx
index 4282e484378a30a7d065263b559a90b667c10a89..b0d13c9fece954ee5523dcf589cddf49e6b848eb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 
+// File:        GEOMAlgo_BuilderTools.hxx
+// Author:      Peter KURNEV
+
 #ifndef _GEOMAlgo_BuilderTools_HeaderFile
 #define _GEOMAlgo_BuilderTools_HeaderFile
 
-#ifndef _Standard_Boolean_HeaderFile
-#include <Standard_Boolean.hxx>
-#endif
-class TopoDS_Shape;
-
-
-#ifndef _Standard_HeaderFile
 #include <Standard.hxx>
-#endif
-#ifndef _Standard_Macro_HeaderFile
 #include <Standard_Macro.hxx>
-#endif
-
-
-class GEOMAlgo_BuilderTools  {
-
-public:
-
-    void* operator new(size_t,void* anAddress) 
-      {
-        return anAddress;
-      }
-    void* operator new(size_t size) 
-      { 
-        return Standard::Allocate(size); 
-      }
-    void  operator delete(void *anAddress) 
-      { 
-        if (anAddress) Standard::Free((Standard_Address&)anAddress); 
-      }
- // Methods PUBLIC
- // 
-
-
-Standard_EXPORT static  Standard_Boolean IsHole(const TopoDS_Shape& aW,const TopoDS_Shape& aF) ;
-
-
-Standard_EXPORT static  Standard_Boolean IsHole(const TopoDS_Shape& aShell) ;
-
-
-
-
-
-protected:
-
- // Methods PROTECTED
- // 
-
-
- // Fields PROTECTED
- //
-
-
-private: 
-
- // Methods PRIVATE
- // 
-
-
- // Fields PRIVATE
- //
-
-
+#include <Standard_Boolean.hxx>
+#include <TopoDS_Shape.hxx>
+
+//=======================================================================
+//class    : GEOMAlgo_BuilderTools
+//purpose  :
+//=======================================================================
+class GEOMAlgo_BuilderTools
+{
+ public:
+  Standard_EXPORT
+    static  Standard_Boolean IsHole(const TopoDS_Shape& aW,
+                                   const TopoDS_Shape& aF) ;
+
+  Standard_EXPORT
+    static  Standard_Boolean IsHole(const TopoDS_Shape& aShell) ;
 };
-
-
-
-
-
-// other Inline functions and methods (like "C++: function call" methods)
-//
-
-
 #endif