Salome HOME
Added help page and revert some changes for a better ergonomy
[modules/geom.git] / src / NMTTools / NMTTools_CommonBlockPool.hxx
index fb245e2e5321a610a6eaccb99bbc4bd907586beb..cd322c4303a0380b4b728859631d7a0274a6b824 100644 (file)
@@ -1,28 +1,29 @@
-//  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2011  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
+// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 //
-//  This library is free software; you can redistribute it and/or
-//  modify it under the terms of the GNU Lesser General Public
-//  License as published by the Free Software Foundation; either
-//  version 2.1 of the License.
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
 //
-//  This library is distributed in the hope that it will be useful,
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-//  Lesser General Public License for more details.
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
 //
-//  You should have received a copy of the GNU Lesser General Public
-//  License along with this library; if not, write to the Free Software
-//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-//
-//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 //
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 
 #ifndef _NMTTools_CommonBlockPool_HeaderFile
 #define _NMTTools_CommonBlockPool_HeaderFile
 
+#include <Basics_OCCTVersion.hxx>
+
 #ifndef _Standard_Address_HeaderFile
 #include <Standard_Address.hxx>
 #endif
 #ifndef _Standard_Boolean_HeaderFile
 #include <Standard_Boolean.hxx>
 #endif
+
 class Standard_OutOfRange;
 class Standard_OutOfMemory;
 class NMTTools_ListOfCommonBlock;
 
-
 #ifndef _Standard_HeaderFile
 #include <Standard.hxx>
 #endif
@@ -108,47 +109,35 @@ Standard_EXPORT   NMTTools_ListOfCommonBlock& ChangeValue(const Standard_Integer
   return ChangeValue(Index);
 }
 
-
-
 Standard_EXPORT   void SetBlockLength(const Standard_Integer aBL) ;
-
-
 Standard_EXPORT   Standard_Integer BlockLength() const;
 
-
-
-
+#if OCC_VERSION_LARGE > 0x06050200
+Standard_EXPORT   void Purge();
+#endif
 
 protected:
 
  // Methods PROTECTED
  // 
 
-
  // Fields PROTECTED
  //
 
-
 private: 
 
  // Methods PRIVATE
  // 
-
-
 Standard_EXPORT NMTTools_CommonBlockPool(const NMTTools_CommonBlockPool& AnArray);
 
-
 Standard_EXPORT   NMTTools_CommonBlockPool& Assign(const NMTTools_CommonBlockPool& Other) ;
   NMTTools_CommonBlockPool& operator =(const NMTTools_CommonBlockPool& Other) 
 {
   return Assign(Other);
 }
 
-
-
 Standard_EXPORT   Standard_Boolean IsInvalidIndex(const Standard_Integer Index) const;
 
-
  // Fields PRIVATE
  //
 Standard_Address myStart;
@@ -160,12 +149,7 @@ Standard_Boolean myIsAllocated;
 
 };
 
-
-
-
-
 // other Inline functions and methods (like "C++: function call" methods)
 //
 
-
 #endif