geom/src/GEOMAlgo/GEOMAlgo_DataMapIteratorOfDataMapOfShapeShapeSet.hxx

75 lines
2.4 KiB
C++
Raw Normal View History

2011-06-06 07:23:11 +00:00
// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
//
2011-06-06 07:23:11 +00:00
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
2011-06-06 07:23:11 +00:00
// 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.
//
2011-06-06 07:23:11 +00:00
// 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.
2009-02-13 12:16:39 +00:00
//
2011-06-06 07:23:11 +00:00
// 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
2009-02-13 12:16:39 +00:00
//
2011-06-06 07:23:11 +00:00
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
2010-05-14 15:15:28 +00:00
#ifndef _GEOMAlgo_DataMapIteratorOfDataMapOfShapeShapeSet_HeaderFile
#define _GEOMAlgo_DataMapIteratorOfDataMapOfShapeShapeSet_HeaderFile
#ifndef _TCollection_BasicMapIterator_HeaderFile
#include <TCollection_BasicMapIterator.hxx>
#endif
#ifndef _Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeShapeSet_HeaderFile
#include <Handle_GEOMAlgo_DataMapNodeOfDataMapOfShapeShapeSet.hxx>
#endif
2011-08-11 13:33:11 +00:00
class Standard_NoSuchObject;
class TopoDS_Shape;
class GEOMAlgo_ShapeSet;
class TopTools_ShapeMapHasher;
class GEOMAlgo_DataMapOfShapeShapeSet;
class GEOMAlgo_DataMapNodeOfDataMapOfShapeShapeSet;
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
2011-08-11 13:33:11 +00:00
class GEOMAlgo_DataMapIteratorOfDataMapOfShapeShapeSet : public TCollection_BasicMapIterator
{
public:
2011-08-11 13:33:11 +00:00
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);
}
2011-08-11 13:33:11 +00:00
Standard_EXPORT GEOMAlgo_DataMapIteratorOfDataMapOfShapeShapeSet();
2011-08-11 13:33:11 +00:00
Standard_EXPORT GEOMAlgo_DataMapIteratorOfDataMapOfShapeShapeSet
(const GEOMAlgo_DataMapOfShapeShapeSet& aMap);
2011-08-11 13:33:11 +00:00
Standard_EXPORT void Initialize(const GEOMAlgo_DataMapOfShapeShapeSet& aMap);
2011-08-11 13:33:11 +00:00
Standard_EXPORT const TopoDS_Shape& Key() const;
2011-08-11 13:33:11 +00:00
Standard_EXPORT const GEOMAlgo_ShapeSet& Value() const;
};
#endif