From 216b66c8535dccf000200f2207a2977302abb821 Mon Sep 17 00:00:00 2001 From: mpv Date: Fri, 9 Dec 2011 04:45:13 +0000 Subject: [PATCH] Remove "MAC" ends of lines --- ...aMapIteratorOfDataMapOfShapeMapOfShape.hxx | 297 ++++++++++----- ...apIteratorOfDataMapOfShapeMapOfShape_0.cxx | 177 ++++++--- ...lgo_DataMapIteratorOfDataMapOfShapePnt.hxx | 297 ++++++++++----- ...o_DataMapIteratorOfDataMapOfShapePnt_0.cxx | 177 ++++++--- ..._DataMapNodeOfDataMapOfShapeMapOfShape.hxx | 306 ++++++++++----- ...ataMapNodeOfDataMapOfShapeMapOfShape_0.cxx | 351 +++++++++++------ ...EOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx | 306 ++++++++++----- ...MAlgo_DataMapNodeOfDataMapOfShapePnt_0.cxx | 351 +++++++++++------ .../GEOMAlgo_DataMapOfShapeMapOfShape.hxx | 357 ++++++++++++------ .../GEOMAlgo_DataMapOfShapeMapOfShape_0.cxx | 186 ++++++--- src/GEOMAlgo/GEOMAlgo_DataMapOfShapePnt.hxx | 357 ++++++++++++------ src/GEOMAlgo/GEOMAlgo_DataMapOfShapePnt_0.cxx | 186 ++++++--- ..._DataMapNodeOfDataMapOfShapeMapOfShape.hxx | 129 ++++--- ...EOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx | 129 ++++--- 14 files changed, 2404 insertions(+), 1202 deletions(-) diff --git a/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape.hxx b/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape.hxx index 60a66da4a..e7657219a 100644 --- a/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape.hxx +++ b/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape.hxx @@ -1,99 +1,198 @@ -// 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 -// -// 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. -// -// 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 _GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape_HeaderFile -#define _GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_Macro_HeaderFile -#include -#endif - -#ifndef _TCollection_BasicMapIterator_HeaderFile -#include -#endif -#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile -#include -#endif -class Standard_NoSuchObject; -class TopoDS_Shape; -class TopTools_MapOfShape; -class TopTools_ShapeMapHasher; -class GEOMAlgo_DataMapOfShapeMapOfShape; -class GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape; - - - -class GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape : public TCollection_BasicMapIterator { -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); - } - - - Standard_EXPORT GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape(); - - Standard_EXPORT GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape(const GEOMAlgo_DataMapOfShapeMapOfShape& aMap); - - Standard_EXPORT void Initialize(const GEOMAlgo_DataMapOfShapeMapOfShape& aMap) ; - - Standard_EXPORT const TopoDS_Shape& Key() const; - - Standard_EXPORT const TopTools_MapOfShape& Value() const; - - - - - -protected: - - - - - -private: - - - - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) - - -#endif +// 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 + +// + +// 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. + +// + +// 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 _GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape_HeaderFile + +#define _GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape_HeaderFile + + + +#ifndef _Standard_HeaderFile + +#include + +#endif + +#ifndef _Standard_Macro_HeaderFile + +#include + +#endif + + + +#ifndef _TCollection_BasicMapIterator_HeaderFile + +#include + +#endif + +#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile + +#include + +#endif + +class Standard_NoSuchObject; + +class TopoDS_Shape; + +class TopTools_MapOfShape; + +class TopTools_ShapeMapHasher; + +class GEOMAlgo_DataMapOfShapeMapOfShape; + +class GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape; + + + + + + + +class GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape : public TCollection_BasicMapIterator { + +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); + + } + + + + + + Standard_EXPORT GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape(); + + + + Standard_EXPORT GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape(const GEOMAlgo_DataMapOfShapeMapOfShape& aMap); + + + + Standard_EXPORT void Initialize(const GEOMAlgo_DataMapOfShapeMapOfShape& aMap) ; + + + + Standard_EXPORT const TopoDS_Shape& Key() const; + + + + Standard_EXPORT const TopTools_MapOfShape& Value() const; + + + + + + + + + + + +protected: + + + + + + + + + + + +private: + + + + + + + + + + + +}; + + + + + + + + + + + +// other Inline functions and methods (like "C++: function call" methods) + + + + + +#endif + diff --git a/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape_0.cxx b/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape_0.cxx index 55efb4bb1..d871a2f79 100644 --- a/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape_0.cxx +++ b/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape_0.cxx @@ -1,59 +1,118 @@ -// 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 -// -// 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. -// -// 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 - -#include - -#ifndef _Standard_NoSuchObject_HeaderFile -#include -#endif -#ifndef _TopoDS_Shape_HeaderFile -#include -#endif -#ifndef _TopTools_MapOfShape_HeaderFile -#include -#endif -#ifndef _TopTools_ShapeMapHasher_HeaderFile -#include -#endif -#ifndef _GEOMAlgo_DataMapOfShapeMapOfShape_HeaderFile -#include -#endif -#ifndef _GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile -#include -#endif - - -#define TheKey TopoDS_Shape -#define TheKey_hxx -#define TheItem TopTools_MapOfShape -#define TheItem_hxx -#define Hasher TopTools_ShapeMapHasher -#define Hasher_hxx -#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape -#define TCollection_DataMapNode_hxx -#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape -#define TCollection_DataMapIterator_hxx -#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape -#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_Type_() -#define TCollection_DataMap GEOMAlgo_DataMapOfShapeMapOfShape -#define TCollection_DataMap_hxx -#include - +// 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 + +// + +// 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. + +// + +// 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 + + + +#include + + + +#ifndef _Standard_NoSuchObject_HeaderFile + +#include + +#endif + +#ifndef _TopoDS_Shape_HeaderFile + +#include + +#endif + +#ifndef _TopTools_MapOfShape_HeaderFile + +#include + +#endif + +#ifndef _TopTools_ShapeMapHasher_HeaderFile + +#include + +#endif + +#ifndef _GEOMAlgo_DataMapOfShapeMapOfShape_HeaderFile + +#include + +#endif + +#ifndef _GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile + +#include + +#endif + + + + + +#define TheKey TopoDS_Shape + +#define TheKey_hxx + +#define TheItem TopTools_MapOfShape + +#define TheItem_hxx + +#define Hasher TopTools_ShapeMapHasher + +#define Hasher_hxx + +#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape + +#define TCollection_DataMapNode_hxx + +#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape + +#define TCollection_DataMapIterator_hxx + +#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape + +#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_Type_() + +#define TCollection_DataMap GEOMAlgo_DataMapOfShapeMapOfShape + +#define TCollection_DataMap_hxx + +#include + + + diff --git a/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt.hxx b/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt.hxx index e86fd05f5..9cc794386 100644 --- a/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt.hxx +++ b/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt.hxx @@ -1,99 +1,198 @@ -// 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 -// -// 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. -// -// 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 _GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt_HeaderFile -#define _GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_Macro_HeaderFile -#include -#endif - -#ifndef _TCollection_BasicMapIterator_HeaderFile -#include -#endif -#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile -#include -#endif -class Standard_NoSuchObject; -class TopoDS_Shape; -class gp_Pnt; -class TopTools_ShapeMapHasher; -class GEOMAlgo_DataMapOfShapePnt; -class GEOMAlgo_DataMapNodeOfDataMapOfShapePnt; - - - -class GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt : public TCollection_BasicMapIterator { -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); - } - - - Standard_EXPORT GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt(); - - Standard_EXPORT GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt(const GEOMAlgo_DataMapOfShapePnt& aMap); - - Standard_EXPORT void Initialize(const GEOMAlgo_DataMapOfShapePnt& aMap) ; - - Standard_EXPORT const TopoDS_Shape& Key() const; - - Standard_EXPORT const gp_Pnt& Value() const; - - - - - -protected: - - - - - -private: - - - - - -}; - - - - - -// other Inline functions and methods (like "C++: function call" methods) - - -#endif +// 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 + +// + +// 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. + +// + +// 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 _GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt_HeaderFile + +#define _GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt_HeaderFile + + + +#ifndef _Standard_HeaderFile + +#include + +#endif + +#ifndef _Standard_Macro_HeaderFile + +#include + +#endif + + + +#ifndef _TCollection_BasicMapIterator_HeaderFile + +#include + +#endif + +#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile + +#include + +#endif + +class Standard_NoSuchObject; + +class TopoDS_Shape; + +class gp_Pnt; + +class TopTools_ShapeMapHasher; + +class GEOMAlgo_DataMapOfShapePnt; + +class GEOMAlgo_DataMapNodeOfDataMapOfShapePnt; + + + + + + + +class GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt : public TCollection_BasicMapIterator { + +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); + + } + + + + + + Standard_EXPORT GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt(); + + + + Standard_EXPORT GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt(const GEOMAlgo_DataMapOfShapePnt& aMap); + + + + Standard_EXPORT void Initialize(const GEOMAlgo_DataMapOfShapePnt& aMap) ; + + + + Standard_EXPORT const TopoDS_Shape& Key() const; + + + + Standard_EXPORT const gp_Pnt& Value() const; + + + + + + + + + + + +protected: + + + + + + + + + + + +private: + + + + + + + + + + + +}; + + + + + + + + + + + +// other Inline functions and methods (like "C++: function call" methods) + + + + + +#endif + diff --git a/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt_0.cxx b/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt_0.cxx index 06c890444..b9a3348cb 100644 --- a/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt_0.cxx +++ b/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt_0.cxx @@ -1,59 +1,118 @@ -// 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 -// -// 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. -// -// 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 - -#include - -#ifndef _Standard_NoSuchObject_HeaderFile -#include -#endif -#ifndef _TopoDS_Shape_HeaderFile -#include -#endif -#ifndef _gp_Pnt_HeaderFile -#include -#endif -#ifndef _TopTools_ShapeMapHasher_HeaderFile -#include -#endif -#ifndef _GEOMAlgo_DataMapOfShapePnt_HeaderFile -#include -#endif -#ifndef _GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile -#include -#endif - - -#define TheKey TopoDS_Shape -#define TheKey_hxx -#define TheItem gp_Pnt -#define TheItem_hxx -#define Hasher TopTools_ShapeMapHasher -#define Hasher_hxx -#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapePnt -#define TCollection_DataMapNode_hxx -#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt -#define TCollection_DataMapIterator_hxx -#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt -#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_Type_() -#define TCollection_DataMap GEOMAlgo_DataMapOfShapePnt -#define TCollection_DataMap_hxx -#include - +// 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 + +// + +// 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. + +// + +// 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 + + + +#include + + + +#ifndef _Standard_NoSuchObject_HeaderFile + +#include + +#endif + +#ifndef _TopoDS_Shape_HeaderFile + +#include + +#endif + +#ifndef _gp_Pnt_HeaderFile + +#include + +#endif + +#ifndef _TopTools_ShapeMapHasher_HeaderFile + +#include + +#endif + +#ifndef _GEOMAlgo_DataMapOfShapePnt_HeaderFile + +#include + +#endif + +#ifndef _GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile + +#include + +#endif + + + + + +#define TheKey TopoDS_Shape + +#define TheKey_hxx + +#define TheItem gp_Pnt + +#define TheItem_hxx + +#define Hasher TopTools_ShapeMapHasher + +#define Hasher_hxx + +#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapePnt + +#define TCollection_DataMapNode_hxx + +#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt + +#define TCollection_DataMapIterator_hxx + +#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt + +#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_Type_() + +#define TCollection_DataMap GEOMAlgo_DataMapOfShapePnt + +#define TCollection_DataMap_hxx + +#include + + + diff --git a/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx b/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx index 4d6e8320c..c72d04b54 100644 --- a/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx +++ b/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx @@ -1,102 +1,204 @@ -// 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 -// -// 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. -// -// 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 _GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile -#define _GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_DefineHandle_HeaderFile -#include -#endif -#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile -#include -#endif - -#ifndef _TopoDS_Shape_HeaderFile -#include -#endif -#ifndef _TopTools_MapOfShape_HeaderFile -#include -#endif -#ifndef _TCollection_MapNode_HeaderFile -#include -#endif -#ifndef _TCollection_MapNodePtr_HeaderFile -#include -#endif - -class TopoDS_Shape; -class TopTools_MapOfShape; -class TopTools_ShapeMapHasher; -class GEOMAlgo_DataMapOfShapeMapOfShape; -class GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape; - -class GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape : public TCollection_MapNode { - -public: - GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape - (const TopoDS_Shape& K, const TopTools_MapOfShape& I, const TCollection_MapNodePtr& n); - - TopoDS_Shape& Key() const; - TopTools_MapOfShape& Value() const; - - DEFINE_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape) - -private: - TopoDS_Shape myKey; - TopTools_MapOfShape myValue; -}; - -#define TheKey TopoDS_Shape -#define TheKey_hxx -#define TheItem TopTools_MapOfShape -#define TheItem_hxx -#define Hasher TopTools_ShapeMapHasher -#define Hasher_hxx -#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape -#define TCollection_DataMapNode_hxx -#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape -#define TCollection_DataMapIterator_hxx -#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape -#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_Type_() -#define TCollection_DataMap GEOMAlgo_DataMapOfShapeMapOfShape -#define TCollection_DataMap_hxx - -#include - -#undef TheKey -#undef TheKey_hxx -#undef TheItem -#undef TheItem_hxx -#undef Hasher -#undef Hasher_hxx -#undef TCollection_DataMapNode -#undef TCollection_DataMapNode_hxx -#undef TCollection_DataMapIterator -#undef TCollection_DataMapIterator_hxx -#undef Handle_TCollection_DataMapNode -#undef TCollection_DataMapNode_Type_ -#undef TCollection_DataMap -#undef TCollection_DataMap_hxx - -#endif +// 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 + +// + +// 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. + +// + +// 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 _GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile + +#define _GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile + + + +#ifndef _Standard_HeaderFile + +#include + +#endif + +#ifndef _Standard_DefineHandle_HeaderFile + +#include + +#endif + +#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile + +#include + +#endif + + + +#ifndef _TopoDS_Shape_HeaderFile + +#include + +#endif + +#ifndef _TopTools_MapOfShape_HeaderFile + +#include + +#endif + +#ifndef _TCollection_MapNode_HeaderFile + +#include + +#endif + +#ifndef _TCollection_MapNodePtr_HeaderFile + +#include + +#endif + + + +class TopoDS_Shape; + +class TopTools_MapOfShape; + +class TopTools_ShapeMapHasher; + +class GEOMAlgo_DataMapOfShapeMapOfShape; + +class GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape; + + + +class GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape : public TCollection_MapNode { + + + +public: + + GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape + + (const TopoDS_Shape& K, const TopTools_MapOfShape& I, const TCollection_MapNodePtr& n); + + + + TopoDS_Shape& Key() const; + + TopTools_MapOfShape& Value() const; + + + + DEFINE_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape) + + + +private: + + TopoDS_Shape myKey; + + TopTools_MapOfShape myValue; + +}; + + + +#define TheKey TopoDS_Shape + +#define TheKey_hxx + +#define TheItem TopTools_MapOfShape + +#define TheItem_hxx + +#define Hasher TopTools_ShapeMapHasher + +#define Hasher_hxx + +#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape + +#define TCollection_DataMapNode_hxx + +#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape + +#define TCollection_DataMapIterator_hxx + +#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape + +#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_Type_() + +#define TCollection_DataMap GEOMAlgo_DataMapOfShapeMapOfShape + +#define TCollection_DataMap_hxx + + + +#include + + + +#undef TheKey + +#undef TheKey_hxx + +#undef TheItem + +#undef TheItem_hxx + +#undef Hasher + +#undef Hasher_hxx + +#undef TCollection_DataMapNode + +#undef TCollection_DataMapNode_hxx + +#undef TCollection_DataMapIterator + +#undef TCollection_DataMapIterator_hxx + +#undef Handle_TCollection_DataMapNode + +#undef TCollection_DataMapNode_Type_ + +#undef TCollection_DataMap + +#undef TCollection_DataMap_hxx + + + +#endif + diff --git a/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_0.cxx b/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_0.cxx index 30f0fb5a5..ec2a4a473 100644 --- a/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_0.cxx +++ b/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_0.cxx @@ -1,117 +1,234 @@ -// 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 -// -// 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. -// -// 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 - -#include - -#include - -#ifndef _Standard_TypeMismatch_HeaderFile -#include -#endif - -#ifndef _TopoDS_Shape_HeaderFile -#include -#endif -#ifndef _TopTools_MapOfShape_HeaderFile -#include -#endif -#ifndef _TopTools_ShapeMapHasher_HeaderFile -#include -#endif -#ifndef _GEOMAlgo_DataMapOfShapeMapOfShape_HeaderFile -#include -#endif -#ifndef _GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape_HeaderFile -#include -#endif - - -#if OCC_VERSION_LARGE > 0x06040000 // Porting to OCCT6.5.1 - -IMPLEMENT_STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape) -IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() - STANDARD_TYPE(TCollection_MapNode), - STANDARD_TYPE(MMgt_TShared), - STANDARD_TYPE(Standard_Transient), - -IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() -IMPLEMENT_STANDARD_TYPE_END(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape) - -IMPLEMENT_DOWNCAST(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape,Standard_Transient) -IMPLEMENT_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape) - -#else - -Standard_EXPORT Handle_Standard_Type& GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_Type_() -{ - static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode); - static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared); - static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient); - - static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL}; - static Handle_Standard_Type _aType = new Standard_Type("GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape", - sizeof(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape), - 1, - (Standard_Address)_Ancestors, - (Standard_Address)NULL); - - return _aType; -} - -// DownCast method -// allow safe downcasting -// -const Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape) Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape)::DownCast(const Handle(Standard_Transient)& AnObject) -{ - Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape) _anOtherObject; - - if (!AnObject.IsNull()) { - if (AnObject->IsKind(STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape))) { - _anOtherObject = Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape)((Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape)&)AnObject); - } - } - - return _anOtherObject; -} - -const Handle(Standard_Type)& GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape::DynamicType() const -{ - return STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape); -} - -#endif - -#define TheKey TopoDS_Shape -#define TheKey_hxx -#define TheItem TopTools_MapOfShape -#define TheItem_hxx -#define Hasher TopTools_ShapeMapHasher -#define Hasher_hxx -#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape -#define TCollection_DataMapNode_hxx -#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape -#define TCollection_DataMapIterator_hxx -#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape -#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_Type_() -#define TCollection_DataMap GEOMAlgo_DataMapOfShapeMapOfShape -#define TCollection_DataMap_hxx -#include - +// 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 + +// + +// 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. + +// + +// 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 + + + +#include + + + +#include + + + +#ifndef _Standard_TypeMismatch_HeaderFile + +#include + +#endif + + + +#ifndef _TopoDS_Shape_HeaderFile + +#include + +#endif + +#ifndef _TopTools_MapOfShape_HeaderFile + +#include + +#endif + +#ifndef _TopTools_ShapeMapHasher_HeaderFile + +#include + +#endif + +#ifndef _GEOMAlgo_DataMapOfShapeMapOfShape_HeaderFile + +#include + +#endif + +#ifndef _GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape_HeaderFile + +#include + +#endif + + + + + +#if OCC_VERSION_LARGE > 0x06040000 // Porting to OCCT6.5.1 + + + +IMPLEMENT_STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape) + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + + STANDARD_TYPE(TCollection_MapNode), + + STANDARD_TYPE(MMgt_TShared), + + STANDARD_TYPE(Standard_Transient), + + + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() + +IMPLEMENT_STANDARD_TYPE_END(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape) + + + +IMPLEMENT_DOWNCAST(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape,Standard_Transient) + +IMPLEMENT_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape) + + + +#else + + + +Standard_EXPORT Handle_Standard_Type& GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_Type_() + +{ + + static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode); + + static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared); + + static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient); + + + + static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL}; + + static Handle_Standard_Type _aType = new Standard_Type("GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape", + + sizeof(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape), + + 1, + + (Standard_Address)_Ancestors, + + (Standard_Address)NULL); + + + + return _aType; + +} + + + +// DownCast method + +// allow safe downcasting + +// + +const Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape) Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape)::DownCast(const Handle(Standard_Transient)& AnObject) + +{ + + Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape) _anOtherObject; + + + + if (!AnObject.IsNull()) { + + if (AnObject->IsKind(STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape))) { + + _anOtherObject = Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape)((Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape)&)AnObject); + + } + + } + + + + return _anOtherObject; + +} + + + +const Handle(Standard_Type)& GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape::DynamicType() const + +{ + + return STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape); + +} + + + +#endif + + + +#define TheKey TopoDS_Shape + +#define TheKey_hxx + +#define TheItem TopTools_MapOfShape + +#define TheItem_hxx + +#define Hasher TopTools_ShapeMapHasher + +#define Hasher_hxx + +#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape + +#define TCollection_DataMapNode_hxx + +#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape + +#define TCollection_DataMapIterator_hxx + +#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape + +#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_Type_() + +#define TCollection_DataMap GEOMAlgo_DataMapOfShapeMapOfShape + +#define TCollection_DataMap_hxx + +#include + + + diff --git a/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx b/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx index 64ac59928..0c18e8673 100644 --- a/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx +++ b/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx @@ -1,102 +1,204 @@ -// 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 -// -// 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. -// -// 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 _GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile -#define _GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_DefineHandle_HeaderFile -#include -#endif -#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile -#include -#endif - -#ifndef _TopoDS_Shape_HeaderFile -#include -#endif -#ifndef _gp_Pnt_HeaderFile -#include -#endif -#ifndef _TCollection_MapNode_HeaderFile -#include -#endif -#ifndef _TCollection_MapNodePtr_HeaderFile -#include -#endif - -class TopoDS_Shape; -class gp_Pnt; -class TopTools_ShapeMapHasher; -class GEOMAlgo_DataMapOfShapePnt; -class GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt; - -class GEOMAlgo_DataMapNodeOfDataMapOfShapePnt : public TCollection_MapNode -{ -public: - GEOMAlgo_DataMapNodeOfDataMapOfShapePnt - (const TopoDS_Shape& K, const gp_Pnt& I, const TCollection_MapNodePtr& n); - - TopoDS_Shape& Key() const; - gp_Pnt& Value() const; - - DEFINE_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt) - -private: - TopoDS_Shape myKey; - gp_Pnt myValue; -}; - -#define TheKey TopoDS_Shape -#define TheKey_hxx -#define TheItem gp_Pnt -#define TheItem_hxx -#define Hasher TopTools_ShapeMapHasher -#define Hasher_hxx -#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapePnt -#define TCollection_DataMapNode_hxx -#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt -#define TCollection_DataMapIterator_hxx -#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt -#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_Type_() -#define TCollection_DataMap GEOMAlgo_DataMapOfShapePnt -#define TCollection_DataMap_hxx - -#include - -#undef TheKey -#undef TheKey_hxx -#undef TheItem -#undef TheItem_hxx -#undef Hasher -#undef Hasher_hxx -#undef TCollection_DataMapNode -#undef TCollection_DataMapNode_hxx -#undef TCollection_DataMapIterator -#undef TCollection_DataMapIterator_hxx -#undef Handle_TCollection_DataMapNode -#undef TCollection_DataMapNode_Type_ -#undef TCollection_DataMap -#undef TCollection_DataMap_hxx - -#endif +// 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 + +// + +// 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. + +// + +// 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 _GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile + +#define _GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile + + + +#ifndef _Standard_HeaderFile + +#include + +#endif + +#ifndef _Standard_DefineHandle_HeaderFile + +#include + +#endif + +#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile + +#include + +#endif + + + +#ifndef _TopoDS_Shape_HeaderFile + +#include + +#endif + +#ifndef _gp_Pnt_HeaderFile + +#include + +#endif + +#ifndef _TCollection_MapNode_HeaderFile + +#include + +#endif + +#ifndef _TCollection_MapNodePtr_HeaderFile + +#include + +#endif + + + +class TopoDS_Shape; + +class gp_Pnt; + +class TopTools_ShapeMapHasher; + +class GEOMAlgo_DataMapOfShapePnt; + +class GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt; + + + +class GEOMAlgo_DataMapNodeOfDataMapOfShapePnt : public TCollection_MapNode + +{ + +public: + + GEOMAlgo_DataMapNodeOfDataMapOfShapePnt + + (const TopoDS_Shape& K, const gp_Pnt& I, const TCollection_MapNodePtr& n); + + + + TopoDS_Shape& Key() const; + + gp_Pnt& Value() const; + + + + DEFINE_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt) + + + +private: + + TopoDS_Shape myKey; + + gp_Pnt myValue; + +}; + + + +#define TheKey TopoDS_Shape + +#define TheKey_hxx + +#define TheItem gp_Pnt + +#define TheItem_hxx + +#define Hasher TopTools_ShapeMapHasher + +#define Hasher_hxx + +#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapePnt + +#define TCollection_DataMapNode_hxx + +#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt + +#define TCollection_DataMapIterator_hxx + +#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt + +#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_Type_() + +#define TCollection_DataMap GEOMAlgo_DataMapOfShapePnt + +#define TCollection_DataMap_hxx + + + +#include + + + +#undef TheKey + +#undef TheKey_hxx + +#undef TheItem + +#undef TheItem_hxx + +#undef Hasher + +#undef Hasher_hxx + +#undef TCollection_DataMapNode + +#undef TCollection_DataMapNode_hxx + +#undef TCollection_DataMapIterator + +#undef TCollection_DataMapIterator_hxx + +#undef Handle_TCollection_DataMapNode + +#undef TCollection_DataMapNode_Type_ + +#undef TCollection_DataMap + +#undef TCollection_DataMap_hxx + + + +#endif + diff --git a/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_0.cxx b/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_0.cxx index e22ab54cb..651ceb59e 100644 --- a/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_0.cxx +++ b/src/GEOMAlgo/GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_0.cxx @@ -1,117 +1,234 @@ -// 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 -// -// 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. -// -// 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 - -#include - -#include - -#ifndef _Standard_TypeMismatch_HeaderFile -#include -#endif - -#ifndef _TopoDS_Shape_HeaderFile -#include -#endif -#ifndef _gp_Pnt_HeaderFile -#include -#endif -#ifndef _TopTools_ShapeMapHasher_HeaderFile -#include -#endif -#ifndef _GEOMAlgo_DataMapOfShapePnt_HeaderFile -#include -#endif -#ifndef _GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt_HeaderFile -#include -#endif - - -#if OCC_VERSION_LARGE > 0x06040000 // Porting to OCCT6.5.1 - -IMPLEMENT_STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt) -IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() - STANDARD_TYPE(TCollection_MapNode), - STANDARD_TYPE(MMgt_TShared), - STANDARD_TYPE(Standard_Transient), - -IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() -IMPLEMENT_STANDARD_TYPE_END(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt) - -IMPLEMENT_DOWNCAST(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt,Standard_Transient) -IMPLEMENT_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt) - -#else - -Standard_EXPORT Handle_Standard_Type& GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_Type_() -{ - static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode); - static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared); - static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient); - - static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL}; - static Handle_Standard_Type _aType = new Standard_Type("GEOMAlgo_DataMapNodeOfDataMapOfShapePnt", - sizeof(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt), - 1, - (Standard_Address)_Ancestors, - (Standard_Address)NULL); - - return _aType; -} - -// DownCast method -// allow safe downcasting -// -const Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt) Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt)::DownCast(const Handle(Standard_Transient)& AnObject) -{ - Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt) _anOtherObject; - - if (!AnObject.IsNull()) { - if (AnObject->IsKind(STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt))) { - _anOtherObject = Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt)((Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt)&)AnObject); - } - } - - return _anOtherObject; -} - -const Handle(Standard_Type)& GEOMAlgo_DataMapNodeOfDataMapOfShapePnt::DynamicType() const -{ - return STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt); -} - -#endif - -#define TheKey TopoDS_Shape -#define TheKey_hxx -#define TheItem gp_Pnt -#define TheItem_hxx -#define Hasher TopTools_ShapeMapHasher -#define Hasher_hxx -#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapePnt -#define TCollection_DataMapNode_hxx -#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt -#define TCollection_DataMapIterator_hxx -#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt -#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_Type_() -#define TCollection_DataMap GEOMAlgo_DataMapOfShapePnt -#define TCollection_DataMap_hxx -#include - +// 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 + +// + +// 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. + +// + +// 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 + + + +#include + + + +#include + + + +#ifndef _Standard_TypeMismatch_HeaderFile + +#include + +#endif + + + +#ifndef _TopoDS_Shape_HeaderFile + +#include + +#endif + +#ifndef _gp_Pnt_HeaderFile + +#include + +#endif + +#ifndef _TopTools_ShapeMapHasher_HeaderFile + +#include + +#endif + +#ifndef _GEOMAlgo_DataMapOfShapePnt_HeaderFile + +#include + +#endif + +#ifndef _GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt_HeaderFile + +#include + +#endif + + + + + +#if OCC_VERSION_LARGE > 0x06040000 // Porting to OCCT6.5.1 + + + +IMPLEMENT_STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt) + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY() + + STANDARD_TYPE(TCollection_MapNode), + + STANDARD_TYPE(MMgt_TShared), + + STANDARD_TYPE(Standard_Transient), + + + +IMPLEMENT_STANDARD_SUPERTYPE_ARRAY_END() + +IMPLEMENT_STANDARD_TYPE_END(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt) + + + +IMPLEMENT_DOWNCAST(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt,Standard_Transient) + +IMPLEMENT_STANDARD_RTTI(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt) + + + +#else + + + +Standard_EXPORT Handle_Standard_Type& GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_Type_() + +{ + + static Handle_Standard_Type aType1 = STANDARD_TYPE(TCollection_MapNode); + + static Handle_Standard_Type aType2 = STANDARD_TYPE(MMgt_TShared); + + static Handle_Standard_Type aType3 = STANDARD_TYPE(Standard_Transient); + + + + static Handle_Standard_Transient _Ancestors[]= {aType1,aType2,aType3,NULL}; + + static Handle_Standard_Type _aType = new Standard_Type("GEOMAlgo_DataMapNodeOfDataMapOfShapePnt", + + sizeof(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt), + + 1, + + (Standard_Address)_Ancestors, + + (Standard_Address)NULL); + + + + return _aType; + +} + + + +// DownCast method + +// allow safe downcasting + +// + +const Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt) Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt)::DownCast(const Handle(Standard_Transient)& AnObject) + +{ + + Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt) _anOtherObject; + + + + if (!AnObject.IsNull()) { + + if (AnObject->IsKind(STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt))) { + + _anOtherObject = Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt)((Handle(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt)&)AnObject); + + } + + } + + + + return _anOtherObject; + +} + + + +const Handle(Standard_Type)& GEOMAlgo_DataMapNodeOfDataMapOfShapePnt::DynamicType() const + +{ + + return STANDARD_TYPE(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt); + +} + + + +#endif + + + +#define TheKey TopoDS_Shape + +#define TheKey_hxx + +#define TheItem gp_Pnt + +#define TheItem_hxx + +#define Hasher TopTools_ShapeMapHasher + +#define Hasher_hxx + +#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapePnt + +#define TCollection_DataMapNode_hxx + +#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt + +#define TCollection_DataMapIterator_hxx + +#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt + +#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_Type_() + +#define TCollection_DataMap GEOMAlgo_DataMapOfShapePnt + +#define TCollection_DataMap_hxx + +#include + + + diff --git a/src/GEOMAlgo/GEOMAlgo_DataMapOfShapeMapOfShape.hxx b/src/GEOMAlgo/GEOMAlgo_DataMapOfShapeMapOfShape.hxx index 228278e5e..93eb92ebe 100644 --- a/src/GEOMAlgo/GEOMAlgo_DataMapOfShapeMapOfShape.hxx +++ b/src/GEOMAlgo/GEOMAlgo_DataMapOfShapeMapOfShape.hxx @@ -1,119 +1,238 @@ -// 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 -// -// 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. -// -// 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 _GEOMAlgo_DataMapOfShapeMapOfShape_HeaderFile -#define _GEOMAlgo_DataMapOfShapeMapOfShape_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_Macro_HeaderFile -#include -#endif - -#ifndef _TCollection_BasicMap_HeaderFile -#include -#endif -#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Standard_Boolean_HeaderFile -#include -#endif - -class Standard_DomainError; -class Standard_NoSuchObject; -class TopoDS_Shape; -class TopTools_MapOfShape; -class TopTools_ShapeMapHasher; -class GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape; -class GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape; - -#include - -class GEOMAlgo_DataMapOfShapeMapOfShape : public TCollection_BasicMap { -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); - } - - - Standard_EXPORT GEOMAlgo_DataMapOfShapeMapOfShape(const Standard_Integer NbBuckets = 1); - - Standard_EXPORT GEOMAlgo_DataMapOfShapeMapOfShape& Assign(const GEOMAlgo_DataMapOfShapeMapOfShape& Other) ; - GEOMAlgo_DataMapOfShapeMapOfShape& operator =(const GEOMAlgo_DataMapOfShapeMapOfShape& Other) -{ - return Assign(Other); -} - - Standard_EXPORT void ReSize(const Standard_Integer NbBuckets) ; - - Standard_EXPORT void Clear() ; -~GEOMAlgo_DataMapOfShapeMapOfShape() -{ - Clear(); -} - - Standard_EXPORT Standard_Boolean Bind(const TopoDS_Shape& K,const TopTools_MapOfShape& I) ; - - Standard_EXPORT Standard_Boolean IsBound(const TopoDS_Shape& K) const; - - Standard_EXPORT Standard_Boolean UnBind(const TopoDS_Shape& K) ; - - Standard_EXPORT const TopTools_MapOfShape& Find(const TopoDS_Shape& K) const; - const TopTools_MapOfShape& operator()(const TopoDS_Shape& K) const -{ - return Find(K); -} - - Standard_EXPORT TopTools_MapOfShape& ChangeFind(const TopoDS_Shape& K) ; - TopTools_MapOfShape& operator()(const TopoDS_Shape& K) -{ - return ChangeFind(K); -} - -#if OCC_VERSION_LARGE > 0x06050100 // for OCC-6.5.2 and higher version - Standard_EXPORT Standard_Address Find1 (const TopoDS_Shape& K) const; - Standard_EXPORT Standard_Address ChangeFind1 (const TopoDS_Shape& K); -#endif - -private: - - Standard_EXPORT GEOMAlgo_DataMapOfShapeMapOfShape(const GEOMAlgo_DataMapOfShapeMapOfShape& Other); - -}; - -// other Inline functions and methods (like "C++: function call" methods) - -#endif +// 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 + +// + +// 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. + +// + +// 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 _GEOMAlgo_DataMapOfShapeMapOfShape_HeaderFile + +#define _GEOMAlgo_DataMapOfShapeMapOfShape_HeaderFile + + + +#ifndef _Standard_HeaderFile + +#include + +#endif + +#ifndef _Standard_Macro_HeaderFile + +#include + +#endif + + + +#ifndef _TCollection_BasicMap_HeaderFile + +#include + +#endif + +#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile + +#include + +#endif + +#ifndef _Standard_Integer_HeaderFile + +#include + +#endif + +#ifndef _Standard_Boolean_HeaderFile + +#include + +#endif + + + +class Standard_DomainError; + +class Standard_NoSuchObject; + +class TopoDS_Shape; + +class TopTools_MapOfShape; + +class TopTools_ShapeMapHasher; + +class GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape; + +class GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape; + + + +#include + + + +class GEOMAlgo_DataMapOfShapeMapOfShape : public TCollection_BasicMap { + +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); + + } + + + + + + Standard_EXPORT GEOMAlgo_DataMapOfShapeMapOfShape(const Standard_Integer NbBuckets = 1); + + + + Standard_EXPORT GEOMAlgo_DataMapOfShapeMapOfShape& Assign(const GEOMAlgo_DataMapOfShapeMapOfShape& Other) ; + + GEOMAlgo_DataMapOfShapeMapOfShape& operator =(const GEOMAlgo_DataMapOfShapeMapOfShape& Other) + +{ + + return Assign(Other); + +} + + + + Standard_EXPORT void ReSize(const Standard_Integer NbBuckets) ; + + + + Standard_EXPORT void Clear() ; + +~GEOMAlgo_DataMapOfShapeMapOfShape() + +{ + + Clear(); + +} + + + + Standard_EXPORT Standard_Boolean Bind(const TopoDS_Shape& K,const TopTools_MapOfShape& I) ; + + + + Standard_EXPORT Standard_Boolean IsBound(const TopoDS_Shape& K) const; + + + + Standard_EXPORT Standard_Boolean UnBind(const TopoDS_Shape& K) ; + + + + Standard_EXPORT const TopTools_MapOfShape& Find(const TopoDS_Shape& K) const; + + const TopTools_MapOfShape& operator()(const TopoDS_Shape& K) const + +{ + + return Find(K); + +} + + + + Standard_EXPORT TopTools_MapOfShape& ChangeFind(const TopoDS_Shape& K) ; + + TopTools_MapOfShape& operator()(const TopoDS_Shape& K) + +{ + + return ChangeFind(K); + +} + + + +#if OCC_VERSION_LARGE > 0x06050100 // for OCC-6.5.2 and higher version + + Standard_EXPORT Standard_Address Find1 (const TopoDS_Shape& K) const; + + Standard_EXPORT Standard_Address ChangeFind1 (const TopoDS_Shape& K); + +#endif + + + +private: + + + + Standard_EXPORT GEOMAlgo_DataMapOfShapeMapOfShape(const GEOMAlgo_DataMapOfShapeMapOfShape& Other); + + + +}; + + + +// other Inline functions and methods (like "C++: function call" methods) + + + +#endif + diff --git a/src/GEOMAlgo/GEOMAlgo_DataMapOfShapeMapOfShape_0.cxx b/src/GEOMAlgo/GEOMAlgo_DataMapOfShapeMapOfShape_0.cxx index fce49dcbc..ceb5d178e 100644 --- a/src/GEOMAlgo/GEOMAlgo_DataMapOfShapeMapOfShape_0.cxx +++ b/src/GEOMAlgo/GEOMAlgo_DataMapOfShapeMapOfShape_0.cxx @@ -1,62 +1,124 @@ -// 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 -// -// 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. -// -// 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 - -#include - -#ifndef _Standard_DomainError_HeaderFile -#include -#endif -#ifndef _Standard_NoSuchObject_HeaderFile -#include -#endif -#ifndef _TopoDS_Shape_HeaderFile -#include -#endif -#ifndef _TopTools_MapOfShape_HeaderFile -#include -#endif -#ifndef _TopTools_ShapeMapHasher_HeaderFile -#include -#endif -#ifndef _GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile -#include -#endif -#ifndef _GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape_HeaderFile -#include -#endif - - -#define TheKey TopoDS_Shape -#define TheKey_hxx -#define TheItem TopTools_MapOfShape -#define TheItem_hxx -#define Hasher TopTools_ShapeMapHasher -#define Hasher_hxx -#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape -#define TCollection_DataMapNode_hxx -#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape -#define TCollection_DataMapIterator_hxx -#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape -#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_Type_() -#define TCollection_DataMap GEOMAlgo_DataMapOfShapeMapOfShape -#define TCollection_DataMap_hxx -#include - +// 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 + +// + +// 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. + +// + +// 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 + + + +#include + + + +#ifndef _Standard_DomainError_HeaderFile + +#include + +#endif + +#ifndef _Standard_NoSuchObject_HeaderFile + +#include + +#endif + +#ifndef _TopoDS_Shape_HeaderFile + +#include + +#endif + +#ifndef _TopTools_MapOfShape_HeaderFile + +#include + +#endif + +#ifndef _TopTools_ShapeMapHasher_HeaderFile + +#include + +#endif + +#ifndef _GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile + +#include + +#endif + +#ifndef _GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape_HeaderFile + +#include + +#endif + + + + + +#define TheKey TopoDS_Shape + +#define TheKey_hxx + +#define TheItem TopTools_MapOfShape + +#define TheItem_hxx + +#define Hasher TopTools_ShapeMapHasher + +#define Hasher_hxx + +#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape + +#define TCollection_DataMapNode_hxx + +#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapeMapOfShape + +#define TCollection_DataMapIterator_hxx + +#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape + +#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_Type_() + +#define TCollection_DataMap GEOMAlgo_DataMapOfShapeMapOfShape + +#define TCollection_DataMap_hxx + +#include + + + diff --git a/src/GEOMAlgo/GEOMAlgo_DataMapOfShapePnt.hxx b/src/GEOMAlgo/GEOMAlgo_DataMapOfShapePnt.hxx index aca9d89e2..4439f5558 100644 --- a/src/GEOMAlgo/GEOMAlgo_DataMapOfShapePnt.hxx +++ b/src/GEOMAlgo/GEOMAlgo_DataMapOfShapePnt.hxx @@ -1,119 +1,238 @@ -// 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 -// -// 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. -// -// 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 _GEOMAlgo_DataMapOfShapePnt_HeaderFile -#define _GEOMAlgo_DataMapOfShapePnt_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_Macro_HeaderFile -#include -#endif - -#ifndef _TCollection_BasicMap_HeaderFile -#include -#endif -#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile -#include -#endif -#ifndef _Standard_Integer_HeaderFile -#include -#endif -#ifndef _Standard_Boolean_HeaderFile -#include -#endif - -class Standard_DomainError; -class Standard_NoSuchObject; -class TopoDS_Shape; -class gp_Pnt; -class TopTools_ShapeMapHasher; -class GEOMAlgo_DataMapNodeOfDataMapOfShapePnt; -class GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt; - -#include - -class GEOMAlgo_DataMapOfShapePnt : public TCollection_BasicMap { -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); - } - - - Standard_EXPORT GEOMAlgo_DataMapOfShapePnt(const Standard_Integer NbBuckets = 1); - - Standard_EXPORT GEOMAlgo_DataMapOfShapePnt& Assign(const GEOMAlgo_DataMapOfShapePnt& Other) ; - GEOMAlgo_DataMapOfShapePnt& operator =(const GEOMAlgo_DataMapOfShapePnt& Other) -{ - return Assign(Other); -} - - Standard_EXPORT void ReSize(const Standard_Integer NbBuckets) ; - - Standard_EXPORT void Clear() ; -~GEOMAlgo_DataMapOfShapePnt() -{ - Clear(); -} - - Standard_EXPORT Standard_Boolean Bind(const TopoDS_Shape& K,const gp_Pnt& I) ; - - Standard_EXPORT Standard_Boolean IsBound(const TopoDS_Shape& K) const; - - Standard_EXPORT Standard_Boolean UnBind(const TopoDS_Shape& K) ; - - Standard_EXPORT const gp_Pnt& Find(const TopoDS_Shape& K) const; - const gp_Pnt& operator()(const TopoDS_Shape& K) const -{ - return Find(K); -} - - Standard_EXPORT gp_Pnt& ChangeFind(const TopoDS_Shape& K) ; - gp_Pnt& operator()(const TopoDS_Shape& K) -{ - return ChangeFind(K); -} - -#if OCC_VERSION_LARGE > 0x06050100 // for OCC-6.5.2 and higher version - Standard_EXPORT Standard_Address Find1 (const TopoDS_Shape& K) const; - Standard_EXPORT Standard_Address ChangeFind1 (const TopoDS_Shape& K); -#endif - -private: - - Standard_EXPORT GEOMAlgo_DataMapOfShapePnt(const GEOMAlgo_DataMapOfShapePnt& Other); - -}; - -// other Inline functions and methods (like "C++: function call" methods) - -#endif +// 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 + +// + +// 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. + +// + +// 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 _GEOMAlgo_DataMapOfShapePnt_HeaderFile + +#define _GEOMAlgo_DataMapOfShapePnt_HeaderFile + + + +#ifndef _Standard_HeaderFile + +#include + +#endif + +#ifndef _Standard_Macro_HeaderFile + +#include + +#endif + + + +#ifndef _TCollection_BasicMap_HeaderFile + +#include + +#endif + +#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile + +#include + +#endif + +#ifndef _Standard_Integer_HeaderFile + +#include + +#endif + +#ifndef _Standard_Boolean_HeaderFile + +#include + +#endif + + + +class Standard_DomainError; + +class Standard_NoSuchObject; + +class TopoDS_Shape; + +class gp_Pnt; + +class TopTools_ShapeMapHasher; + +class GEOMAlgo_DataMapNodeOfDataMapOfShapePnt; + +class GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt; + + + +#include + + + +class GEOMAlgo_DataMapOfShapePnt : public TCollection_BasicMap { + +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); + + } + + + + + + Standard_EXPORT GEOMAlgo_DataMapOfShapePnt(const Standard_Integer NbBuckets = 1); + + + + Standard_EXPORT GEOMAlgo_DataMapOfShapePnt& Assign(const GEOMAlgo_DataMapOfShapePnt& Other) ; + + GEOMAlgo_DataMapOfShapePnt& operator =(const GEOMAlgo_DataMapOfShapePnt& Other) + +{ + + return Assign(Other); + +} + + + + Standard_EXPORT void ReSize(const Standard_Integer NbBuckets) ; + + + + Standard_EXPORT void Clear() ; + +~GEOMAlgo_DataMapOfShapePnt() + +{ + + Clear(); + +} + + + + Standard_EXPORT Standard_Boolean Bind(const TopoDS_Shape& K,const gp_Pnt& I) ; + + + + Standard_EXPORT Standard_Boolean IsBound(const TopoDS_Shape& K) const; + + + + Standard_EXPORT Standard_Boolean UnBind(const TopoDS_Shape& K) ; + + + + Standard_EXPORT const gp_Pnt& Find(const TopoDS_Shape& K) const; + + const gp_Pnt& operator()(const TopoDS_Shape& K) const + +{ + + return Find(K); + +} + + + + Standard_EXPORT gp_Pnt& ChangeFind(const TopoDS_Shape& K) ; + + gp_Pnt& operator()(const TopoDS_Shape& K) + +{ + + return ChangeFind(K); + +} + + + +#if OCC_VERSION_LARGE > 0x06050100 // for OCC-6.5.2 and higher version + + Standard_EXPORT Standard_Address Find1 (const TopoDS_Shape& K) const; + + Standard_EXPORT Standard_Address ChangeFind1 (const TopoDS_Shape& K); + +#endif + + + +private: + + + + Standard_EXPORT GEOMAlgo_DataMapOfShapePnt(const GEOMAlgo_DataMapOfShapePnt& Other); + + + +}; + + + +// other Inline functions and methods (like "C++: function call" methods) + + + +#endif + diff --git a/src/GEOMAlgo/GEOMAlgo_DataMapOfShapePnt_0.cxx b/src/GEOMAlgo/GEOMAlgo_DataMapOfShapePnt_0.cxx index 30ca13662..1caf4051c 100644 --- a/src/GEOMAlgo/GEOMAlgo_DataMapOfShapePnt_0.cxx +++ b/src/GEOMAlgo/GEOMAlgo_DataMapOfShapePnt_0.cxx @@ -1,62 +1,124 @@ -// 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 -// -// 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. -// -// 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 - -#include - -#ifndef _Standard_DomainError_HeaderFile -#include -#endif -#ifndef _Standard_NoSuchObject_HeaderFile -#include -#endif -#ifndef _TopoDS_Shape_HeaderFile -#include -#endif -#ifndef _gp_Pnt_HeaderFile -#include -#endif -#ifndef _TopTools_ShapeMapHasher_HeaderFile -#include -#endif -#ifndef _GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile -#include -#endif -#ifndef _GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt_HeaderFile -#include -#endif - - -#define TheKey TopoDS_Shape -#define TheKey_hxx -#define TheItem gp_Pnt -#define TheItem_hxx -#define Hasher TopTools_ShapeMapHasher -#define Hasher_hxx -#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapePnt -#define TCollection_DataMapNode_hxx -#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt -#define TCollection_DataMapIterator_hxx -#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt -#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_Type_() -#define TCollection_DataMap GEOMAlgo_DataMapOfShapePnt -#define TCollection_DataMap_hxx -#include - +// 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 + +// + +// 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. + +// + +// 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 + + + +#include + + + +#ifndef _Standard_DomainError_HeaderFile + +#include + +#endif + +#ifndef _Standard_NoSuchObject_HeaderFile + +#include + +#endif + +#ifndef _TopoDS_Shape_HeaderFile + +#include + +#endif + +#ifndef _gp_Pnt_HeaderFile + +#include + +#endif + +#ifndef _TopTools_ShapeMapHasher_HeaderFile + +#include + +#endif + +#ifndef _GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile + +#include + +#endif + +#ifndef _GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt_HeaderFile + +#include + +#endif + + + + + +#define TheKey TopoDS_Shape + +#define TheKey_hxx + +#define TheItem gp_Pnt + +#define TheItem_hxx + +#define Hasher TopTools_ShapeMapHasher + +#define Hasher_hxx + +#define TCollection_DataMapNode GEOMAlgo_DataMapNodeOfDataMapOfShapePnt + +#define TCollection_DataMapNode_hxx + +#define TCollection_DataMapIterator GEOMAlgo_DataMapIteratorOfDataMapOfShapePnt + +#define TCollection_DataMapIterator_hxx + +#define Handle_TCollection_DataMapNode Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt + +#define TCollection_DataMapNode_Type_() GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_Type_() + +#define TCollection_DataMap GEOMAlgo_DataMapOfShapePnt + +#define TCollection_DataMap_hxx + +#include + + + diff --git a/src/GEOMAlgo/Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx b/src/GEOMAlgo/Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx index f14d3720c..8f139a044 100644 --- a/src/GEOMAlgo/Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx +++ b/src/GEOMAlgo/Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape.hxx @@ -1,43 +1,86 @@ -// 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 -// -// 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. -// -// 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 _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile -#define _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_DefineHandle_HeaderFile -#include -#endif - -#ifndef _Handle_TCollection_MapNode_HeaderFile -#include -#endif - -class Standard_Transient; -class Handle(Standard_Type); -class Handle(TCollection_MapNode); -class GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape; - -DEFINE_STANDARD_HANDLE(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape,TCollection_MapNode) - -#endif +// 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 + +// + +// 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. + +// + +// 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 _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile + +#define _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape_HeaderFile + + + +#ifndef _Standard_HeaderFile + +#include + +#endif + +#ifndef _Standard_DefineHandle_HeaderFile + +#include + +#endif + + + +#ifndef _Handle_TCollection_MapNode_HeaderFile + +#include + +#endif + + + +class Standard_Transient; + +class Handle(Standard_Type); + +class Handle(TCollection_MapNode); + +class GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape; + + + +DEFINE_STANDARD_HANDLE(GEOMAlgo_DataMapNodeOfDataMapOfShapeMapOfShape,TCollection_MapNode) + + + +#endif + diff --git a/src/GEOMAlgo/Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx b/src/GEOMAlgo/Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx index 66eaa6179..7f9a9b3bd 100644 --- a/src/GEOMAlgo/Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx +++ b/src/GEOMAlgo/Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt.hxx @@ -1,43 +1,86 @@ -// 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 -// -// 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. -// -// 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 _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile -#define _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile - -#ifndef _Standard_HeaderFile -#include -#endif -#ifndef _Standard_DefineHandle_HeaderFile -#include -#endif - -#ifndef _Handle_TCollection_MapNode_HeaderFile -#include -#endif - -class Standard_Transient; -class Handle(Standard_Type); -class Handle(TCollection_MapNode); -class GEOMAlgo_DataMapNodeOfDataMapOfShapePnt; - -DEFINE_STANDARD_HANDLE(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt,TCollection_MapNode) - -#endif +// 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 + +// + +// 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. + +// + +// 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 _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile + +#define _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapePnt_HeaderFile + + + +#ifndef _Standard_HeaderFile + +#include + +#endif + +#ifndef _Standard_DefineHandle_HeaderFile + +#include + +#endif + + + +#ifndef _Handle_TCollection_MapNode_HeaderFile + +#include + +#endif + + + +class Standard_Transient; + +class Handle(Standard_Type); + +class Handle(TCollection_MapNode); + +class GEOMAlgo_DataMapNodeOfDataMapOfShapePnt; + + + +DEFINE_STANDARD_HANDLE(GEOMAlgo_DataMapNodeOfDataMapOfShapePnt,TCollection_MapNode) + + + +#endif + -- 2.39.2