SALOME - SMESH
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
SMESH_IndexedDataMapOfShapeIndexedMapOfShape.hxx
Go to the documentation of this file.
00001 //  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 //  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00004 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
00005 //
00006 //  This library is free software; you can redistribute it and/or
00007 //  modify it under the terms of the GNU Lesser General Public
00008 //  License as published by the Free Software Foundation; either
00009 //  version 2.1 of the License.
00010 //
00011 //  This library is distributed in the hope that it will be useful,
00012 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 //  Lesser General Public License for more details.
00015 //
00016 //  You should have received a copy of the GNU Lesser General Public
00017 //  License along with this library; if not, write to the Free Software
00018 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00019 //
00020 //  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00021 //
00022 // File:      SMESH_IndexedDataMapOfShapeIndexedMapOfShape.hxx
00023 // Created:   20.09.05 09:51:12
00024 // Author:    Sergey KUUL
00025 //
00026 #ifndef SMESH_IndexedMapOfShape_HeaderFile
00027 #define SMESH_IndexedMapOfShape_HeaderFile
00028 
00029 #include "SMESH_SMESH.hxx"
00030 
00031 #include "SMESHDS_DataMapOfShape.hxx"
00032 
00033 #ifndef __BORLANDC__
00034 #include <NCollection_DefineIndexedMap.hxx>
00035 #else
00036 #include <SMESH_DefineIndexedMap.hxx>
00037 #endif
00038 
00039 #include <TopoDS_Shape.hxx>
00040 
00042 
00043 DEFINE_BASECOLLECTION (SMESH_BaseCollectionShape, TopoDS_Shape)
00044 
00045 #ifndef __BORLANDC__
00046 DEFINE_INDEXEDMAP (SMESH_IndexedMapOfShape, SMESH_BaseCollectionShape, TopoDS_Shape)
00047 #else
00048 SMESH_DEFINE_INDEXEDMAP (SMESH_IndexedMapOfShape, SMESH_BaseCollectionShape, TopoDS_Shape)
00049 #endif
00050 
00051 #endif 
00052 
00053 #ifndef SMESH_IndexedDataMapOfShapeIndexedMapOfShape_HeaderFile
00054 #define SMESH_IndexedDataMapOfShapeIndexedMapOfShape_HeaderFile
00055 
00056 #include <NCollection_DefineIndexedDataMap.hxx>
00057 
00059 
00060 DEFINE_BASECOLLECTION (SMESH_BaseCollectionIndexedMapOfShape, SMESH_IndexedMapOfShape)
00061 DEFINE_INDEXEDDATAMAP (SMESH_IndexedDataMapOfShapeIndexedMapOfShape,
00062                        SMESH_BaseCollectionIndexedMapOfShape, TopoDS_Shape,
00063                        SMESH_IndexedMapOfShape)
00064 #endif